ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

would i need to apply some sort of offset to the static map based on the robot's gps position on start, if so how?

If you want to use a GPS to localize your robot on a map, then you need your map to have the same origin as your map frame, or your would need to publish the map with some other frame in its header, and provide a transform from, e.g., map_image_frame -> map. You could potentially figure out the origin of your map in the utm frame, and then publish the map occupancy grid with the frame_id set to utm.

If the package adhered to all of REP-105, we'd have an earth frame, and then you could have an earth->map_image transform to specify where the map is on earth, and then an earth->map transform to specify where the robot is. The utm frame can serve the same purpose here, though.

Is is possible to manually build a static map offline instead of using a real-time mapping algorithm such as SLAM

Sure, that's totally possible. Just need to make sure that you have the transform that specifies where the map is in the UTM grid.