I’m trying to figure out how to set up APM- MAVROS communication on the RPi2 with Navio+, does anyone have any experience with that?
How would the APM launch command look like? Do I still use the -A option for GCS and -C option to connect to MAVROS? Do I use virtual serial ports for that?
sudo ArduCopter-quad -A udp:127.0.0:14551 &
roslaunch mavros apm.launch fcu_url:=udp://:14551@
But the mavros doesn’t get a heartbeat. Could it be related to the MAVLINK_DIALECT that’s used in APM? By default mavros uses ardupilotmega, would it work?
I have almost the same problem here so I didn’t want to make a new thread. I have ROS, Mavros, ArduCopter and Ardu Plane wokring on raspberry pi 2. What is the suggested way to establish Mavros - ArduCopter communication? To be more exact, I want ArduCopter to send elemetry to local host.
I tried to run:
sudo ArduCopter-quad -A udp:127.0.0:14551
but the following message repeats itself:
read failed - Connection refused
If i try this:
sudo ArduCopter-quad -A udp:127.0.0:14551
it says;
connect failed to 127.0.0:14551 - Permission denied
Tried in root as well. Nothing changes.
Any ideas how to send that telemetry data to local host to make it able for Mavros to read it.