Revisit video streaming code
Opened this issue · 1 comments
tame0001 commented
Last semester we did streaming video. It has been a while, so it is time to brush up the code.
- Create a new package for video streaming sending side. Choose the name that tell its functionality.
- Clean up the code here a little bit -> https://github.com/boilerrobotics/rover-code/blob/master/src/cv_basics/cv_basics/publisher.py
- You should put any additional dependencies in
package.xml
withrosdep
. See the end of this README -> https://github.com/boilerrobotics/rover-code/blob/master/README.md - Create a subscriber package in
base_station
repo -> https://github.com/boilerrobotics/base-station. Follow the same step as above
tame0001 commented
I created a package for base station -> https://github.com/boilerrobotics/base-station/tree/main/src/remote_operation. This is for the receiving side. See package.xml
about dependencies. The code is not ready, so we will need to work on it.
You will need to create a new package for the sending side in rover-code
repo. You can see example for package.xml
.
I also found more example for using cv_bridge
http://wiki.ros.org/cv_bridge/Tutorials/ConvertingBetweenROSImagesAndOpenCVImagesPython
https://temugeb.github.io/ros2/cv_bridge/cpp/python/2022/06/23/ros2-cv-bridge-minimal-pubisher.html