Skip to content

Commit 24f6fa7

Browse files
committed
merge commaai/msgq#3 after fixing conflicts
1 parent 4d5862c commit 24f6fa7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

car.capnp

+10-1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ struct CarState {
135135
seatbeltUnlatched @25 :Bool;
136136
canValid @26 :Bool;
137137

138+
# clutch (manual transmission only)
139+
clutchPressed @28 :Bool;
140+
138141
# which packets this state came from
139142
canMonoTimes @12: List(UInt64);
140143

@@ -350,6 +353,7 @@ struct CarParams {
350353
carVin @38 :Text; # VIN number queried during fingerprinting
351354
isPandaBlack @39: Bool;
352355
dashcamOnly @41: Bool;
356+
transmissionType @43 :TransmissionType;
353357

354358
struct LateralPIDTuning {
355359
kpBP @0 :List(Float32);
@@ -390,7 +394,6 @@ struct CarParams {
390394
l @7 :List(Float32); # Kalman gain
391395
}
392396

393-
394397
enum SafetyModel {
395398
# does NOT match board setting
396399
noOutput @0;
@@ -415,4 +418,10 @@ struct CarParams {
415418
torque @0;
416419
angle @1;
417420
}
421+
422+
enum TransmissionType {
423+
unknown @0;
424+
automatic @1;
425+
manual @2;
426+
}
418427
}

0 commit comments

Comments
 (0)