Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bugsy924
· 6y ago · 0 comments
Yeah plenty has changed since then, there are limits that are checked twice to ensure the driver is always able to take control. If violated, the car or openpilot throws an error openpilot.comma.ai
Comments
[–]
fabiensanglard
6y ago
Source (i assume you read the source code and know where these checks are)?
[–]
enragedcacti
6y ago
https://github.com/commaai/openpilot/blob/a2ae18d1dbd1e59c38...
[–]
enragedcacti
6y ago
This was harder to find but this is where caps for steering are set in OpenPilot:
https://github.com/commaai/openpilot/blob/a2ae18d1dbd1e59c38...
[–]
enragedcacti
6y ago
Last but not least, here is brake and gas limiting:
https://github.com/commaai/openpilot/blob/a2ae18d1dbd1e59c38...