Rick Calder and I have been working on a wiki for those wanting or needing to do custom code. The wiki now is specific to Windows but doesn't need to be. The draft right now is in one file, but may be link based later as it gets to final draft.
If you are interested in helping, attached is the file. It has the following approximate outline:
- Creating your personal workspace for the code.
- Downloading the source files to create custom firmware.
- Modify the code (an example is given on how to change the motor definitions for a custom frame).
- Downloading the compiler.
- Configuring the compiler to your workspace.
- Verifying code.
- Compiling and uploading code to your multi-copter’s APM.
- Validating the code.
- Maintaining the code.
The file must be edited in Word Revision control so we can all see the proposed changes. Please coordinate with us first on your proposed contributions (e.g., general editing, adding instructions for another operating system, adding the section on code maintenance, etc.).
Replies
Hi Forrest,
Thanks for taking the time to put something like this together- very comprehensive and helpful since it's difficult to find this information elsewhere.
I'm working on a quad right now where I'd like to be able to be able to create my own flight mode. I've seen a few posts about how you can modify flight modes in your APM_Config.h file based on a few parameters, but I'd like to go a little deeper and work on some of the lower level dynamics. Would you be able to direct me to a good starting point? For instance, I know that the command_logic.pde has some definitions of flight modes and how they are selected, but then they call functions like "do_takeoff()" and "do_land()", which I assume have the actual code that really define the dynamics of those modes. Do you know where these are defined?
Thanks,
Riley
where is the attached file?