I managed to add new parameters to the main code. At the instructions that I followed at step #3
http://dev.ardupilot.com/wiki/code-overview-adding-a-new-parameter/
Step #3: Add the variable declaration to the var_info table in Parameters.pde:
// @Param: MY_NEW_PARAMETER
// @DisplayName: My New Parameter
// @Description: A description of my new parameter goes here
// @Range: -32768 32767
// @User: Advanced
GSCALAR(my_new_parameter, "MY_NEW_PARAMETER", MY_NEW_PARAMETER_DEFAULT),
The @Param ~ @User comments are used by the ground station (i.e. Mission Planner) to display advice to the user and limit the values that the user may set the parameter to.
I can’t find the description, range and everything else that follows the “// @”. I really don’t know how it really works. It seems that the GCS is not working properly to display the description to the user and to control the min and max values set from the ground station.
Thanks
Namir
Replies
The parameters description is retrieved from an auto generated XML file on http://firmware.diydrones.com. If you don't commit to the code to master, it won't show up.