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

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…