gerkey / ros1_external_use

64 stars 12 forks source link

simple standalone example showing how to stuff an Image.msg and publish to ROS #3

Closed codebot closed 8 years ago

codebot commented 8 years ago

There are many ways to improve this little program and make it more general, such as using the ROS CV Bridge, but there is some value in showing just how simple it is to take images from some other framework (in this case, OpenCV), manually populate the sensor_msgs::Image fields, and publish messages to ROS. All using a standalone Makefile, thanks to the pkg-config files from the ROS packages.

gerkey commented 8 years ago

Nice!

Btw, the -l: issue that we're now working around has been known for a while to be a problem for people using ROS packages via pkg-config. Start reading here for a summary of where we stand now and why it's a tricky problem.