gramaziokohler / roslibpy

Python ROS Bridge library
MIT License
277 stars 57 forks source link

How to publish image #50

Closed JonasW-byte closed 4 years ago

JonasW-byte commented 4 years ago

When I subscribe image from sensors by type sensor_msgs/Image, after base64 decoding I can process the image through opencv. After processing, how to publish it with right data type?

gonzalocasas commented 4 years ago

@Guo13 we just added some additional examples of roslibpy usage, including publish/subscribe images: https://roslibpy.readthedocs.io/en/latest/examples.html#advanced-examples

I hope it helps!