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

sample launch file for using gmapping #28

Open
oscar-lima opened this issue Oct 18, 2018 · 2 comments
Open

sample launch file for using gmapping #28

oscar-lima opened this issue Oct 18, 2018 · 2 comments

Comments

@oscar-lima
Copy link
Collaborator

https://github.com/socrob/robocup-at-work/blob/kinetic/mas_industrial_robotics/mir_navigation/mir_2dslam/ros/launch/2dslam.launch

@magnuok
Copy link

magnuok commented Oct 25, 2018

How can I find the base_frame for our robot?
Are the launch-file suppose to save a map-file aswell?

@cazevedo
Copy link
Collaborator

cazevedo commented Oct 26, 2018

You can use tf tree to visualize the frames of your robot and therefore understand which one is the base_frame. However the frame used is almost always the base_link.
Gmapping creates a map and publishes it to the /map topic.
You should use the map_server package to save this map.
You just need to run, since it will automaticaly subscribe to the /map topic:
rosrun map_server map_saver

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