Skip to content

Commit

Permalink
Add struct to log FW version
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Nov 12, 2019
1 parent 64ce0b5 commit 94b7377
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ struct CarParams {
brakeMaxBP @15 :List(Float32);
brakeMaxV @16 :List(Float32);


# things about the car in the manual
mass @17 :Float32; # [kg] running weight
wheelbase @18 :Float32; # [m] distance from rear to front axle
Expand Down Expand Up @@ -360,6 +359,7 @@ struct CarParams {
isPandaBlack @39: Bool;
dashcamOnly @41: Bool;
transmissionType @43 :TransmissionType;
carFw @44 :List(CarFw);

struct LateralPIDTuning {
kpBP @0 :List(Float32);
Expand Down Expand Up @@ -432,4 +432,16 @@ struct CarParams {
automatic @1;
manual @2;
}

struct CarFw {
ecu @0 :Ecu;
fwVersion @1 :Text;
}

enum Ecu {
eps @0;
esp @1;
fwdRadar @2;
fwdCamera @3;
}
}

0 comments on commit 94b7377

Please sign in to comment.