Skip to content

Commit

Permalink
use correct tc/abs fields for acc
Browse files Browse the repository at this point in the history
  • Loading branch information
gotzl committed Jun 14, 2021
1 parent 24f48f3 commit 6bd2a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/acc.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ def revLightsPercent(self):

@property
def tcInAction(self):
return self.physics.tcInAction
return self.physics.tc > 0

@property
def absInAction(self):
return self.physics.absInAction
return self.physics.abs > 0

@property
def speedKmh(self):
Expand Down

0 comments on commit 6bd2a74

Please sign in to comment.