Skip to content

Commit

Permalink
split into clearer structs
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwandavek committed Nov 8, 2023
1 parent 743172a commit 986eae5
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -2012,15 +2012,24 @@ struct LiveTorqueParametersData {

struct MagnetometerCalibrationData {
calibrated @0 :Bool;
center @1 :XYData;
axisLengths @2 :XYData;
rotationAngle @3 :Float32;
offsetAngle @4 :Float32;
points @5 :List(List(Float32));
version @6 :Int32;
totalBucketPoints @7 :Float32;
bearing @8 :Float32;
bearingValid @9 :Bool;
calibrationParams @1 :CalibrationParamsData;
bearing @2: Float32;
bearingValid @3: Bool;
points @4 :List(List(Float32));
version @5 :Int32;
totalBucketPoints @6 :Float32;

struct CalibrationParamsData {
center @0 :XYData;
axisLengths @1 :XYData;
rotationAngle @2 :Float32;
offsetAngle @3 :Float32;
}

struct XYData {
x @0 :Float32;
y @1 :Float32;
}
}

struct LiveMapDataDEPRECATED {
Expand Down

0 comments on commit 986eae5

Please sign in to comment.