<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[mavros]]></title><description><![CDATA[<p dir="auto">On my VOXL Flight setup, I'm having trouble getting the Docker ROS image to communicate with the VOXL. I'm following the instructions from this link:</p>
<p dir="auto"><a href="https://docs.modalai.com/mavros/" rel="nofollow ugc">https://docs.modalai.com/mavros/</a></p>
<p dir="auto">I changed the parameters in the <code>/etc/modalai/voxl-vision-px4.conf</code> file to include:</p>
<pre><code>"en_localhost_mavlink_udp":	true,
</code></pre>
<p dir="auto">I am able to communicate with the Docker image and can publish and subscribe to messages from it. I do see all the mavros topics, from inside the docker container, on the "native" VOXL shell, and from my remote computer connected over WiFi or via our MicroHard radio. However, the <code>/mavros/state</code> message indicates that there is no connection. <code>rostopic echo /mavros/state</code> gives only one message:</p>
<pre><code>header:
  seq: 0
  stamp:
    secs: 2228
    nsecs: 862914984
  frame_id: ''
connected: False
armed: False
guided: False
manual_input: False
mode: ''
system_status: 0
---
</code></pre>
<p dir="auto">The last messages on running <code>./run_mavros.sh</code> from inside the Docker container are:</p>
<pre><code>...
...
[ INFO] [732.234354982]: Known MAVLink dialects: common ardupilotmega ASLUAV autoquad icarous matrixpilot paparazzi slugs standard uAvionix ualberta
[ INFO] [732.234448888]: MAVROS started. MY ID 1.240, TARGET ID 1.1
</code></pre>
<p dir="auto">I also found this article about the MAVlink SDK and how to setup local communication:</p>
<p dir="auto"><a href="https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-python" rel="nofollow ugc">https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-python</a></p>
<p dir="auto">Given the version of the VOXL software on the system, it seems that we need this in <code>/etc/modalai/voxl-vision-px4.conf</code> instead of the above option:</p>
<pre><code>"en_secondary_qgc": true,
"secondary_qgc_ip": "127.0.0.1",
</code></pre>
<p dir="auto">However, that did not work either. I get the same type message from <code>rostopic echo</code>-ing <code>/mavros/state</code>.</p>
<p dir="auto">I am able to plug into the FCU via USB and run mavros, by specifying the correct serial port on launch.</p>
<p dir="auto">The output of <code>voxl-version</code> for my current setup is:</p>
<pre><code>--------------------------------------------------------------------------------
system-image:    ModalAI 2.2.0 BUILDER: ekatzfey BUILD_TIME: 2020-01-28_23:54
kernel:          #1 SMP PREEMPT Tue Jan 28 23:55:02 UTC 2020 3.18.71-perf
factory-bundle:  0.0.5
sw-bundle:       0.0.5
--------------------------------------------------------------------------------
architecture:    aarch64
processor:       apq8096
os:              GNU/Linux
--------------------------------------------------------------------------------
voxl-utils:
Package: voxl-utils
Version: 0.4.6
Status: install user installed
Architecture: aarch64
Installed-Time: 246

--------------------------------------------------------------------------------
</code></pre>
<p dir="auto">Any help or direction on what to check next is greatly appreciated.</p>
]]></description><link>https://forum.modalai.com/topic/11/mavros</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 23:52:32 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/11.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Sep 2020 21:55:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to mavros on Tue, 29 Sep 2020 20:21:55 GMT]]></title><description><![CDATA[<p dir="auto">The change of port worked for me. Thank you for the help.</p>
]]></description><link>https://forum.modalai.com/post/25</link><guid isPermaLink="true">https://forum.modalai.com/post/25</guid><dc:creator><![CDATA[vaughanje]]></dc:creator><pubDate>Tue, 29 Sep 2020 20:21:55 GMT</pubDate></item><item><title><![CDATA[Reply to mavros on Mon, 28 Sep 2020 22:57:33 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the post!  You are user #1 <img src="https://forum.modalai.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=68ea69aeb78" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
<p dir="auto">We made a change to <code>voxl-vision-px4</code> some time back and I'm wondering if you are caught in the middle.</p>
<p dir="auto"><a href="https://gitlab.com/voxl-public/voxl-vision-px4/-/commit/e9259cff0ee61f320edd3b40ab01cf715715c8a7" rel="nofollow ugc">https://gitlab.com/voxl-public/voxl-vision-px4/-/commit/e9259cff0ee61f320edd3b40ab01cf715715c8a7</a></p>
<p dir="auto">"Older" (a few months back) version of the program expected all traffic over port 14550, since then we've split up traffic for 14550 for external clients (e.g. QGC) and 14551 for onboard traffic.</p>
<p dir="auto">Notice here we are using 14551:<br />
<a href="https://gitlab.com/voxl-public/mavros_test/-/blob/master/run_mavros.sh#L7" rel="nofollow ugc">https://gitlab.com/voxl-public/mavros_test/-/blob/master/run_mavros.sh#L7</a></p>
<p dir="auto">I wonder if updating this on your system to 14550 will get you going?</p>
<p dir="auto">The other option is to update the system image and then software suite to get the latest, if this is an option let me know.<br />
Thanks!<br />
Travis</p>
]]></description><link>https://forum.modalai.com/post/17</link><guid isPermaLink="true">https://forum.modalai.com/post/17</guid><dc:creator><![CDATA[modaltb]]></dc:creator><pubDate>Mon, 28 Sep 2020 22:57:33 GMT</pubDate></item></channel></rss>