Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move global and storage maps along with robot #143

Closed
XuRobotics opened this issue Mar 28, 2022 · 1 comment
Closed

Move global and storage maps along with robot #143

XuRobotics opened this issue Mar 28, 2022 · 1 comment
Labels
enhancement New feature or request medium

Comments

@XuRobotics
Copy link
Collaborator

XuRobotics commented Mar 28, 2022

Reinitialize the global and storage maps to be centered around the robot after it moves a certain distance, so that the robot can handle arbitrarily large environments.

Currently, the global map and storage map have fixed origins and dimensions. The local map is cropped out of the storage map according to the robot center.

One easy way to achieve this is to clear all voxels of the global and storage map, reinitilize them to be centered around the robot whenever the robot is close to the boundaries of the global / storage map (while doing so, publish a state trigger for stopping policy to guarantee safety).

FYI, Storage map only exists to speed up the generation of the local map. A storage map is a map that is large and has the same resolution as the local map. Given a local map center and dimension, we just crop a submap from the storage map. Global map has similar dimensions as storage map but is much more coarsely discretized. The idea is that the global planner plans in global map and the local planner plans in the small local map, thus increasing computation efficiency, while not comprising much on the optimality (local planner can still deviate from the global path, and fly through small gaps if they exist).

@XuRobotics XuRobotics added enhancement New feature or request medium labels Apr 21, 2022
@XuRobotics
Copy link
Collaborator Author

Solved in #187

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request medium
Projects
None yet
Development

No branches or pull requests

1 participant