News for hackers. Stuff that matters.
Re:Comma Two Devkit by bugsy924 on Tuesday January 07, 2020 @07:20PM (#21986835)
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
Re:Comma Two Devkit by fabiensanglard on Tuesday January 07, 2020 @07:36PM (#21986967)
Source (i assume you read the source code and know where these checks are)?
Re:Comma Two Devkit by enragedcacti on Tuesday January 07, 2020 @07:51PM (#21987077)
Re:Comma Two Devkit by enragedcacti on Tuesday January 07, 2020 @08:09PM (#21987207)
This was harder to find but this is where caps for steering are set in OpenPilot:

https://github.com/commaai/openpilot/blob/a2ae18d1dbd1e59c38...

Re:Comma Two Devkit by enragedcacti on Tuesday January 07, 2020 @08:13PM (#21987236)
Last but not least, here is brake and gas limiting:

https://github.com/commaai/openpilot/blob/a2ae18d1dbd1e59c38...