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

How can I get the Image.data of sensor_msgs/Image in Python

asked 2014-03-25 14:25:02 -0600

Consider1001 gravatar image

Hi , I am learning turtlebot_simulator with gazebo. I am trying to write a listener in python to subscriber the topic of 'camera/rgb/image_raw'. But I have problems in getting the Image.data for it is uint8[], I want to know how can I translate it into a normal matrix or image which can be dealt with. Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-25 15:27:40 -0600

edit flag offensive delete link more

Comments

1

Thank you very much! Problem solved!

Consider1001 gravatar image Consider1001  ( 2014-03-25 21:19:40 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-25 14:25:02 -0600

Seen: 10,759 times

Last updated: Mar 25 '14