diff --git a/selfdrive/sensord/sensors/lsm6ds3_gyro.cc b/selfdrive/sensord/sensors/lsm6ds3_gyro.cc index bfa5478643..93cb24ea2b 100644 --- a/selfdrive/sensord/sensors/lsm6ds3_gyro.cc +++ b/selfdrive/sensord/sensors/lsm6ds3_gyro.cc @@ -58,7 +58,7 @@ void LSM6DS3_Gyro::get_event(cereal::SensorEventData::Builder &event){ float xyz[] = {y, -x, z}; kj::ArrayPtr vs(&xyz[0], 3); - auto svec = event.initAcceleration(); + auto svec = event.initGyroUncalibrated(); svec.setV(vs); svec.setStatus(true);