Ask Your Question
0

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
1

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

Comments

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

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 1,857 times

Last updated: Oct 25 '12