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

RectifyNodelet was not subscribing to image_mono

asked 2017-02-17 03:51:05 -0500

mkreddy477 gravatar image

I am trying to customize Imageproc node to add a time stamp on each input frame. The output from mono was perfectly fine. The Image from mono has time stamp on it.

But the RectifyNodelet was not able to subscribe to It. I have converted raw_msg to a cv::Mat and the used putText for stamping arrival time on it. Then converted the same to sensors:msg using CvImage().toImageMsg

Could anybody please let me know what might be the reason.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-17 04:56:51 -0500

mkreddy477 gravatar image

It was a sync problem. I was able to solve the problem by simply passing the header of raw_msg to the CvImage(). Previously I was not passing the default header.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-02-17 03:51:05 -0500

Seen: 77 times

Last updated: Feb 17 '17