Closed versatran01 closed 8 years ago
Is there any particular reason for using uint16_t instead of just unsigned? e.g. bool PointGreyCamera::setWhiteBalance(uint16_t &blue, uint16_t &red)
No particular reason, but note that the blue and red values get bit-shifted into a single 32-bit register, so there'd be nothing gained from them being larger types.
blue
red
cf. https://github.com/ros-drivers/pointgrey_camera_driver/blob/18e181310871dad14cb0a4d06b662adeb5562bba/pointgrey_camera_driver/src/PointGreyCamera.cpp#L576
Is there any particular reason for using uint16_t instead of just unsigned? e.g. bool PointGreyCamera::setWhiteBalance(uint16_t &blue, uint16_t &red)