Shane Smiskol
59b4b2e6f8
test models: test vehicle speed ( #34727 )
...
* test vehicle speed
* clean up
* whoops
* ohhhhhh
* work
* clean up
* clean up
* all good
* fix
* shorter
* bump
* update refs
* bump to master
2025-02-28 02:35:58 -08:00
Shane Smiskol
d12370600e
Fix car interface test ( #34729 )
...
* bump
* bump opendbc
* bump
* bump to master
2025-02-28 02:26:46 -08:00
Shane Smiskol
5bde16fc0f
Rivian in release ( #34700 )
...
* bump
* bump
* fix
* bump
* fix footnotes
* bump
* docs
* add rivian to proc replay
* update
2025-02-24 22:09:22 -08:00
Kacper Rączy
66425a61c9
test_models: sort messages by time ( #34691 )
...
Sort messages by time in test_models
2025-02-23 13:14:18 -08:00
Shane Smiskol
ba236db20b
Move car safety modes to opendbc ( #34628 )
...
* bump
* fix test_models
2025-02-20 01:45:44 -08:00
Shane Smiskol
f3004c22ce
Rm all known cars ( #34624 )
...
* bump
* docs
* rm all_known_cars
* bump
* fix lint
2025-02-19 15:09:19 -08:00
Shane Smiskol
8e19185cee
Bump submodules ( #34616 )
...
* bump
* now libsafety
* skip rivian for now
2025-02-18 13:48:28 -08:00
Shane Smiskol
d6a0e49def
Move safety constants to opendbc ( #34573 )
...
* forgot these
* bump
* get these
* and flags
* fix
* bump
* test
* debug
* print sim thread errors
2025-02-11 21:48:20 -08:00
Shane Smiskol
8b67e04d7d
test_models: remove cereal ( #34547 )
...
rm more
2025-02-07 16:16:50 -08:00
Shane Smiskol
092685cae7
test_models: use opendbc CanData ( #34546 )
...
* replace with non-messaging CanData
* clean up
2025-02-07 15:55:52 -08:00
Shane Smiskol
65d7b86902
test_models: remove selfdrived dependency ( #34539 )
...
* remove selfdrived
* fully
* todo
* yay
* moremoremore
* clean up
* more
* don't care
* update refs
* bump to master
* no more selfdrived
* yup
* too complex
* Update selfdrive/car/tests/test_models.py
* Update selfdrive/car/tests/test_models.py
2025-02-06 19:17:01 -08:00
Shane Smiskol
151e5ba20f
test_models: remove Params
2025-02-06 18:55:07 -08:00
Shane Smiskol
951631e1ab
Remove brand-specific button logic from car_specific.py ( #34540 )
...
* yay
* moremoremore
* clean up
* more
* don't care
* update refs
* bump to master
2025-02-06 18:02:31 -08:00
Shane Smiskol
40863aa988
card: default events ( #34532 )
...
default events
2025-02-04 20:26:47 -08:00
Shane Smiskol
26f972b9f7
Bump opendbc ( #34525 )
...
* no debug param and new import
* bump
* bump to master
* and fix that
* oop
* bump to master
2025-02-03 21:05:23 -08:00
Robbe Derks
bf4e9170c5
Add Tesla to car_specific events ( #34493 )
2025-01-29 10:41:38 -08:00
Shane Smiskol
1d86afdf83
carName -> brand ( #34474 )
...
* bump
* brand
* body is lower
2025-01-25 01:39:06 -06:00
Calvin Park
5509850986
Install user SecOCKey to params ( #34401 )
...
* Install user SecOCKey to params
* Move it to launch_chffrplus.sh/launch
* Move it to card.py
* Basic error check
* Catch Exception to suppress the linter
* Make it local to secOC section
2025-01-18 11:25:07 -08:00
Shane Smiskol
37b4e61b00
Allow brake hold ( #34384 )
...
* allow brake hold
* rev
2025-01-16 14:22:02 -08:00
Shane Smiskol
69d33ac11d
Toyota: allow brake hold ( #34394 )
...
toyota okay
2025-01-15 15:03:22 -08:00
Shane Smiskol
2258ea310d
Hyundai: match cancel button panda safety logic ( #34390 )
...
* rising edge
* should work
* TODO
* fix
2025-01-14 21:37:55 -08:00
Shane Smiskol
38fad751cb
card: fix cruise speed initialization w/ buttons ( #34386 )
...
* fix initialize w/ buttons
* what
* comment
2025-01-14 19:58:22 -08:00
Shane Smiskol
b3fc407538
VW: switch to common pcmCruise check ( #34389 )
...
Update car_specific.py
2025-01-14 19:54:28 -08:00
Shane Smiskol
3d38b139bc
card: vcruise all in one place ( #34387 )
...
* no reason to not be here
* oh this was off by a frame!
* ref
2025-01-14 19:37:44 -08:00
Sammohana
8eebce75ac
Getting rid of openpilot.common.numpy_fast ( #34368 )
...
* Got rid openpilot.common.numpy_fast
* fixed some data type erros
* importing numpy instead of importing specific functions
* fixing some numpy importing mistakes
* Update selfdrive/car/cruise.py
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-01-14 14:52:56 -08:00
Jason Wen
a984903298
Hyundai: Allow controls with Sport and Manumatic Gears ( #34113 )
...
* Hyundai CAN: Explicitly parse gear shifter values for `EV, HEV, PHEV`
* for this pr
* more segments
* found 4.0!
* only print when spornt=4.0 is found
* new outputs
* bump opendbc
* Update selfdrive/car/car_specific.py
* delete notebook
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-12-16 16:51:04 -08:00
elkoled
334e06c04f
fix docs.py path references ( #34200 )
2024-12-10 11:01:49 -08:00
Shane Smiskol
8f71d53eb0
test_models: display failed rx msg address
2024-11-26 16:54:05 -08:00
Maxime Desroches
4979182a2e
ci: faster test_models ( #33956 )
...
* less
* timeout
* less
* merge
* debug
* debug
* try
* check now
* try this
* push
* fix
* CACHE
* test
* fix
* fix
* for now
* fix
* fix
2024-11-08 19:38:38 -08:00
Maxime Desroches
c995d5b9ae
ci: faster test_models ( #33941 )
...
* test
* try 4 runners
* try
* 100 for fun
* the fun is over
* try even less
2024-11-06 19:17:15 -08:00
Dean Lee
6fc14b5b93
selfdrive/debug: fix broken check_can_parser_performance.py ( #33908 )
...
* fix check_can_parser_performance.py
* no difference
* this too
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-11-01 16:35:39 -07:00
Shane Smiskol
2af9f68147
LogReader: more specific exceptions ( #33914 )
...
* more specific logreader exceptions
* huh
* fix
2024-11-01 15:59:46 -07:00
Dean Lee
ebe0dee2ee
card: remove unused CS_prev variable ( #33796 )
...
remove unused CS_prev variable
2024-10-15 14:03:11 -07:00
Shane Smiskol
85278520ed
test models: allow public routes ( #33740 )
...
* source doesn't matter
* this too
* and
2024-10-07 13:44:38 -07:00
Shane Smiskol
7556233cca
Reapply "move car.capnp to opendbc ( #33722 )" ( #33728 )
...
* Reapply "move car.capnp to opendbc" (#33725 )
This reverts commit 9d52a5b485 .
* why can't i repro?!
* Revert "why can't i repro?!"
This reverts commit 0435d218f790faf7b7aaed27d05ab9ee67b087e6.
* does this cause card to try and read it?
* better place
* wtf
* Reapply "why can't i repro?!"
This reverts commit d24fd5a0abf454f47d5591e3b39039fdc4d0251c.
* also here
2024-10-03 22:47:03 -07:00
Shane Smiskol
9d52a5b485
Revert "move car.capnp to opendbc" ( #33725 )
...
Revert "move car.capnp to opendbc (#33722 )"
This reverts commit 8149f7cb11 .
2024-10-03 16:57:45 -07:00
Shane Smiskol
8149f7cb11
move car.capnp to opendbc ( #33722 )
...
* move car.capnp to opendbc
* bump
* do card
* fix some more tests
* rm helpers
* format fp
* more
* whoops
* bump
* bump to master
2024-10-03 16:40:24 -07:00
Shane Smiskol
af774d894e
Deprecate car onroadEvents ( #33687 )
...
* new OnroadEvent struct
* and migrate python
* more forgotten
* re-index new OnroadEvent struct
* fix!
* more missing
* migrate onroadEvents
migrate onroadEvents
* migrate dm events
* hacks to get proc replay to say succeeded
* Revert "hacks to get proc replay to say succeeded"
This reverts commit 0bb8803e5755d606ae9f09da5395d9f50678c7c7.
* update refs
2024-10-03 15:20:58 -07:00
Shane Smiskol
aed1eaede5
Deprecate carState.events ( #33693 )
...
* add lkas bools
* switch these two over
* bump
* deprecate low speed lockout
* add lowSpeedAlert bool
bump
* GM vehicle speed is now signed!
* reimagine
* rm
* do event
* bump
* STASH
* comment
* bump
* no out!
* format
* move almost everything to selfdrived
* add back CC_prev for cruise initialization
* ok
* errors are passed to radarState as well as freq check
* deprecate!
* use selfdrived for test models events
* we only want noEntry from car events, not system, have to check pedalPressed
* no more events
* regen with buttonEvents set properly
* update refs
2024-10-02 21:32:56 -07:00
Shane Smiskol
6f0927011c
CarState: add low speed alert field ( #33712 )
...
* clean up mazda steer speed alert
* bump
2024-10-02 15:10:33 -07:00
Shane Smiskol
06f2ca1179
cars: generic interaction detection ( #33710 )
...
* works
* clean up
* bump
* clean up
* it used to consider an action hold down the button, so shouldn't only consider rising edge
* bump
2024-10-02 14:38:00 -07:00
Shane Smiskol
98e1d840de
CarState: add invalidLkasSetting ( #33700 )
...
* invalidLkasSetting
* clean up car specific a bit
* clean this up
* deprecate!
* bump
* this was just broken lol
* updaterefs
2024-10-01 23:06:57 -07:00
Shane Smiskol
9cbd34158f
GM: signed wheel speeds ( #33697 )
...
* signed wheel speeds
* clean up
* bump to master
* bump to master again
* did a sanity check for negative vego
* bump
2024-10-01 21:17:24 -07:00
Shane Smiskol
516aa59ee6
Deprecate lowSpeedLockout alert ( #33696 )
...
* is an accFault
* bump
* bump to master
* remove from car specific
2024-10-01 20:16:25 -07:00
Jason Young
17edc5f660
support for SecOC cars ( #33689 )
...
* bump opendbc
* support for SecOC cars
* missed this
* bump opendbc
* un-nest SecOC params
* gate saved key retrieval on IsReleaseBranch false
* bump opendbc
* bump opendbc
* bump opendbc to point of SecOC merge
* bump opendbc
2024-10-01 20:22:46 -04:00
Shane Smiskol
999c86e8a2
Remove VW steer time limit alert ( #33692 )
...
* rm
* remove argument
* and more
2024-10-01 17:17:09 -07:00
Jason Young
900c2c83bd
docs: car port info cleanup ( #33630 )
...
* GC, now duplicated and out of place
* typo fix
* link to official video with better slides
* expansion and cleanup
2024-09-23 16:39:36 -04:00
Shane Smiskol
5e024b775b
fix big cars test ( #33603 )
...
export and fix platforms
2024-09-19 18:08:40 -07:00
Shane Smiskol
5be53a39f0
Cruise speed: 0 is considered unset ( #33449 )
...
* give 10 frames of tolerance to reset -- WARNING: hacks inside
old-commit-hash: d72ac9e53d211074b059f049f8ebc89b9cff1c58
* comment
old-commit-hash: adf1ef88b692132c37d865fc973189fdf971464f
* more conventional
old-commit-hash: 552aa2c159fc535682d098425e827d8cb56911c1
* move
old-commit-hash: fe88ac0afc5aa7438d5b36908744124bc1cb68c9
* oh tf
old-commit-hash: 98d8659bd0f61dd512693807ea29d2f0c78f7514
* better
old-commit-hash: 5ddda806a008cc189758491f91a4a4d0aeb8d343
* this is fine 🔥
* INIT NOT UNINIT
* only vCruise changes here
* update refs
2024-09-16 15:47:59 -07:00
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
2024-09-06 17:16:32 -07:00