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

No rectified image output

asked 2018-10-05 11:54:59 -0500

frescho gravatar image

Hello,

I am trying to generate a pointcloud from the depth camera of the robot pepper in conjunction with naoqi_driver, but I seem to get no output from the rectified image. When calling rostopic list I see both topics, /naoqi_driver_node/camera/depth/image_raw and /naoqi_driver_node/camera/depth/image_rect but when using rostopic hz, only image_raw has an actual output, and I can't figure out why. This is the code with which I'm trying to rectify the raw image data;

<node 
pkg="image_proc"
type="image_proc"
name="image_proc"
ns="/naoqi_driver_node/camera/depth" />

Does anyone have an idea what I could be doing wrong? I'll happily provide further information if needed, I'm just not sure what else could affect this problem right now.

Thanks for any help in advance.

edit retag flag offensive close merge delete

Comments

The image_proc node subscribes to _both_ image_raw and camera_info. Are you seeing camera_info messages in the namespace you specified? If not, then the image_proc node will not publish any messages.

Thomas D gravatar image Thomas D  ( 2018-10-05 17:22:45 -0500 )edit

Yes, camera_info is putting out data, that's how I realised there was no output for image_rect, as the error mentioned they weren't in sync because there was no output, but I will doublecheck to confirm this first chance I get back in the lab on monday

frescho gravatar image frescho  ( 2018-10-06 03:44:27 -0500 )edit

I can now confirm that camera_info is publishing correctly, as is image_raw. But image_proc doesn't seem to be doing anything with image_raw.

Does anyone have an idea what could be wrong, or what I could be missing? I appreciate any help

frescho gravatar image frescho  ( 2018-10-09 05:02:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-09 06:30:00 -0500

frescho gravatar image

updated 2018-10-09 06:31:05 -0500

[UPDATE] I have found and fixed the issue: the rectify nodelet subscribed to image_mono instead of image_raw; everything is working perfectly now

edit flag offensive delete link more

Comments

Glad it's working.

Thomas D gravatar image Thomas D  ( 2018-10-09 08:22:17 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-10-05 11:54:59 -0500

Seen: 773 times

Last updated: Oct 09 '18