Closed Marnonel6 closed 1 year ago
SETUP PX4 (Pixhawk 6X) → RPI 4B Ubuntu ROS connection: https://docs.px4.io/main/en/companion_computer/pixhawk_rpi.html (MAIN ONE) https://docs.px4.io/main/en/companion_computer/pixhawk_companion.html#serial-port-setup
UART MAVLINK
https://discuss.px4.io/t/controlling-pixhawk-6c-with-raspberry-pi-4b/30712/8?u=marnonel6 I had connection problems with the Pixhawk 6c too. In my case, I was able to solve them by setting • MAV_1_RADIO_CTL to disabled and • MAV_1_FLOW_CTRL to force off See here 13 for the complete description. THIS PARAMETER DOES NOT SHOW UP!!!sudo UXRCE_DDS_CFG = 0 (Disabled) (https://github.com/PX4/PX4-Autopilot/releases/tag/v1.14.0-rc1) In a pre-release
sudo mavproxy.py --master=/dev/serial0 --baudrate 57600
I can see the connection over UART is working
Here is the solution I posted on the PX4 forum:
https://discuss.px4.io/t/raspberry-pi-4b-pixhawk-6x-autonomous-control/34394/4
SETUP PX4 (Pixhawk 6X) → RPI 4B Ubuntu ROS connection: https://docs.px4.io/main/en/companion_computer/pixhawk_rpi.html (MAIN ONE) https://docs.px4.io/main/en/companion_computer/pixhawk_companion.html#serial-port-setup
https://discuss.px4.io/t/controlling-pixhawk-6c-with-raspberry-pi-4b/30712/8?u=marnonel6 I had connection problems with the Pixhawk 6c too. In my case, I was able to solve them by setting • MAV_1_RADIO_CTL to disabled and • MAV_1_FLOW_CTRL to force off See here 13 for the complete description. THIS PARAMETER DOES NOT SHOW UP!!!sudo UXRCE_DDS_CFG = 0 (Disabled) (https://github.com/PX4/PX4-Autopilot/releases/tag/v1.14.0-rc1) In a pre-release
sudo mavproxy.py --master=/dev/serial0 --baudrate 57600
Outcomes
I can see the connection over UART is working