Robotics StackExchange | Archived questions

has anyone had any success using the CCNY pgr_camera_driver with Grasshopper2 cameras?

Hi, I tried running the pgrcameradriver from the CCNY stack with my 2MP Grasshopper2 devices, but ran into two problems:

  1. the width & height parameters seemed to be reversed, and
  2. 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!

Asked by shart115 on 2012-10-04 03:40:56 UTC

Comments

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"

Asked by phil0stine on 2012-11-14 12:54:16 UTC

Answers