Zed-ros-wrapper: nothing show in camerainfo

Created on 24 Feb 2017  路  14Comments  路  Source: stereolabs/zed-ros-wrapper

Hi , I try zed-ros-wrapper just now but I can get nothing with /zed/left/camerinfo , /zed/right/camerainfo has nothing either. I want to check if there is a bug .

I check the info using rostopic echo command.

bug

Most helpful comment

You can get the camera info when you are reading the image. This means the camera info topic is empty when you are only reading the topic.

All 14 comments

I have the same problem ? No camera_info topic is publishing anything?

same problem here also, is there any way to solve this issue ?

I am facing the same problem, my setup is Ubuntu 16.04, CUDA 8, ZED SDK 1.2, ROS Kinetic. When I try to echo any of the camera_info topic , nothing is being published. Please help if anyone has a solution.

I noticed that, whenever some node in ROS is using (subscribed & running) the camera_info , at that time, if you echo /camera/**/camera_info, the data will be shown. But as soon you stop the node, no data will be echoed..
(I noticed this while using rtabmap. )
But one more thing I noticed is that, camera_info for left, right both cameras is same as rgb/camera_info.

I subscribe the topic but nothing works. It seems that that topic should be publish by a service but not a publisher.

You can get the camera info when you are reading the image. This means the camera info topic is empty when you are only reading the topic.

I think my group has experienced a similar problem. We have Zed mounted on a mobile robot. After launching the zed wrapper, we can echo all Zed topics when connected via ssh, but through ROS master URI, we cannot echo camera topics. (other topics not associated with Zed echo as normal such as /scan, /imu_data, etc)

This has prevented us from viewing odometry and point cloud information using rviz.

Does this sound like the issue people are experiencing?

Anybody make any progress on this?

@PingHGao I dont understand. What do you mean reading image ?. I would like to subscribe this topic to recieve messages. Can you be more specific

@jediofgever you have to subscribe to one of the image topics (for right camera: /right/image_raw_color or /right/image_rect_color) e.g. using the ROS image viewer. Only then the camera_info message of the respective camera is also being published.

@PingHGao @fabolhak I have subscribed to the image topic in rviz. Still there is nothing being published on rgb/camera_info topic. Is there anything else apart from subscribing to image to get the info published?

well, you have to subscribe to the correct image topic rgb/image_rect_color. Then it should work. Check out the code here: https://github.com/stereolabs/zed-ros-wrapper/blob/master/src/zed_wrapper_nodelet.cpp#L651

ZED plugin doesn't publish camerainfo. But when tried with actual ZED camera it was getting published.

@fabolhak correctly replied to the issue

Was this page helpful?
0 / 5 - 0 ratings