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

Reset cartographer state during runtime of cartographer_node #1255

Closed
BarzelS opened this issue Apr 7, 2019 · 3 comments
Closed

Reset cartographer state during runtime of cartographer_node #1255

BarzelS opened this issue Apr 7, 2019 · 3 comments

Comments

@BarzelS
Copy link

BarzelS commented Apr 7, 2019

Hey,
Is there a way to reset cartographer node state without restarting the process(during runtime)?
(Reset the map)
Thanks

@BarzelS BarzelS changed the title Reset and load cartographer state during runtime of cartographer_node Reset cartographer state during runtime of cartographer_node Apr 8, 2019
@MichaelGrupp
Copy link
Contributor

I'm not entirely sure what you mean, but it could be related to something I want to implement:
Control over deleting and loading states during runtime, as proposed here: cartographer-project/rfcs#41

@BarzelS
Copy link
Author

BarzelS commented Apr 14, 2019

  1. Restart all data related to cartographer(Map, Landmarks, submaps etc) just like restarting the process of cartographer node, without loading a pbstream file.
    In addition: disable the optimization process which is done in the destructors.
  2. I'm using cartographer_ros which means that I'm using version 1.0.0(Done the installation through https://google-cartographer-ros.readthedocs.io/en/latest/compilation.html)
    Does the master version of cartographer is compatible with that version of cartographer_ros?

@MichaelGrupp
Copy link
Contributor

Completely resetting everything is currently not supported. My draft goes into this direction but is also not finished.
Regarding destruction, there was a similar request but it was not merged into master. You can follow up here: cartographer-project/cartographer#1446

Does the master version of cartographer is compatible with that version of cartographer_ros?

Nope. Only file backwards compatibility for pbstream.

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