has anyone had any success using the CCNY pgr_camera_driver with Grasshopper2 cameras? [closed]
Hi, I tried running the pgr_camera_driver from the CCNY stack with my 2MP Grasshopper2 devices, but ran into two problems:
- the width & height parameters seemed to be reversed, and
- changing the resolution only cropped the images, it didn't actually change the underlying video mode.
The issues are related, as I noticed the code changes the mode based on a switch statement keyed off the (reversed) width & height. However, even after fixing this, every single video mode I tried came back as "not supported" from the underlying flycap driver.
Anyone have any ideas?
Thanks!
Similar issues with Grasshopper v1. Most importantly, I cannot change resolution or rviz crashes with "Stream size does not match calculated image size in Image::loadRawData"