ros-drivers / video_stream_opencv

A package to open video streams and publish them in ROS using the opencv videocapture mechanism
227 stars 159 forks source link

Almost a major refactor #21

Open kunaltyagi opened 6 years ago

kunaltyagi commented 6 years ago

This code uses C++11 and CMake 3.1. I don't know what the compatibility requirements are. If you are not able to merge this, no issues.

Modified the code to have the following:

awesomebytes commented 6 years ago

Hello. Sorry for the late reply, I was away for a few weeks. Thank you very much for your efforts.

As you say... this is mainly a complete rewrite. I don't feel confident merging it. At least we'd need to test every old possible use case to make sure it still works as before. Said that, I have the following concerns:

I do like the capability of looping and also pausing the play. Couldn't that be implemented in the previous code base?

kunaltyagi commented 6 years ago

Regarding the versions

Regarding the refactor:

TLDR: This PR is just a refactor with minor changes. Makes it easier for developers, but not required to be merged upstream. The minor changes can be cherry-picked and merged.