How to STOP Rover with obstacle avoidance (Using LiDAR) while running in AUTO mode

Hello community
I’m using RPLiDAR for obstacle detection in my rover.
I simply want to stop rover if any obstacle is detected by the LiDAR sensor when rover is running is AUTO mode.

Is it possible to acheive the above requirement using BendyRuler ?

How it can be configured, please help.

Thanks and regards

Hi
Refer to this Object Avoidance with Bendy Ruler — Copter documentation
and set “OA_BR_TYPE=1” for rovers.

you dont need bendy ruler, thats for navigating around something, you just need simple avoid with it set to stop.

https://ardupilot.org/rover/docs/common-simple-object-avoidance.html

1 Like

@geofrancis Thanks for the response.

I already gone through the link shared by you. It says that " The Horizontal object avoidance works in AltHold and Loiter modes only… I need this kind of feature for AUTO and MANUAL mode.

Please let me know if you any suggestions for same.

Thanks & Reguard

I also had problems with bendyruler in auto mode, with the copter behaving strangely when climbing in altitude without stopping. The simple stop, however, works. In all cases you need a good GPS fix

I think its just been copied from copter, with rover it works in every mode other than manual. If you want it when manual driving then use acro mode.