From ab02531340cf183336ed1f6f9960ba84d7cbcb2e Mon Sep 17 00:00:00 2001 From: nuwandavek Date: Thu, 5 Oct 2023 16:10:36 -0700 Subject: [PATCH] add magnetometerCalibration struct --- log.capnp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/log.capnp b/log.capnp index 4a59ca8d3..2c966ced7 100644 --- a/log.capnp +++ b/log.capnp @@ -1994,6 +1994,15 @@ struct LiveTorqueParametersData { useParams @12 :Bool; } +struct MagnetometerCalibrationData { + calibrated @0 :Bool; + calibrationParams @1 :List(Float32); + bearing @2: Float32; + bearingValid @3: Bool; + points @4 :List(List(Float32)); + version @5 :Int32; +} + struct LiveMapDataDEPRECATED { speedLimitValid @0 :Bool; speedLimit @1 :Float32; @@ -2217,6 +2226,7 @@ struct Event { modelV2 @75 :ModelDataV2; driverStateV2 @92 :DriverStateV2; navModel @104 :NavModelData; + magnetometerCalibration @127 :MagnetometerCalibrationData; # camera stuff, each camera state has a matching encode idx roadCameraState @2 :FrameData;