mapviz
mapviz copied to clipboard
How to make the view move as the GPS track goes?
Hello everyone,
I successfully showed the tile map of Google Maps, and the navsat track using danielsnider's job as in the image attached:
But the view does not move as the gps track goes. As in your conference demo
How to do it?
Thank you all.
You will have to set your Target frame (there is a drop down menu in the top left corner) to whatever TF frame you want the view to follow. Typically this frame is attached to the vehicle and is published by a localization node running on your platform. RVIZ uses the same concepts of fixed and target frames.
If you're unfamiliar with TF, I'd recommend starting with the tutorials and then looking at how TF is or how TF should be setup on your platform.
Other useful links: Coordinate Frames for Mobile Platforms rqt_tf_tree - a tool for visualizing the TF tree on a robot