Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Questions related to MPL #13

Open
FaboNo opened this issue Apr 19, 2019 · 2 comments
Open

Questions related to MPL #13

FaboNo opened this issue Apr 19, 2019 · 2 comments

Comments

@FaboNo
Copy link

FaboNo commented Apr 19, 2019

Dear Sikang

First thank you for sharing such amazing piece of work! We would like to use it both on simulation and on a real quad and I have few questions:
1- one of our main challenge is to go thru a door with a quad which is slightly too big for the door (narrow gap) - my question is related to the inputs of the trajectory computation. We are using a 2D lidar but we can create a partial 3D map anyway - however as the map is incrementally built, we do not have a complete known Map - some area will be labeled as unknown. Does the algorithm is able to deal with such a map? If not what kind of pre-processing is required?

2- the second one is to compute a trajectory in a 2D occupancy grid, but incomplete, meaning that there are also some unknown cells. But here I guess that if we provide a 2D map with the "frontiers" marked as occupied, it should work. Besides I think that we need to inflate the obstacles, am I right?

Thank you

Regards

@sikang
Copy link
Owner

sikang commented Apr 19, 2019

Hi,

No problem! For answering your questions:

  1. If you're using voxel/occupancy grid maps, you could either free all unknown cells or only check collision with the occupied cells. There is no pre-processing needed other than setting the right value for cells.
  2. Treat unknown as occupied is over-conservative in general planning missions. Frontier based method will work, but you need to specify goals in the free space otherwise MPL won't find any trajs. Inflating obstacles is always necessary to make sure the vehicle won't getting too close to obstacles/hitting walls due to map incompleteness. But I think if you already have a 2D lidar onboard, you may assume unknown is free if the flight speed is not super high.
    Let me know if you have troubles running the test :)

Sikang

@FaboNo
Copy link
Author

FaboNo commented Apr 20, 2019

Hi Sikang

Thank you very much for your answers, I will first understand the code and if I have other questions, I will post them.

Thanks again

Fabrice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants