<?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[Unable to echo ros2 topic from drone to a computer]]></title><description><![CDATA[<p dir="auto">Hello, I was trying to use subscribe to ros2 topics from drone to my computer. I can see the ros2 topics lists from drone on to the computer. But when it try to use ros2 topic echo command from computer I am getting following error.</p>
<p dir="auto">terminate called after throwing an instance of 'std::bad_alloc'<br />
what():  std::bad_alloc</p>
<p dir="auto">If I use echo on drone I can see topics printing. but can't do it on computer. can anyone help me with this.</p>
]]></description><link>https://forum.modalai.com/topic/5183/unable-to-echo-ros2-topic-from-drone-to-a-computer</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 19:43:35 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/5183.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Apr 2026 13:49:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Fri, 08 May 2026 18:26:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apoorvthapliyal" aria-label="Profile: ApoorvThapliyal">@<bdi>ApoorvThapliyal</bdi></a> Thank you for your help. also I was able to work with jazzy by only subscribing and printing with node. since error only occurred when I tried to echo the topic and not when another node is subscribing it. but using docker seems like most viable option to me since I m using ubuntu 24.04. Thank you for your help again</p>
]]></description><link>https://forum.modalai.com/post/25865</link><guid isPermaLink="true">https://forum.modalai.com/post/25865</guid><dc:creator><![CDATA[Aniruddha]]></dc:creator><pubDate>Fri, 08 May 2026 18:26:37 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Thu, 07 May 2026 20:29:12 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/aniruddha" aria-label="Profile: Aniruddha">@<bdi>Aniruddha</bdi></a><br />
I was able to recreate your issue with ROS2 jazzy, seems like there is a mismatch between topic size between the versions.<br />
I use humble on my laptop and havent faced any issues, try using it and let me know your results</p>
<p dir="auto">I'll investigate this issue further</p>
]]></description><link>https://forum.modalai.com/post/25857</link><guid isPermaLink="true">https://forum.modalai.com/post/25857</guid><dc:creator><![CDATA[ApoorvThapliyal]]></dc:creator><pubDate>Thu, 07 May 2026 20:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Tue, 05 May 2026 18:43:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apoorvthapliyal" aria-label="Profile: ApoorvThapliyal">@<bdi>ApoorvThapliyal</bdi></a> does my ros2 version on my computer could be an issue. I have ros2 jazzy running on my computer where drone has foxy</p>
]]></description><link>https://forum.modalai.com/post/25852</link><guid isPermaLink="true">https://forum.modalai.com/post/25852</guid><dc:creator><![CDATA[Aniruddha]]></dc:creator><pubDate>Tue, 05 May 2026 18:43:19 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Mon, 04 May 2026 22:14:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aniruddha" aria-label="Profile: Aniruddha">@<bdi>Aniruddha</bdi></a><br />
Even after matching the versions, I am not able to recreate your error<br />
I will try relfashing my voxl2, to start from a clean slate similar to your setup right now.<br />
Since you reflashed the voxl2, is there something you changed on the voxl2 for your goals? I assume that after a reflash, I should have the same setup as you</p>
]]></description><link>https://forum.modalai.com/post/25845</link><guid isPermaLink="true">https://forum.modalai.com/post/25845</guid><dc:creator><![CDATA[ApoorvThapliyal]]></dc:creator><pubDate>Mon, 04 May 2026 22:14:20 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Mon, 04 May 2026 17:32:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apoorvthapliyal" aria-label="Profile: ApoorvThapliyal">@<bdi>ApoorvThapliyal</bdi></a> sorry for the late reply. my drone got bricked so I had to reinstall everything. I am still facing the same issue.</p>
<p dir="auto">here are the sdk versions<br />
voxl-sdk is 1.6.3<br />
voxl-mpa-to-ros2         0.0.7<br />
voxl-microdds-agent   3.0.0-0<br />
voxl-ros2-foxy             0.0.1<br />
voxl-px4                      1.14.0-2.0.133</p>
<p dir="auto">also one more thing I forgot to mention before was I was initially was not able to see ros2 topics from drone on my computer but when I install netcat on drone then I was able to see those topics. but I still can't echo them</p>
]]></description><link>https://forum.modalai.com/post/25841</link><guid isPermaLink="true">https://forum.modalai.com/post/25841</guid><dc:creator><![CDATA[Aniruddha]]></dc:creator><pubDate>Mon, 04 May 2026 17:32:34 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Fri, 01 May 2026 15:44:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aniruddha" aria-label="Profile: Aniruddha">@<bdi>Aniruddha</bdi></a><br />
What version SDK are you using? What are the versions of  <code>voxl-mpa-to-ros2</code>, <code>voxl-microdds-agent</code> , <code>voxl-ros2-foxy</code> and <code>voxl-px4</code>. You can find it with the command: <code>voxl-version</code><br />
My suspicion is that the ros2 message being published is of a different size than what ros2 subscriber is expecting, and that's causing the break<br />
Here are the versions I used that worked for me:<br />
voxl-mpa-to-ros2    0.0.7-202511100959<br />
voxl-microdds-agent   3.0.0-0-202511141239<br />
voxl-ros2-foxy   0.0.1-202511141235<br />
voxl-px4   1.14.0-2.0.134</p>
]]></description><link>https://forum.modalai.com/post/25835</link><guid isPermaLink="true">https://forum.modalai.com/post/25835</guid><dc:creator><![CDATA[ApoorvThapliyal]]></dc:creator><pubDate>Fri, 01 May 2026 15:44:29 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Thu, 30 Apr 2026 17:11:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apoorvthapliyal" aria-label="Profile: ApoorvThapliyal">@<bdi>ApoorvThapliyal</bdi></a></p>
<p dir="auto"><img src="/assets/uploads/files/1777569034195-screenshot-from-2026-04-24-12-10-18.png" alt="Screenshot from 2026-04-24 12-10-18.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This is how its being showing</p>
]]></description><link>https://forum.modalai.com/post/25831</link><guid isPermaLink="true">https://forum.modalai.com/post/25831</guid><dc:creator><![CDATA[Aniruddha]]></dc:creator><pubDate>Thu, 30 Apr 2026 17:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Thu, 30 Apr 2026 15:48:20 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/aniruddha" aria-label="Profile: Aniruddha">@<bdi>Aniruddha</bdi></a><br />
I tried recreating the issue on my setup using a Starling V2 Max connected to my computer over Wi-Fi. On my end, I’m able to echo ROS 2 topics both on the drone and from the computer without any issues. I even added the same static IP configuration you used, and I was still able to echo my topics without any errors.</p>
<p dir="auto">You also mentioned seeing an error on the drone side for the  voxl_mpa_to_ros2_node, could you clarify what the exact error is? Are you unable to run ros2 topic echo directly on the drone as well, or is the problem only when echoing from your computer? Additionally, which drone model are you using?</p>
]]></description><link>https://forum.modalai.com/post/25830</link><guid isPermaLink="true">https://forum.modalai.com/post/25830</guid><dc:creator><![CDATA[ApoorvThapliyal]]></dc:creator><pubDate>Thu, 30 Apr 2026 15:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Tue, 28 Apr 2026 18:41:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apoorvthapliyal" aria-label="Profile: ApoorvThapliyal">@<bdi>ApoorvThapliyal</bdi></a> I forgot to mention that the error occurred on drone side for voxl_mpa_to_ros2_node. While on computer it is not printing anything</p>
]]></description><link>https://forum.modalai.com/post/25826</link><guid isPermaLink="true">https://forum.modalai.com/post/25826</guid><dc:creator><![CDATA[Aniruddha]]></dc:creator><pubDate>Tue, 28 Apr 2026 18:41:50 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Tue, 28 Apr 2026 17:22:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apoorvthapliyal" aria-label="Profile: ApoorvThapliyal">@<bdi>ApoorvThapliyal</bdi></a> I was trying to echo /imu_apps</p>
]]></description><link>https://forum.modalai.com/post/25825</link><guid isPermaLink="true">https://forum.modalai.com/post/25825</guid><dc:creator><![CDATA[Aniruddha]]></dc:creator><pubDate>Tue, 28 Apr 2026 17:22:17 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Tue, 28 Apr 2026 15:23:02 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/aniruddha" aria-label="Profile: Aniruddha">@<bdi>Aniruddha</bdi></a><br />
As I understand it, you are able to see the topics on your computer but cant echo them. Which topic are you trying to echo so I can try to recreate it on my end?</p>
]]></description><link>https://forum.modalai.com/post/25823</link><guid isPermaLink="true">https://forum.modalai.com/post/25823</guid><dc:creator><![CDATA[ApoorvThapliyal]]></dc:creator><pubDate>Tue, 28 Apr 2026 15:23:02 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Mon, 27 Apr 2026 21:18:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apoorvthapliyal" aria-label="Profile: ApoorvThapliyal">@<bdi>ApoorvThapliyal</bdi></a>, Hi, I set ros domain id on both drone and the pc. they are connected it through the access point. I can ping both drone and pc from one and another and I can even connect drone to qgroundcontrol. That is why I am thinking it might be the ros side issue. I also check for micro dds agent and it was enable and running. I have setup the static ip on drone. I added following command in /etc/dhcpcd.conf file</p>
<p dir="auto">interface wlan0<br />
static ip_address=192.168.x.xx/24<br />
static routers=192.168.x.xx<br />
static domain_name_servers=8.8.8.8</p>
<p dir="auto">Let me know if you need anything else you need.</p>
]]></description><link>https://forum.modalai.com/post/25820</link><guid isPermaLink="true">https://forum.modalai.com/post/25820</guid><dc:creator><![CDATA[Aniruddha]]></dc:creator><pubDate>Mon, 27 Apr 2026 21:18:27 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to echo ros2 topic from drone to a computer on Mon, 27 Apr 2026 18:08:28 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/aniruddha" aria-label="Profile: Aniruddha">@<bdi>Aniruddha</bdi></a>,<br />
Thanks for reaching out, could you provide more information about your setup and how things are communicating?</p>
]]></description><link>https://forum.modalai.com/post/25816</link><guid isPermaLink="true">https://forum.modalai.com/post/25816</guid><dc:creator><![CDATA[ApoorvThapliyal]]></dc:creator><pubDate>Mon, 27 Apr 2026 18:08:28 GMT</pubDate></item></channel></rss>