-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ace2 cameras requires targetBrightness in rosservice setBrightness as float in between [0,1] #140
Comments
Hello, any update to this issue? I would like to set brightness to 0.3 (Value from pylonviewer) however the current ros wrapper only take float. |
Hello @FrancoisPicardDTI , ubuntu:/camera/basler_camera/catkin_ws $ rosservice call /pylon_camera_node/set_brightness .5 true false true When I find time, I will have a look at it, myself! |
Hello,
I'm using an ace2 camera (not an old ace) . According to BASLER support, this newer camera requires now a float in between 0 and 1 for the target_brightness in function:
bool setBrightness(const int& target_brightness, int& reached_brightness, const bool& exposure_auto,const bool& gain_auto);
in pylon_camera_node.h
However, the current version of the ros code wants an integer. Could you please fix this?
The specific camera, I use, is: a2A2590-22gcBAS
when using the current rosservice setBrightness in combination with an ace2 camera and an integer value, this happens:
~ $ rosservice call /pylon_camera_node/set_brightness 120 true false true
reached_brightness: -997042304
reached_exposure_time: 4000.0
reached_gain_value: 0.5000000596046448
success: False
~ $ rosservice call /pylon_camera_node/set_brightness 120 true false true
reached_brightness: -1001849984
reached_exposure_time: 4000.0
reached_gain_value: 0.5000000596046448
success: False
~ $ rosservice call /pylon_camera_node/set_brightness 120 true false true
reached_brightness: -973736896
reached_exposure_time: 4000.0
reached_gain_value: 0.5000000596046448
success: False
~ $ rosservice call /pylon_camera_node/set_brightness 120 true false true
reached_brightness: -993516864
reached_exposure_time: 4000.0
reached_gain_value: 0.5000000596046448
success: False
The text was updated successfully, but these errors were encountered: