ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use the aid of a map to identify obstacles. since you have a 3D sensor, I can recommend octomap. Octomap is a 3D occupancy grid, and it is lightweight. So if you need to identify obstacles, you can simply look for occupant cells in the grid. If you are only looking forward to identify obstacles in robot's 2D navigation plane, you can refer to the robot's projected map.

There are several other mapping mechanisms used in ROS (RTABMap, gmapping etc.) Using a map can be useful in your future implementations like navigation.

You can get more ideas from ROS navigation stack too.

You can use the aid of a map to identify obstacles. since you have a 3D sensor, I can recommend octomap. Octomap is a 3D occupancy grid, and it is lightweight. So if you need to identify obstacles, you can simply look for occupant cells in the grid. If you are only looking forward to identify obstacles in robot's 2D navigation plane, you can refer to the robot's projected map.

There are several other mapping mechanisms used in ROS (RTABMap, gmapping etc.) Using a map can be useful in your future implementations like navigation.

You can get more ideas from ROS navigation stack too. See how it identifies obstacles within a map.