ros-perception / image_transport_tutorials

ROS 2 tutorials for image_transport.
Apache License 2.0
50 stars 11 forks source link

Add a class callback based version of the my_subscriber tutorial #8

Closed Jack-Spleenlab closed 7 months ago

Jack-Spleenlab commented 1 year ago

This PR expands on the my_subscriber.cpp tutorial by making it usable in a class. I am open to feedback on how we could make the code better, understandable, or more usable before merging.

I understand that this type of application is in some ways already solved by the image_transport::SimpleSubscriberPlugin tutorial but I think it is not a bad idea to offer the user this additional tutorial as it bridges the gap in understanding between the plugin tutorial and the my_subscriber tutorial.

It essentially answers this open issue: https://github.com/ros-perception/image_transport_tutorials/issues/3

Cheers!

Jack

ahcorde commented 7 months ago

This PR targeted foxy which is EOL, Feel free to reopen the PR targeting main