Skip to content

Commit

Permalink
clamp is double
Browse files Browse the repository at this point in the history
  • Loading branch information
ZwX1616 committed Jan 23, 2025
1 parent 432e518 commit 4e7ebc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/camerad/cameras/camera_qcom2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void CameraState::update_exposure_score(float desired_ev, int exp_t, int exp_g_i

void CameraState::set_camera_exposure(float grey_frac) {
if (!camera.enabled) return;
std::vector<float> target_grey_minimums = {0.1, 0.1, 0.125}; // wide, road, driver
std::vector<double> target_grey_minimums = {0.1, 0.1, 0.125}; // wide, road, driver

const float dt = 0.05;

Expand Down

0 comments on commit 4e7ebc4

Please sign in to comment.