vehicle_imu:VehicleIMU Fix style issues

This commit is contained in:
David Sidrane
2020-08-20 01:22:04 -07:00
committed by Daniel Agar
parent d437379142
commit 323dd389fe

View File

@@ -282,7 +282,7 @@ void VehicleIMU::Run()
// rotate sensor clip counts into vehicle body frame
const Vector3f clipping{_accel_calibration.rotation() *
Vector3f{(float)accel.clip_counter[0], (float)accel.clip_counter[1], (float)accel.clip_counter[2]}};
Vector3f{(float)accel.clip_counter[0], (float)accel.clip_counter[1], (float)accel.clip_counter[2]}};
// round to get reasonble clip counts per axis (after board rotation)
const uint8_t clip_x = roundf(fabsf(clipping(0)));