Problem using cv2_to_imgmsg() in python for ROS node [closed]
Hello everyone, I am trying to convert open_cv images of type float to ROS imgmsg() but unable to do that. Actually I have to convert them and publish then to a topic for RGBD_SLAM, which takes two topics as input one is RGB image and other is depth image for which it is required to convert cv image to some format whic is understandable by ROS. i serached for it and came across ROS docs and this example, but unable to implement that can anyone help me with this.
regards
Can you please add your code snippet + any errors you are getting (compile time / run time)?