Skip to content

Commit

Permalink
Add fields and states required for robust Volkswagen safety compliance (
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
jyoung8607 authored and rbiasini committed Oct 3, 2019
1 parent 16b5850 commit 12bc189
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ struct CarState {
sport @5;
low @6;
brake @7;
eco @8;
manumatic @9;
}


Expand All @@ -184,6 +186,9 @@ struct CarState {
altButton1 @6;
altButton2 @7;
altButton3 @8;
setCruise @9;
resumeCruise @10;
gapAdjustCruise @11;
}
}
}
Expand Down

0 comments on commit 12bc189

Please sign in to comment.