Disable obstacle avoidance
Hello everyone,
I'm currently building a robot that will navigate in a building. It will have odometry for localization and IR range sensor (with data send as LaserScan) for obstacle detection. However I don't want it to avoid the obstacle, I just want it to stop when it detects an obstacle.
How can I disable obstacle avoidance in the navigation stack (I still require the navigation_stack for the global pathfinding) ?
I was considering setting marking and clearing to false in the costmap_commons_params.yml. Ex: laser_scan_sensor: {sensor_frame: base_link, data_type: LaserScan, topic: sharp, marking: false, clearing: false}
As I understand it, the sensor will draw nothing on the costmap and therefor the robot will not try to avoid the obstacle. Am I correct ?
Is there an other simpler way to do that ?
Thank you in advance for your answers.
Do you do the stopping or do you want the nav_stack to do it? In other words: Would it be OK for you if the navstack is blind?
Which distribution are you using?
Thanks for your answers. @dornhege: Yes I want the navigation stack to be blind. The controller will listen to the LaserScan thread and do the stopping. @David Lu: I use Indigo