Camera Display is not working
Hi everyone,
I know this question has been asked quite a few times, but none of the answers seemed to help me.
I have quite a few bagfiles containing images. Unfortunately, the CameraInfo message wasn't recorded, so I had to write a subscriber to the image and then a publisher, which publishes the image and the camera info.
All is fine, I can rostopic echo
both topics and they are published fine. But unfortunately, I still can't see it in rviz. For camera info it says No CameraInfo received on [/camera/camera_info]. Topic may not exist.
, which is exactly my camera info topic, that is being published. And for the image it says No image received
even though I can clearly see it using an image display.
In my publisher I'm using the imagetransport and camerainfo_manager and in my callback function I do:
ci->header.stamp = msg->header.stamp;
ci->header.frame_id = msg->header.frame_id;
image_pub.public(msg, ci);
so they should be sychronized, right?
Any idea how to solve this is highly appreciated!
Asked by frizzle on 2017-04-26 12:30:23 UTC
Comments