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

Setting value for submap resolutions #1517

Closed
kllysin opened this issue Feb 6, 2019 · 1 comment
Closed

Setting value for submap resolutions #1517

kllysin opened this issue Feb 6, 2019 · 1 comment

Comments

@kllysin
Copy link

kllysin commented Feb 6, 2019

Hi!

I am new to this so apologies in advance if the question is too simple. I am trying to perform pure localization. I want to set the submap resolution parameter. I have set the lua and urdf files.

  1. Should I be adding the submap resplution to the lua file inside options?
  2. What is the default value if not set? Does anyone have a sample file?
  3. How do I check the resolution for a .pbstream file already generated.

Thanks in advance!

@MichaelGrupp
Copy link
Contributor

MichaelGrupp commented Feb 18, 2019

1. Should I be adding the submap resplution to the lua file inside options?

Yes, you can override TRAJECTORY_BUILDER_2D.submaps.grid_options_2d.resolution = <your resolution>

2. What is the default value if not set? Does anyone have a sample file?

If you inherit the base config (as it's done in all examples), the default value is this one, unless it was overriden by another value.

A pull request for a tool that simplifies checking the final configuration is here: #1508

3. How do I check the resolution for a .pbstream file already generated.

There's the possibility to run cartographer_pbstream info <your pbstream file>. But this doesn't print all the options at the moment. A pull request to save all map builder options is here: #1504

@wohe wohe closed this as completed Aug 26, 2020
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

3 participants