Rosanswers logo

My issue

I'm having trouble displaying point and depth clouds within rviz. Specifically, no matter what value I set for the decay time, the point clouds continue to aggregate endlessly. After only a few seconds, this causes rviz to become completely unresponsive.

My setup

  • I'm using an ASUS Xtion Pro Live
  • I'm using rviz for ROS Indigo, obtained from the package servers (not compiled from source)
  • Likewise, I am using the packaged versions of all openni-related packages
  • I have an NVIDIA NVS 5200M (Dell Latitude E6530)

Other Notes

  • I also managed to replicate the behavior using a compiled-from-source version under OS X
  • I am subscribing to /camera/depth_registered/points (a PointCloud2 message), but the same issue occurs with the /camera/depth_registered/image_raw topic when I display a DepthCloud.
  • I've tried several other decay times, but the result is always the same

Apologies in advance if I'm missing something obvious.

Originally posted by Tom Moore on ROS Answers with karma: 13689 on 2015-04-14

Post score: 0


1 Answer 1


Rosanswers logo

This can happen if there is no clock information being published and rviz has no reference for what is the latest. It is debatable whether it actually needs the clock since it could just refer to message timestamps, but at any rate this is how it currently works (I'd be curious if someone has an answer to this).

You can check that time is moving in rviz in the bottom left corner. If you are having this problem running rosbag, make sure you are using --clock with the command. If you are warping through a bag, you have to publish the clock yourself. If it's a robot, then perhaps your robot is having problems publishing time.

If you're not bagging, then it might be a difference in time on the two computers causing problems. Use chrony to sync them.

Originally posted by Daniel Stonier with karma: 3170 on 2015-06-17

This answer was ACCEPTED on the original site

Post score: 2

Original comments

Comment by Tom Moore on 2015-06-17:
It was indeed a time issue. The time server was running (rosbag was running with --clock and use_sim_time was true, as my software also requires the time server), but the time stamps in my depth cloud were incorrect. Duh. Thanks!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.