Ask Your Question

Real time robot position visualization

asked 2017-11-09 08:40:23 -0500

Nicola P gravatar image

I have a ros node which simulates an underwater vehicle 2D motion, by reading the yaw reference angle from a topic published by another node and whose value is computed comparing the current vehicle position with respect to a desired one.

I would like to visualize the real time position of the vehicle (meaning while the node encharged to simulate the vehicle computes it) on a graph whose axes are the x and the y of the reference frame.

So far I have used rqt_plot, but it merely allows to visualize the topic contents referred to the time the data is computed.

Any suggestion?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-09 10:53:17 -0500

lucasw gravatar image

Rviz + and broadcasting the position as a tf (or a Marker) is somewhat overkill but you are probably going to be using rviz anyhow.

Drawing onto an Image using opencv and publishing it or even using imshow is quick and dirty. (I thought there was a turtlebot example that did this but I can't find it) hasn't been updated recently, there might be others.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-11-09 08:40:23 -0500

Seen: 557 times

Last updated: Nov 09 '17