TOTON95 / ros-gopro-driver

ROS driver for GOPRO based on KonradIT / goprowifihack
GNU General Public License v3.0
41 stars 11 forks source link

Stream resolution #12

Open ReteDavid opened 1 year ago

ReteDavid commented 1 year ago

Is there any way to increase the quality of the stream? Or should I switch from Wifi to Usb C? What changes are then required? Thank you!

TOTON95 commented 1 year ago

Hello, there should be a way to do it, I suspect about the stream window size parameter, but I'm not really sure. Need time to test it, and right now BLE support and possible port to ROS2 is on queue for this winter holidays, so I may add it if things work smoothly.

Another way is to change parameters values from the ffmpeg region of the code, either way I recommend to do this carefully, since there's a tradeoff in which I prioritized the framerate over the quality, and even the official app behaves pretty much the same. I can expose this ffmpeg region to ROS if you want to experiment with it.

If by any chance you want to use USB-C then just make sure it is a new model (easier w/ more support), since I heard that GoPro was able to enable their cameras as webcams for meetings. You should be able to pull images from it using usb-cam driver for ROS as any other webcam.

Hopefully this helps. Let me know if you have any further concerns.

Greetings!