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

How to hold the old points in rviz

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

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 image bvbdort  ( 2014-10-10 07:08:20 -0500 )edit

I did but didn’t work.

aniket gravatar image aniket  ( 2014-10-14 13:00:57 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

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

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 image aniket  ( 2014-10-14 13:05:28 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 691 times

Last updated: Oct 10 '14