# UAVCAN Rangefinder Being Used While Disabled

**URL:** <https://discuss.px4.io/t/uavcan-rangefinder-being-used-while-disabled/48377>\
**Category:** PX4 Autopilot\
**Created:** [January 27, 2026, 6:02pm UTC](https://discuss.px4.io/t/uavcan-rangefinder-being-used-while-disabled/48377 "2026-01-27T18:02:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctitus1](https://discuss.px4.io/user_avatar/discuss.px4.io/ctitus1/32/19769_2.png) [@ctitus1](https://discuss.px4.io/u/ctitus1)\
**Post date:** [January 27, 2026, 6:02pm UTC](https://discuss.px4.io/t/uavcan-rangefinder-being-used-while-disabled/48377/1 "2026-01-27T18:02:34Z")

</div>

I’m working with the ARK Flow rangefinder/optical flow sensor, and when I’m near the edges of buildings/cars/etc, the drone bounces (like it’s detecting two heights). This would make sense if the rangefinder was enabled, but I have EKF2\_RNG\_CTRL = 0. However, UAVCAN\_SUB\_RNG = 1 so perhaps this is overriding EKF2\_RNG\_CTRL and using the rangefinder anyway? Perhaps I’m missing another parameter somewhere, but to me it looks like it might be a bug.

I’m using a custom build of PX4 1.15.4, but the only changes are to enable the EchoPilot AI board I’m using (from the manufacturer), and a couple lines that hardcode UAVCAN NodeID = 50 to have its direction as “ROTATION\_FORWARD\_FACING” instead of “ROTATION\_DOWNWARD\_FACING”. I don’t think these changes would affect this, but wanted to mention for completeness.

Here’s a link to the log that shows this behavior (@ ~23:30): [https://review.px4.io/plot\_app?log=fddffe40-3c17-48c3-8dca-35360a7a3420](https://review.px4.io/plot_app?log=fddffe40-3c17-48c3-8dca-35360a7a3420)

---

<div class="post-metadata">

**Author:** ![dakejahl](https://discuss.px4.io/user_avatar/discuss.px4.io/dakejahl/32/20420_2.png) [@dakejahl](https://discuss.px4.io/u/dakejahl)\
**Post date:** [April 17, 2026, 7:14am UTC](https://discuss.px4.io/t/uavcan-rangefinder-being-used-while-disabled/48377/2 "2026-04-17T07:14:29Z")

</div>

I think there have been some fixes since 1.15. Can you try main?

---

<div class="post-metadata">

**Author:** ![ctitus1](https://discuss.px4.io/user_avatar/discuss.px4.io/ctitus1/32/19769_2.png) [@ctitus1](https://discuss.px4.io/u/ctitus1)\
**Post date:** [April 25, 2026, 9:05pm UTC](https://discuss.px4.io/t/uavcan-rangefinder-being-used-while-disabled/48377/3 "2026-04-25T21:05:54Z")

</div>

I haven’t but I’ll try, thanks!

---

<div class="post-metadata">

**Author:** ![system](https://discuss.px4.io/uploads/default/original/3X/7/3/73ce918bdcd64854de904f0c8d9ab70ca9723f2a.png) [@system](https://discuss.px4.io/u/system)\
**Post date:** [July 24, 2026, 9:06pm UTC](https://discuss.px4.io/t/uavcan-rangefinder-being-used-while-disabled/48377/4 "2026-07-24T21:06:07Z")

</div>

Closed on July 24, 2026, 9:06pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
