ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 180 forks source link

Writing to white balance register on BlackFly requires toggling the write bit #68

Open mitchb1 opened 8 years ago

mitchb1 commented 8 years ago

This is with a BlackFly BFLY-PGE-05S2C-CS on Ubuntu 14.04. In SetWhiteBalance, iit looks like the write it does to the white balance register (0x080C) only takes effect after the write bit (bit 6 in the PGR docs, but bit 25 in the driver) is written as a 0 and then a 1. The "enable" bit which was mentioned in the change log doesn't have any effect for me on the results.

I also see this in FlyCapture.

I don't understand why the write bit is even there and the scope of my lack of understanding of how it functions may be more profound than this description.

bdholt1 commented 7 years ago

I had problems with white balance that are now fixed with #95. Could you check to see if this solves it for you?