Skip to content

Commit 12bc189

Browse files
jyoung8607rbiasini
authored andcommitted
Add fields and states required for robust Volkswagen safety compliance (#8)
* Add fields and states required for robust Volkswagen safety compliance. * Add generic (manufacturer-independent) cruise-control button events in support of enhanced steering wheel or third stalk ACC control. * Add generic (manufacturer-independent) gearshift position definitions for Eco and Manumatic. * Add preEntry Event state, in support of generic (manufacturer-independent) strict safety model compliance. This is intended for later use in controlsd, to display NO_ENTRY alerts without attempting engagement. * Update Volkswagen safety model ID from "vw" to "volkswagen" to be consistent with the existing community port. * Remove the separate increase and decrease buttons. A different approach has been discussed and agreed to. * Per conversation with Riccardo, pulling the preEntry thing until later.
1 parent 16b5850 commit 12bc189

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

car.capnp

+5
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ struct CarState {
166166
sport @5;
167167
low @6;
168168
brake @7;
169+
eco @8;
170+
manumatic @9;
169171
}
170172

171173

@@ -184,6 +186,9 @@ struct CarState {
184186
altButton1 @6;
185187
altButton2 @7;
186188
altButton3 @8;
189+
setCruise @9;
190+
resumeCruise @10;
191+
gapAdjustCruise @11;
187192
}
188193
}
189194
}

0 commit comments

Comments
 (0)