Skip to content
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

White Balance disabling? #35

Open
Crusty82 opened this issue Mar 20, 2018 · 6 comments
Open

White Balance disabling? #35

Crusty82 opened this issue Mar 20, 2018 · 6 comments

Comments

@Crusty82
Copy link

I connected a Basler acA1920-40uc USB3 camera and set up a profile on the cam in the pylon camera suite utility, among others enabling White Balance.

When running the pylon_camera stack, somehow this setting gets overwritten even if I remove this option from the yaml config file entirely, and the camera drops back into a non-white balanced image.

Is there any way to have the stack not modifying the internal camera params / overriding their settings there with the stack's defaults? Am I using it wrong?

@thinkyo
Copy link

thinkyo commented Jun 5, 2018

I have the same problem. There is no function for white balancing. Will it be added?

@Crusty82
Copy link
Author

Crusty82 commented Jun 5, 2018

I have found a temporary workaround, where I:

  1. Open the camera in pylon_viewer
  2. Set all of the settings as I like them.
  3. Save the settings as a new profile
  4. Set the profile as the startup profile.
  5. Disable here in pylon_camera to overwrite the settings by commenting out this line:
    https://github.com/magazino/pylon_camera/blob/indigo-devel/include/pylon_camera/internal/impl/pylon_camera_usb.hpp#L71

And then rebuilding. This disables the force-loading of the default user profile on the cam that overrides all of your settings.

@thinkyo
Copy link

thinkyo commented Jun 5, 2018

Thanks. I already added the parameter to the driver myself. It must have been forgotten...

@matheusns
Copy link

Hello guys, is there a way to implement this feature to the package, something like a parameter to disable this default profile enabling?

@r1d1
Copy link

r1d1 commented Feb 27, 2019

The workaround worked for us too but a proper feature would be nice :)
Thanks for the tip !

@wayne-li-bc
Copy link

@thinkyo can you give some details on how you added white balance parameter to the package? We ran into the same params overwriting problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants