Difference between revisions of "Explorer/RaspberryPi/Autopilot"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
</gallery> | </gallery> | ||
* On the RaspberryPi: | |||
sudo apt-get install socat | sudo apt-get install socat | ||
Line 12: | Line 13: | ||
socat -u /dev/ttyAMA0,raw,echo=0,b115200 udp-sendto:GCS_IP:4242 & | socat -u /dev/ttyAMA0,raw,echo=0,b115200 udp-sendto:GCS_IP:4242 & | ||
* On the GCS: | |||
<module name="telemetry" type="transparent"> | <module name="telemetry" type="transparent"> | ||
<configure name="MODEM_PORT" value="UART1"/> | <configure name="MODEM_PORT" value="UART1"/> |
Revision as of 01:25, 23 June 2020
The RaspberryPi Zero is connected to the Apogee autopilot board using an UART. The bi-directional telemetry is send to the GCS using the wifi
- On the RaspberryPi:
sudo apt-get install socat
socat -u udp-listen:4243,reuseaddr,fork /dev/ttyAMA0,raw,echo=0,b115200 & socat -u /dev/ttyAMA0,raw,echo=0,b115200 udp-sendto:GCS_IP:4242 &
- On the GCS:
<module name="telemetry" type="transparent"> <configure name="MODEM_PORT" value="UART1"/> <configure name="MODEM_BAUD" value="B115200"/> </module>
paparazzi/sw/ground_segment/tmtc/server paparazzi/sw/ground_segment/cockpit/gcs paparazzi/sw/ground_segment/tmtc/link -udp
To confirm bidirectional connection, change a setting and check the updated value in the GCS