I have recently added a parameter to Ardupilot using http://dev.ardupilot.com/wiki/code-overview-adding-a-new-parameter/ as a guideline. Somewhere on these boards I then found that I also needed to change the parameterdata.xml file in my Mission Planner folder. I've done just that, but the new parameter does not appear in the Full parameter list in Mission Planner (nor does it appear elsewhere in the MP). Is there an additional step I need to undertake either between adding the parameter in code and to the XML, or after adding it to the XML file?

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

Join diydrones

Replies are closed for this discussion.

Replies

  • Developer

    You also need to load code with the new param into you autopilot and connect.  The XML just gives MP a list of possible params that it might see when it connects to a vehicle.  It won't display anything until it sees a parameter and then looks it up in the table.

    • I have done that by using the "Load Custom Firmware" option in the Mission Planner (having compiled the new code using Make). 

      • I have no clue whether or not its a coincidence but clearing the firmware and uploading that same firmware to the now empty pixhawk seemed to have done the trick... 

This reply was deleted.

Activity