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

Maintain/keep all the PointCloud2 in Rviz

asked 2018-11-16 08:08:13 -0500

zhonghao gravatar image

I am publishing PointCloud2 in Rviz, but when I publish the current PointCloud2 msg from the topic, the last msg will disappear, how can I maintain all the PointCloud2 in Rviz?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-11-16 08:32:48 -0500

The PointCloud2 display has a "decay time" setting that defaults to 0 (i.e. only last cloud is shown). If you crank that up, all clouds that are not older than the number you select [in seconds] are shown in rviz. Depending on the type of data this might lead to very high CPU and memory consumption, so you'll have to try and see what works for you.

edit flag offensive delete link more

Comments

hey Stefan, I just found the decay time as well. That's what exactly I need. Thanks a lot.

zhonghao gravatar image zhonghao  ( 2018-11-16 08:34:42 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-11-16 08:08:13 -0500

Seen: 719 times

Last updated: Nov 16 '18