From PaparazziUAV
Revision as of 00:28, 7 July 2020 by Xp31 (talk | contribs)
Jump to navigation Jump to search

Dowload pprzlink from https://github.com/paparazzi/pprzlink
(keep the name "pprzlink" for the repository)

patch message_definitions/v1.0/messages.xml
in msg_class name=ground section, change "string" to "uint8"
cd /home/pi/pprzlink
./tools/generator/gen_messages.py --protocol 2.0 --lang C_standalone -o build/pprzlink/datalink_msg.h message_definitions/v1.0/messages.xml datalink --opt SETTING
./tools/generator/gen_messages.py --protocol 2.0 --lang C_standalone -o build/pprzlink/ground_msg.h message_definitions/v1.0/messages.xml ground --opt DL_SETTING