Object avoidance in SITL


I am trying to perform object avoidance in SITL sending DISTANCE_SENSOR messages through mavros. I have configured 8 sonars for 8 sectors (separed 45º each). I enabled bendy ruler algorithm (OA_TYPE=1), but it does not work for me. What can I do to achieve my goal?

1 Like

You used reboot command later? It’s necessary.