Possible to use costmap_2d as a standalone node away from the Nav stack?

asked 2019-11-28 23:07:24 -0500

saltytaco gravatar image

Hello, so I'm currently dealing with the idea of using a 360 2D LiDAR for basic obstacle detection. I was looking at using a local costmap for obtaining obstacles around the vehicle. I have searched a lot but haven't seen much info out there on whether or not its feasible using the costmap on a robot that has no nav stack connections.


edit retag flag offensive close merge delete


Yes, it is. Typing "costmap_2d node" into google produces quite some hits, among the first four are #q237048 which shows you code how to launch it, as well as the costmap_2d wiki page which says

If you rosrun or roslaunch the costmap_2d node directly it will run in the costmap namespace

mgruhler gravatar image mgruhler  ( 2019-11-29 04:44:42 -0500 )edit

You can also use other custom obstacle detection packages such as this one

pavel92 gravatar image pavel92  ( 2019-11-29 07:17:11 -0500 )edit