mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
734b6481b7
* generic car parts * better carparts * add part type * more tests * multiple enums * unit tests * just check isinstance * better name * remove _connector suffix * remove those hyundai lines * remove default arg * Revert "remove default arg" This reverts commit 139650a3b6b94358c3b9b12bb5fbe0a326d7abad. * cleaner code structure * use fingerprint * review * abstrac data class + common * no more dataclass * conflict --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> old-commit-hash: 9f5f8b603cf69b06c4804632268491cf38cfac7e
Port structure
interface.py
Generic interface to send and receive messages from CAN (controlsd uses this to communicate with car)
carcontroller.py
Builds CAN messages to send to car
carstate.py
Reads CAN from car and builds openpilot CarState message
values.py
Fingerprints and absolute limits
radar_interface.py
Radar interface