mapviz icon indicating copy to clipboard operation
mapviz copied to clipboard

How to make the view move as the GPS track goes?

Open congphase opened this issue 3 years ago • 1 comments

Hello everyone,

I successfully showed the tile map of Google Maps, and the navsat track using danielsnider's job as in the image attached: image

But the view does not move as the gps track goes. As in your conference demo

How to do it?

Thank you all.

congphase avatar Jun 05 '21 02:06 congphase

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

rjb0026 avatar Jun 05 '21 03:06 rjb0026