Robotics StackExchange | Archived questions

octomap: how to translate the grid map efficiently?

Hi, I have a question about how to translate the grid map created by octomap.

I am using octomap as the local map of a mobile robot, i. e., the robot coordinate system is the center of the map. However, due to the limited size of the map supported by octomap, I have to translate the grid map when the robot moves. I didn't find an efficient solution to this problem. If I traverse the grids for the whole map, this operation is time-consuming (many memory release and allocation).

Is there a solution for this problem? Thanks!

Asked by snapmail on 2023-06-20 09:36:42 UTC

Comments

Answers