error on playing back of depth image of prime sensor [closed]

asked 2011-08-23 14:40:47 -0600

JollyGood gravatar image

updated 2011-08-23 14:50:53 -0600

mjcarroll gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-01-26 14:06:05

Comments

Can you provide a link to the other bagfile that you tried to use?
mjcarroll gravatar image mjcarroll  ( 2011-08-23 14:51:18 -0600 )edit

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

niosus gravatar image niosus  ( 2012-03-27 04:42:36 -0600 )edit

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

Mac gravatar image Mac  ( 2013-01-16 05:53:44 -0600 )edit