3 ms·
I worked on Openpilot for around a year. Although many of the "cool" parts are not open source, there are still lots of interesting goodies in there worth check
by mgraczyk 7y ago
I worked on Openpilot for around a year. Although many of the "cool" parts are not open source, there are still lots of interesting goodies in there worth checking out.
For example, there is a semi-standalone CAN processing library:
https://github.com/commaai/openpilot/tree/devel/selfdrive/can https://github.com/commaai/openpilot/tree/devel/selfdrive/ca...
A shitload of hacks and workarounds that make the system work on dozens of cars:
https://github.com/commaai/openpilot/tree/devel/selfdrive/car https://github.com/commaai/openpilot/tree/devel/selfdrive/ca...
Saving state on devices that arbitrary drop successful file writes when the battery dies.
https://github.com/commaai/openpilot/blob/devel/common/params.py https://github.com/commaai/openpilot/blob/devel/common/param...
- choppaface 7y agoThe value is definitely in the platform-relevant hacks. Stuff like this makes the reader think the authors have never seen a basic transactional database before: https://github.com/commaai/openpilot/blob/devel/common/params.py https://github.com/commaai/openpilot/blob/devel/common/param...