Commit Graph

325 Commits

Author SHA1 Message Date
infiniteCable2
f76da9eeec Merge branch 'master' of https://github.com/sunnypilot/panda 2025-11-16 13:54:29 +01:00
Jason Wen
5dc009be50 Merge branch 'upstream/panda/master' into sync-20251114 2025-11-16 02:40:37 -05:00
infiniteCable2
df8221737a Merge branch 'master' of https://github.com/sunnypilot/panda 2025-09-15 16:48:56 +02:00
Jason Wen
69ab12ee2a panda: fix upstream merge conflicts (#97) 2025-09-14 23:39:26 -04:00
infiniteCable2
2a70b09fb9 Merge branch 'master' of https://github.com/sunnypilot/panda 2025-09-14 16:55:57 +02:00
probablyanasian
a2064b86f3 Change fan to use pure pwm (#2267)
* set cuatro fan settings

* set cuatro to use pure pwm

* use pwm on all boards

* remove fan max rpm configs, use pure pwm

* add comment about cooldown

* change max rpm in python side

* remove reference to max_fan_pwm in fan.h

* fully refactor fan configs into "has_fan"

* increase limits on fan test to 15% either way

* only tres for now

* doesn't matter

* not relevant anymore

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-09-13 11:09:51 -07:00
Adeeb Shihadeh
7973ba4492 CAN driver cleanup (#2276)
* it's all the same thing

* not live

* less macro

* lil more

* bool

* lil more
2025-09-10 20:00:41 -07:00
Adeeb Shihadeh
2301c25dd2 cleanup panda connect (#2274)
* remove bcd

* fix jungle

* why fallback??

* cleanup
2025-09-10 10:23:58 -07:00
Jason Wen
39517742e6 Merge branch 'upstream/panda/master' into sync-20250908
# Conflicts:
#	python/__init__.py
2025-09-08 00:31:55 -04:00
Adeeb Shihadeh
5c1ff7bfa3 optimize CAN send over SPI (#2266)
* profiling

* lil faster

* chunking happens later

* little better

* prealloc is no bueno?

* cleanup

* fix usb tests

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-09-02 19:26:52 -07:00
Adeeb Shihadeh
819fa5854e flashing speeeed (#2264)
* less sectors

* why are we taking baby steps

* revert

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-08-31 16:47:03 -07:00
Adeeb Shihadeh
e5a39a2cef misc cleanup (#2261)
* cleanup

* fix jungle

* one more
2025-08-26 15:01:22 -07:00
Adeeb Shihadeh
1ce986f75c bye bye f4 (#2259)
* bye bye f4

* lil more

* fix mac build

* update health idx
2025-08-26 12:37:36 -07:00
infiniteCable2
14588e9129 Merge branch 'master' of https://github.com/sunnypilot/panda 2025-08-11 16:12:47 +02:00
Jason Wen
0e7a3fd8cf Revert deprecated pandas from Python side (#92)
* Revert deprecated pandas from Python side

* lint pls

* aight
2025-08-09 23:07:41 -04:00
Jason Wen
f0b55e25c8 Merge branch 'upstream/panda/master' into sync-20250809 2025-08-09 17:00:44 -04:00
Jason Wen
4ca0e4f485 Revert "Allow skipping flash and firmware checks if deprecated panda is detec…" (#90)
This reverts commit ba4774c103.
2025-08-09 00:45:40 -04:00
Adeeb Shihadeh
5b0f1a2eca Panda.list() optimization for comma three (#2255)
Co-authored-by: Comma Device <device@comma.ai>
2025-08-04 16:32:30 -07:00
Jason Wen
ba4774c103 Allow skipping flash and firmware checks if deprecated panda is detected (#89)
* flash: skip if deprecated panda is detected

* fix
2025-08-04 00:40:40 -04:00
infiniteCable2
43145c98bf Merge branch 'master' of https://github.com/sunnypilot/panda into master-new 2025-08-03 19:12:14 +02:00
Willem Melching
911def65ed Keep supporting White/Black pandas from Python side (#2252)
Support White/Black pandas from Python
2025-08-03 09:22:08 -07:00
Jason Wen
2f42800648 Merge branch 'upstream/panda/master' into sync-20250731
# Conflicts:
#	pyproject.toml
#	python/__init__.py
2025-07-31 21:28:55 -04:00
Adeeb Shihadeh
a0b52ed254 a few more spi error counts 2025-07-30 18:27:56 -07:00
Adeeb Shihadeh
5ac6305a95 quick garbage collection pass (#2231)
* remove DPANDA

* -22

* lil more

* canfd

* lil more

* update cppcheck

* uart cleanup

* always harness

* sbu sense

* lil more

* enable spi

* rm ENABLE_SPI
2025-07-19 21:05:12 -07:00
Adeeb Shihadeh
76bd9e93d7 make jenkins green again (#2230)
* just make it green

* fix resetter

* fix perms

* better caching

* just copy

* simplify more

* fix that up

* nope
2025-07-19 15:49:41 -07:00
infiniteCable2
8cd3cfbab4 Merge branch 'master-new' of https://github.com/sunnypilot/panda into master-new 2025-06-06 19:39:59 +02:00
Jason Wen
c52400dacd Merge branch 'upstream/panda/master' into sync-20250605 2025-06-05 21:43:36 -04:00
Maxime Desroches
e462c34d3d endpoint to set TIM1 period and channel pulse length (#2222)
works
2025-06-03 18:37:28 -07:00
infiniteCable2
f21951555e Merge branch 'master-new' of https://github.com/sunnypilot/panda into master-new 2025-06-03 19:17:37 +02:00
DevTekVE
a68b8ca4f9 Merge branch 'master-4f227f88c827d02188763d676aab941401be8212' into sync-20250531
# Conflicts:
#	pyproject.toml
2025-05-31 12:37:09 +02:00
Maxime Desroches
b4bb4e8519 cuatro: test in CI (#2218)
hitl
2025-05-27 13:04:48 -07:00
infiniteCable2
51df7bab85 Update __init__.py 2025-04-06 15:10:56 +02:00
infiniteCable2
86a33ebe30 upstream 2025-04-06 15:09:48 +02:00
infiniteCable2
1d1daaf7b6 Merge branch 'master-new' of https://github.com/sunnypilot/panda into master-new 2025-04-06 15:07:38 +02:00
Jason Wen
ccb9581b1c Car safety: custom safety params (#75)
* init

* use latest opendbc pr ref
2025-03-15 17:19:30 -04:00
DevTekVE
5389b01bdb Merge branch 'master-upstream-1d5b89956b32bbda2940724ce70c5166e44668c5' into sync-20250309
# Conflicts:
#	tests/safety_replay/replay_drive.py
2025-03-09 14:36:40 +01:00
DevTekVE
d688a4b0dd Merge branch 'master-ref-sync-20250228' into sync-20250228
# Conflicts:
#	.github/workflows/test.yaml
#	Dockerfile
#	board/safety.h
#	board/safety/safety_chrysler.h
#	board/safety/safety_ford.h
#	board/safety/safety_gm.h
#	board/safety/safety_honda.h
#	board/safety/safety_hyundai.h
#	board/safety/safety_hyundai_canfd.h
#	board/safety/safety_hyundai_common.h
#	board/safety/safety_mazda.h
#	board/safety/safety_nissan.h
#	board/safety/safety_subaru.h
#	board/safety/safety_subaru_preglobal.h
#	board/safety/safety_toyota.h
#	tests/libpanda/safety_helpers.h
#	tests/libpanda/safety_helpers.py
#	tests/safety/common.py
#	tests/safety/hyundai_common.py
#	tests/safety/mutation.sh
#	tests/safety/test_chrysler.py
#	tests/safety/test_ford.py
#	tests/safety/test_honda.py
#	tests/safety/test_hyundai.py
#	tests/safety/test_hyundai_canfd.py
#	tests/safety/test_nissan.py
#	tests/safety/test_subaru.py
#	tests/safety/test_toyota.py
#	tests/safety_replay/replay_drive.py
2025-02-28 17:56:53 +01:00
Dean Lee
2c802449fd add set_alternative_experience method to Panda class (#2168) 2025-02-27 11:13:43 -08:00
Willem Melching
a744fa7780 Move isotp.py, ccp.py and xcp.py to opendbc (#2166)
* Move ccp.py and xcp.py to opendbc

* move isotp

* more cleanup
2025-02-26 10:41:16 -08:00
Shane Smiskol
66bd9e8f25 Change safety model imports (#2158)
* fix test_pandad

* fix all the imports
2025-02-21 17:36:23 -08:00
Jason Wen
2d4a76f227 Merge branch 'upstream/panda/master' into sync-20250215
# Conflicts:
#	Dockerfile
#	python/__init__.py
#	tests/safety/test_nissan.py
2025-02-15 21:19:06 -05:00
Shane Smiskol
deeb4840dc Fix opendbc hitl test (#2147)
needs opendbc
2025-02-11 23:23:05 -08:00
Shane Smiskol
978ee19005 Missing Safety references (#2146)
* forgot these

* fix that
2025-02-11 21:03:10 -08:00
Shane Smiskol
d3508ff042 Move safety constants to opendbc (#2145)
* move to opendbc

* all passing

* do the rest

* fix

* and another

* order

* and update ref to master
2025-02-11 20:14:44 -08:00
Eric Brown
e7940cc3e9 Remove car specific flags (#2116)
* Subaru: combine panda flags

* Remove car-specific panda flags

* Rename usages in tests

* update opendbc ref

* ?

?

* fix ltl

* order

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2025-02-10 19:10:29 -08:00
Jason Wen
84836fd802 MADS: remove unused field in HEALTH_STRUCT (#68) 2025-01-20 01:37:39 -05:00
infiniteCable2
26d8562257 Merge branch 'master-new' of https://github.com/sunnypilot/panda into master-new 2025-01-07 16:17:36 +01:00
Jason Wen
4c9664f495 Merge branch 'upstream/master' into sync-20250107 2025-01-07 00:13:19 -05:00
infiniteCable2
1b07300e06 Update __init__.py add Volkswagen MEB 2024-12-27 14:34:27 +01:00
DevTekVE
31bd79ffbd Merge branch 'target-sync' into sync-20241219 2024-12-19 08:52:41 +01:00