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.
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 themy_subscriber
tutorial.It essentially answers this open issue: https://github.com/ros-perception/image_transport_tutorials/issues/3
Cheers!
Jack