Difference between revisions of "Explorer/RaspberryPi/Autopilot"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
To confirm bidirectional connection, change a setting and check the updated value in the GCS | To confirm bidirectional connection, change a setting and check the updated value in the GCS | ||
<gallery> | |||
Explorer_RaspberryPi_Apogee_Uart_test1.jpg | Explorer_RaspberryPi_Apogee_Uart_test1.jpg | ||
Explorer_RaspberryPi_Apogee_Uart_test2.jpg | Explorer_RaspberryPi_Apogee_Uart_test2.jpg | ||
</gallery> |
Revision as of 01:19, 23 June 2020
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 &
<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