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

Revision history [back]

click to hide/show revision 1
initial version

rviz is your best bet here.

There are two common approaches you can choose from, depending on what information your drone publishes.

If your drone publishes its current position estimate relative to a fixed point (such as where it was turned on), then you can display that information directly in rviz by selecting the published position's frame as the fixed frame (under the "global options" header in the left panel).

If your drone publishes a relative offset from its previous position estimate each time, then you will need to create a node that accumulates that value to provide an absolute position estimate, and then publish that for rviz to display.

If you provide more information about what your drone publishes, I can provide more exact instructions.