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

Plotting points in x y frame

asked 2012-10-25 01:11:20 -0500

noe gravatar image

I want to plot the position of an object in a x-y 2D field. Every time step the new position has to be added so you can see the path, similar to the turtle walking around in turtlesim.

I tried using rxplot, but this inserts an extra dimension for the time, and I want to have a 2D plane.

Has anyone a suggestion?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-25 01:21:17 -0500

dornhege gravatar image

updated 2012-10-25 01:22:16 -0500

You can publish a LINE_LIST visualization_msgs/Marker to rviz.

edit flag offensive delete link more


Lorenz gravatar image Lorenz  ( 2012-10-25 01:33:42 -0500 )edit

Question Tools


Asked: 2012-10-25 01:11:20 -0500

Seen: 2,299 times

Last updated: Oct 25 '12