Development UAVObjects - JochiPochi/TauLabs GitHub Wiki
UAVObjects use code that is dynamically generated by the uavobjectgenerator. The specification for a UAVObject is an XML file placed in shared/uavobjectdefinition. There a few key steps to creating a new UAVObjects:
- place the XML file in
shared/uavobjectdefinition - add the object in your
flight/targets/<targetname>/fw/UAVObject.incfile - add the object in
ground/gcs/src/plugins/uavobjects/uavobjects.pro(make sure to add it both in the headers and source section) - in your module that uses it include the file
#include "<objectname.h>"and then initialize itObjectNameInitialize()in the ModuleInitialize section of the code