intel-aero / meta-intel-aero

Yocto layer to support Intel Aero platform
https://github.com/intel-aero/meta-intel-aero
GNU General Public License v2.0
217 stars 119 forks source link

Creating MAVROS link with RTF drone #377

Open RR2-IP2 opened 6 years ago

RR2-IP2 commented 6 years ago

Hi,

I am trying to get access to the sensor data on the RTF drone on my Ubuntu PC by using Ubuntu. I have already checked a couple previous issues raised and ran the steps suggested there.

From #119: In particular, I created the local_udp.conf with the IP address of the PC. In the same location (/etc/mavlink-router/config.d), I already had a qgc.conf file that successfully let me view MAVLink Data through QGroundControl. I am wondering if these files may be clashing which other or causing an issue.

From #143: I followed this step by step but had no success. After running mavlink_bridge.py on the drone, the connection with QGroundControl ends (which I believe is to be expected).

After launching mavros on the PC, I get a large number of warnings that all end in "Table has different entry". I am using fcu_url:=udp://@192.168.8.1:14550 and gcs_url:=udp://127.0.0.1:14558@127.0.0.1:14610.

The output from aero-get-version.py is: BIOS_VERSION = Aero-01.00.13 OS_VERSION = Ubuntu 16.04.5 LTS" AIRMAP_VERSION = unknown FPGA_VERSION = 0xc2 AeroFC firmware version = 1.8.0 (updated since we are using the LeddarOne range finder and version 1.6.5 does not contain the driver for this)

I have been checking if the connection has been successful by running $ rostopic echo /mavros/state. I am only new to Ubuntu / ROS so it is possible that I have missed an obvious step. If I can provide any more information that will help please let me know.

UPDATE: I have tried launching MAVROS solely on the intel aero, however, I am still getting issues with viewing Leddar One data. See this post for my issue raised with MAVROS.