Difference between revisions of "Explorer/RaspberryPi/Autopilot"

From PaparazziUAV
Jump to navigation Jump to search
Line 14: Line 14:


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
Explorer_RaspberryPi_Apogee_Uart_test1.jpg
Explorer_RaspberryPi_Apogee_Uart_test2.jpg

Revision as of 02: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

Explorer_RaspberryPi_Apogee_Uart_test1.jpg Explorer_RaspberryPi_Apogee_Uart_test2.jpg