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
Getting Cartographer's final pose graph optimized trajectory #965
Comments
You also have to call the service for saving the state. |
@ojura thanks for your reponse, is it |
@ojura so I rosservice called /write_state and a binary file was generated inside .ros folder. How to read this file? |
Have a look here: #460 |
Thanks!
But the process remains frozen here and nothing else happens. |
That tool publishes a map from a .pbstream. You can open rviz and visualize it there. It‘s not frozen, it‘s just continuing to publish the map to other nodes („spinning“ in ROS lingo). |
Yes I can see the map in rviz, thanks. But I want the trajectory node list not the map. |
There isn't a tool for that, but you could easily write one yourself, like this: |
Thanks @ojura I was able to compile it. |
I want to get the final optimized trajectory generated by cartographer in some sort of text or json file and I went through some of the issues which suggested that on running
rosservice call /finishtrajectory 0
a protobuf file will be generated inside ./ros but no such file was generated in my case. FYI, I am not using the offline node.Is there anyway to fix this?
Thanks.
The text was updated successfully, but these errors were encountered: