I’m using PX4-emlid-navio2 with the RPi3 and want to let them communicate with the on-board mavros.
How can I do this ?
I have probably a trouble with the FCU adress given in the PX4 / or on the mavros node start :
For PX4 i do this :
mavlink start -d /dev/ttyAMA0 -b 921600 -m onboard -r 80000
INFO [mavlink] mode: Onboard, data rate: 80000 B/s on /dev/ttyAMA0 @ 921600B
For mavros i do this :
roslaunch mavros px4.launch
with following relevant lines in the px4.launch file :
<arg name="fcu_url" default="/dev/ttyAMA0:921600" /> <arg name="gcs_url" default="udp://172.26.143.43:firstname.lastname@example.org:14550" />
And by the way : I tried with an external pixhawk that just worked fine with the serial communication. But not with the navio2