lit-robotics / libcamera-rs

Experimental Rust bindings for libcamera
Apache License 2.0
46 stars 15 forks source link

unable to set AwbEnable control #36

Open smroid opened 2 months ago

smroid commented 2 months ago

I am able to set request controls such as AeEnable, ExposureTime, AnalogueGain. However, when I try to set AwbEnable (true or false), I get:

../include/libcamera/controls.h:152: T libcamera::ControlValue::get() const [with T = float; typename std::enable\ _if<((! libcamera::details::is_span::value) && (! std::is_same<std::__cxx11::basic_string, typename std::remov\ e_cv< >::type>::value)), std::nullptrt>::type = nullptr]: Assertion `type == det\ ails::control_type<std::remove_cv_t>::value' failed.

Any suggestions?