Skip to content

Commit

Permalink
VehicleOpticalFlow: use 32bit integer for dt
Browse files Browse the repository at this point in the history
Signed-off-by: RomanBapst <[email protected]>
  • Loading branch information
RomanBapst committed Jan 16, 2025
1 parent e361d59 commit 50d9cf9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void VehicleOpticalFlow::Run()
}

Vector3f delta_angle{NAN, NAN, NAN};
uint16_t delta_angle_dt;
uint32_t delta_angle_dt;

if (_gyro_integrator.reset(delta_angle, delta_angle_dt)) {
_delta_angle += delta_angle;
Expand Down

0 comments on commit 50d9cf9

Please sign in to comment.