Robotics StackExchange | Archived questions

error on playing back of depth image of prime sensor

I am trying to play back a bag file of rgb and depth images of prime sensor. The rgb image is played well, but the depth image isn't. When I played back the bag of depth image with rxbag, the following error occurred:

Can't convert: Error loading image on topic /camera/depth/image: local variable 'mode' referenced before assignment
Failed to load: ('/camera/depth/image', 1314152344.8639498, 0.15948963317384371, (151,))

I can see the depth image with the following command:

rosrun image_view image_view image:=/camera/depth/image

But, I cannot see depth image in the rxbag display.

Also, I downloaded a bag of other person and tried to play back it. I could see the rgb image but not the depth image.

Could you give an advice on this error?

Asked by JollyGood on 2011-08-23 14:40:47 UTC

Comments

Here is the link: http://answers.ros.org/question/753/rgb-6d-slam-performance-on-a-robot

Asked by JollyGood on 2011-08-23 16:26:08 UTC

Can you provide a link to the other bagfile that you tried to use?

Asked by mjcarroll on 2011-08-23 14:51:18 UTC

Just for bumping: I also have this problem. For me the same holds also when recording rgb image

Asked by niosus on 2012-03-27 04:42:36 UTC

This question is quite old; has it resolved itself in the interim?

Asked by Mac on 2013-01-16 06:53:44 UTC

Answers