ut-robotics / picr21-team-sauna-madis

0 stars 0 forks source link

Set white balance and exposure #28

Closed ReikoR closed 2 years ago

ReikoR commented 2 years ago

https://github.com/ut-robotics/picr21-team-sauna-madis/blob/4c6d1c92842338af8816641a25f335507717bdcf/saun/image.py#L46-L47

Auto white balance and exposure are turned off, but no values are set.

I don't know what are the default values or if they will change, but it's probably safer to set them manually:

color_sensor.set_option(rs.option.white_balance, 3500)
color_sensor.set_option(rs.option.exposure, 50)
ReikoR commented 2 years ago

There is a comment, but it needs to be actually fixed: https://github.com/ut-robotics/picr21-team-sauna-madis/blob/1f4b77ebae64bb29882fd5f36271e09f96811f76/saun/image.py#L45