Difference between revisions of "Explorer/RaspberryPi/Autopilot/Proxy"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
cd /home/pi/pprzlink<br /> | cd /home/pi/pprzlink<br /> | ||
./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<br /> | ./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<br /> | ||
[[Explorer/RaspberryPi]] | [[Explorer/RaspberryPi]] |
Revision as of 02:29, 7 July 2020
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