Ask Your Question
1

Maintain/keep all the PointCloud2 in Rviz

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

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 -0600

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 imagezhonghao ( 2018-11-16 08:34:42 -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: 2018-11-16 08:08:13 -0600

Seen: 48 times

Last updated: Nov 16 '18