ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2018-05-31 04:16:14 -0500 | received badge | ● Self-Learner (source) |
2018-05-31 04:16:14 -0500 | received badge | ● Teacher (source) |
2018-05-31 04:16:12 -0500 | received badge | ● Student (source) |
2017-12-29 12:12:43 -0500 | received badge | ● Famous Question (source) |
2016-03-07 13:49:49 -0500 | received badge | ● Notable Question (source) |
2015-12-04 03:34:25 -0500 | received badge | ● Popular Question (source) |
2015-12-03 11:10:11 -0500 | answered a question | Python - Compressed Image, Publisher/Subscriber Solved the problem: the issue was in using a mix of roslaunch and rosrun. Once I called the code from the link from the same roslaunch file with the camera then everything worked fine. Not 100% sure why though as a rqt_view showed the right node-tree ... |
2015-12-02 18:36:09 -0500 | asked a question | Python - Compressed Image, Publisher/Subscriber I have implemented the code provided in: http://wiki.ros.org/rospy_tutorials/T... however the published topic is empty. It does not contain any information. I tried to dump the topic information into a .txt file and it is empty. when I compare this with the topics published by the camera node, I get the right information (header, frame_id, data). I printed the msg data structure before "self.image_pub.publish(msg)" (line 87) and the msg structure appears fine. I have the compressed transport installed and working correctly as I can see the image from the camera node using image_view but not the /output/image (the topic published by the code from the link above). It is obvious I am missing something ... not sure what. Any suggestion? |