From a12ffca9f6891e2ed7243b8f756951c25e6f937d Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 7 Oct 2020 13:43:35 +0200 Subject: [PATCH] Fix gyro field name old-commit-hash: 2e739aa77c912d7e28e3f5fc434636015f766829 --- selfdrive/sensord/sensors/lsm6ds3_gyro.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);