66 Commits (c2a11fa34e204e9360ac78e0986d7db2bc053cc6)

Author SHA1 Message Date
Adeeb Shihadeh cb8885cffb
Merge common/ and selfdrive/common (#24556) 3 years ago
Shane Smiskol 4190d2608a
Change safetyParam to uint16_t (#24376) 3 years ago
Shane Smiskol 66dd8f934c
safety param: make uint16_t (#24362) 3 years ago
Shane Smiskol 6e62df65d7
Make safetyParam unsigned (#24160) 3 years ago
Shane Smiskol e91613bc62
update unsafeMode to alternativeExperience (#23995) 3 years ago
Gregor Kikelj 723560c20f
Remove void argument (#23928) 3 years ago
Igor Biletskyy 0b64ddb678
panda.cc: add panda deep sleep mode(#23911) 3 years ago
Willem Melching f2eb84eef0
handle usb error in reading panda state (#23686) 3 years ago
Igor Biletskyy 703efb9275
Panda: check libusb_open status (#23622) 3 years ago
Igor Biletskyy 285addeef2 Revert "boardd: new class USBDevice (#23015)" 3 years ago
Dean Lee 4061f50da3
boardd: new class USBDevice (#23015) 3 years ago
Adeeb Shihadeh a793b949be
boardd: add controls heartbeat (#23185) 3 years ago
Dean Lee 827fae8faa
panda: refactor can_send (#22981) 3 years ago
Igor Biletskyy e294e1620e
len_to_dlc make static (#23120) 3 years ago
Dean Lee 599c07e027
panda: refactor can_recv (#22977) 3 years ago
Igor Biletskyy 65ca9be82a
boardd: split usbprotocol unittest and fix paren order in data length assert (#23065) 3 years ago
Igor Biletskyy b2a018643f
Extra check for tail_size length (#23047) 3 years ago
George Hotz c6f62ebc4f Revert "boardd: be careful with paren order in assert" 3 years ago
George Hotz 50cd8588a2 boardd: be careful with paren order in assert 3 years ago
Dean Lee c77354009c
panda: add unit tests for usb protocol (pack/unpack) (#22955) 3 years ago
Igor Biletskyy edaf7d7604
fix chunk buffer size (#22969) 3 years ago
Dean Lee 57db99700c
panda: fix len_to_dlc always return 1 if len > 24 (#22964) 3 years ago
Dean Lee 841fb93def
boardd/can_recv_thread: improve caching for can_frame (#22944) 3 years ago
Igor Biletskyy 47d0d717eb
panda.cc: struct for CAN header, counter complexity, cleanup for readability (#22956) 3 years ago
Igor Biletskyy 04e1a25881
panda.cc: add functions to set can and data speed (#22920) 3 years ago
Adeeb Shihadeh 5ffb3e4347 boardd: apply bus offset in can recv 4 years ago
Igor Biletskyy e293ccf016
New usb protocol for panda (#22752) 4 years ago
Robbe Derks 585c16cd2a
Multipanda support (#22402) 4 years ago
Adeeb Shihadeh 2f1ab63920
boardd: reduce unnecessary allocations (#22494) 4 years ago
Willem Melching 43d9478740
boardd: fix context leak in init_usb_ctx (#22472) 4 years ago
Willem Melching f4e2537b12
Split pandaState into peripheralState and pandaState (#22385) 4 years ago
Dean Lee a077b8a566
panda: call libusb_free_device_list before libusb_exit (#22162) 4 years ago
Dean Lee c61e7c7898
Panda::list: remove call to libusb_release_interface (#22157) 4 years ago
Dean Lee 83cd67ddb5
panda: fix dev_list may be freed twice on failure (#22161) 4 years ago
Adeeb Shihadeh 0e3462e051
fix boardd reconnect loop (#22081) 4 years ago
Igor Biletskyy 603ad435be
add function to list connected pandas to panda.cc (#21989) 4 years ago
Igor Biletskyy fc56ae70ee
Add argument to Panda to connect by serial number (#21905) 4 years ago
Dean Lee e4e669bb0f
add space after function name and if statement (#21225) 4 years ago
Dean Lee 0495426535
Cleanup includes (#20925) 4 years ago
Adeeb Shihadeh e694f0b4d6
boardd: set can and pandaState valid flags (#20899) 4 years ago
Dean Lee 7222d0f20d
Cleanup selfdrive/ includes (#20822) 4 years ago
Adeeb Shihadeh 8a280fbb8e bump cereal 4 years ago
Willem Melching 34328ba305
Remove panda set power functions (#20712) 4 years ago
Adeeb Shihadeh dd74f09eab
turn pigeon off when going offroad (#20296) 4 years ago
Adeeb Shihadeh 312b681a46
cereal cleanup part 2 (#20092) 4 years ago
Adeeb Shihadeh 000bd226aa
Cereal cleanup (#20003) 4 years ago
Dean Lee edc2b3f67c
fix panda: remove uninitialized err and check after (#19974) 4 years ago
Dean Lee c723bbd6be
Panda: add check for connected in usb_read (#19957) 4 years ago
Dean Lee c4215d8476
Panda: refactor get_firmware_version, return std::optional<std::vector> (#19896) 4 years ago
Dean Lee 96cc633d91
panda: refactor get_serial, return std::optional<std::string> (#19895) 4 years ago