Difference between revisions of "Explorer/RaspberryPi/Autopilot/Proxy"

From PaparazziUAV
Jump to navigation Jump to search
Line 5: Line 5:
  in msg_class name=ground section, change "string" to "uint8"
  in msg_class name=ground section, change "string" to "uint8"


  cd /home/pi/pprzlink
  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 />
  ./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
  ./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

Revision as of 00:28, 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
./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


Explorer/RaspberryPi