Ask Your Question
0

How to hold the old points in rviz

asked 2014-10-09 13:59:33 -0600

aniket gravatar image

I was trying to plot points on rviz graph. I was successful in doing that however I could not plot the new points without loosing the old points. I want the graph to populate with newer values every-time (Real tine sensor values plotting). How can I do that ? Also is there any method of plotting except for rviz. I don't want to manually type rosrun rviz rivz all the time. Thank You.

edit retag flag offensive close merge delete

Comments

did you try marker.action = visualization_msgs::Marker::ADD

bvbdort gravatar imagebvbdort ( 2014-10-10 07:08:20 -0600 )edit

I did but didn’t work.

aniket gravatar imageaniket ( 2014-10-14 13:00:57 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2014-10-10 16:02:07 -0600

tfoote gravatar image

For visualization, there's a decay time parameter for most Rviz displays. If you want to do specific aggregation logic, you'll probably need to write a node which does the aggregation logic you want and then sends out the resultant value.

There are lots of domain specific examples such as the laser_assembler

rviz is installed into your path you can just run rviz

edit flag offensive delete link more

Comments

thanks, helps a lot.

aniket gravatar imageaniket ( 2014-10-14 13:05:28 -0600 )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

1 follower

Stats

Asked: 2014-10-09 13:59:33 -0600

Seen: 253 times

Last updated: Oct 10 '14