Difference between revisions of "Explorer/RaspberryPi/Autopilot"

From PaparazziUAV
Jump to navigation Jump to search
Line 1: Line 1:
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
<gallery>
Explorer_RaspberryPi_Apogee_Uart_test1.jpg
Explorer_RaspberryPi_Apogee_Uart_test2.jpg
</gallery>
  sudo apt-get install socat
  sudo apt-get install socat


Line 14: Line 22:


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_test2.jpg
</gallery>

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

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