<?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[FC v2 Collision prevention issue with voxl 2]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/7">@Alex-Kushleyev</a>  <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/14">@Eric-Katzfey</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/157">@Vinny</a></p>
<p dir="auto">I am using modalai fc v2 with voxl 2 , i am able to see the obstacle_distance message publishing in the mavlink console, but the drone is not slowing down or stopping.</p>
<p dir="auto">the parameters are<br />
mpc_pos_mode - acceleration based<br />
cp_dist - 1 m<br />
cp_no_go_data - enabled<br />
cp_angle - 0</p>
<p dir="auto">I checked with various builds and versions of PX4 from both PX4 github and Modalai github.</p>
<p dir="auto">can anyone help me with which version or fork it works.</p>
<pre><code>nsh&gt; listener obstacle_distance

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 178940124 (0.026434 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [236, 237, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 184239763 (0.014512 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [236, 236, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 199589325 (0.028254 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [236, 236, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 204539470 (0.012805 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [445, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 206838947 (0.036977 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [435, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 208539592 (0.000817 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [436, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 210039039 (0.006330 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [435, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 223538159 (0.007192 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [114, 102, 98, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 129, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 225588237 (0.036362 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [93, 90, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 227187560 (0.049067 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; listener obstacle_distance 10

TOPIC: obstacle_distance
 obstacle_distance
    timestamp: 228587517 (0.043813 seconds ago)
    increment: 10.00000
    angle_offset: 0.00000
    distances: [2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001, 2001]
    min_distance: 0
    max_distance: 2000
    frame: 12
    sensor_type: 4

nsh&gt; 
</code></pre>
]]></description><link>https://forum.modalai.com/topic/5260/fc-v2-collision-prevention-issue-with-voxl-2</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 20:32:20 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/5260.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Jun 2026 13:55:57 GMT</pubDate><ttl>60</ttl></channel></rss>