-
Notifications
You must be signed in to change notification settings - Fork 155
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
Continuous Brightness, Auto Exposure, and Auto Gain Not Working in Basler ace 2 R (a2A1920-160ucBAS) #265
Comments
Hello @MiniiParra You need to set a value for brightness as well. This is the brightness value that set the pace for the adjusting of the exposure time and the gain. Documentation for the parameter 'brightness_continuous':
Documentation for the parameters 'exposure_auto' and 'gain_auto'
|
I'm also having this issue. I've tried every permutation I can think of for the settings. I have two a2A1920-51gcPRO cameras. Both are acting in the same manner. What I am seeing when I try to do autoexposure is that the camera's image adjusts but goes to pure white. In other words, it appears to be continuously increasing the exposure time. If I try to relaunch my ros nodes, the settings seem to have stayed on the camera and I can't connect without cycling the power to the camera. Example settings that cause this: |
Hi, I have already defined the brightness value, as well as all the other parameters in the YAML configuration file, which come commented by default. Here is the relevant section from the file: ros__parameters: However, despite having this configuration set up, the camera is still not applying the auto exposure and auto gain features as expected. The only way I've managed to get this working is by calling the set_brightness service after the launch, setting the auto exposure and gain values to True manually. What I would like is for these settings to be applied automatically upon startup without having to call the service after the program has launched. Thanks for your help! |
Describe what you want to implement and what the issue & the steps to reproduce it are:
I am currently working with the Basler ace 2 R (a2A1920-160ucBAS) camera and have successfully set up the pylon SDK following the instructions from the GitHub repository, using the humble branch. However, I am facing an issue with the configuration parameters for continuous brightness, auto exposure, and auto gain control.
I have set the following parameters in the configuration file:
brightness_continuous: true
exposure_auto: true
gain_auto: true
Despite these settings, the camera is not adjusting to different lighting conditions or environments. The image brightness, exposure, and gain do not adapt as expected.
Steps to reproduce:
Set the configuration parameters in the YAML file as mentioned above.
Run the launch camera with the pylon driver in the ROS environment.
Observe that the camera does not adapt to changes in lighting or exposure.
Hardware setup description
Camera: Basler ace 2 R (a2A1920-160ucBAS)
PC/Embedded system: Jetson Orin AGX
Operating System: Ubuntu 22
RAM: 64G
CPU architecture: ARM64
Interfaces used: USB
Runtime information
I have the full Basler pylon Camera Software Suite installed. ROS version: ROS2 Humble Camera works in the Basler pylon Viewer on the platform, and the settings there seem to be functional.
Is your camera operational with the Basler pylon Viewer on your platform?
Yes
The text was updated successfully, but these errors were encountered: