# How to enable OBSTACLE\_DISTANCE?

**URL:** <https://discuss.px4.io/t/how-to-enable-obstacle-distance/31067>\
**Category:** PX4 Autopilot\
**Created:** [March 1, 2023, 6:54am UTC](https://discuss.px4.io/t/how-to-enable-obstacle-distance/31067 "2023-03-01T06:54:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gonzalo\_etrair](https://discuss.px4.io/letter_avatar_proxy/v4/letter/g/48db29/32.png) [@gonzalo\_etrair](https://discuss.px4.io/u/gonzalo_etrair)\
**Post date:** [March 1, 2023, 6:54am UTC](https://discuss.px4.io/t/how-to-enable-obstacle-distance/31067/1 "2023-03-01T06:54:48Z")

</div>

Hello,

How can I enable the mavlink message OBSTACLE\_DISTANCE in the PX4 Vision Dev Kit drone? Because I think that without that message the drone can not do obstacle avoidance or collision prevention

Thanks!
