Skip to content

Commit

Permalink
Add gas modes
Browse files Browse the repository at this point in the history
  • Loading branch information
arne182 authored Mar 20, 2019
1 parent 03103f2 commit 2f104b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion selfdrive/car/toyota/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ def __init__(self, CP):
self.Angle_counter = 0
self.Angle = [0, 5, 10, 15,20,25,30,35,60,100,180,270,500]
self.Angle_Speed = [255,160,100,80,70,60,55,50,40,33,27,17,12]
#labels for ALCA modes
#labels for gas mode
self.gasModes = 0
self.gasLabels = ["normal","sport","eco"]
#labelslabels for ALCA modes
self.alcaLabels = ["MadMax","Normal","Wifey"]
self.alcaMode = int(self.kegman.conf['lastALCAMode']) # default to last ALCAmode on startup
#if (CP.carFingerprint == CAR.MODELS):
Expand Down

0 comments on commit 2f104b7

Please sign in to comment.