Skip to content

Commit

Permalink
add magnetometerCalibration struct
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwandavek committed Oct 5, 2023
1 parent 4a07275 commit ab02531
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ab02531

Please sign in to comment.