Commit Graph

815 Commits

Author SHA1 Message Date
Shane Smiskol b1b88811ed bump panda (#27768)
old-commit-hash: a1d01220e787b160f2be153e02c172c938a491e5
2023-03-31 12:15:59 -07:00
Shane Smiskol 4eba837382 bump panda (#27761)
old-commit-hash: 909ad5e285cdd8dfe68f76e0ae67eda20fcf782d
2023-03-31 00:10:41 -07:00
Adeeb Shihadeh 809a79121b tizi: add panda siren fault (#27738)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3df2e55bee3b72a9ec12dabc427b2908c16637a3
2023-03-29 16:31:35 -07:00
Vivek Aithal b6909a65e7 Bolt EUV: Non-linear torque function (#27696)
* add erf based ff

* silly bug; diff of nonlinear != nonlinear of diff

* add sigmoid based ff, ensure slope at 0 > 1

* reduce steer down limit and increase driver allowance

* rebase panda

* atry without friction, and with tanh nonlinear

* finalize the nonlinear function

* do not disable friction compensation in the ff

* bump panda

* bump panda

* update refs

* update refs

* resolve comments

* Add type hints

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 15b880c0ea6fb306e916a2ec015b5f03cec22b20
2023-03-29 15:10:39 -07:00
Shane Smiskol 276e0db0d5 bump panda (#27713)
old-commit-hash: e65bd1a7039d885e016cbc6ca5a5d2dd31d6979c
2023-03-28 00:21:08 -07:00
Adeeb Shihadeh 4bf6a4a47c bump panda
old-commit-hash: e0ac5a940e8a57d140478d11e66b3485cddee3ab
2023-03-21 11:25:36 -07:00
Shane Smiskol 1e9bbbd4c6 bump panda (#27612)
old-commit-hash: 2f95148a67bce42dc8ba9954d7bc87197e5adbd2
2023-03-16 23:16:11 -07:00
Adeeb Shihadeh aefe0b40ad bump panda
old-commit-hash: c2ec18cb715766a7d83276f13cf26f1a86283f78
2023-03-16 10:43:22 -07:00
Adeeb Shihadeh 7635cbd8f4 bump panda
old-commit-hash: 38eea8948469bcfdb5ea376e6507bc8f0074313c
2023-03-07 20:37:40 -08:00
Adeeb Shihadeh 9f378b4857 bump panda (#27510)
* bump panda

* fix mypy

* bump panda
old-commit-hash: 5326c14b433371861a0014675d833a4d3e6602bc
2023-03-07 16:17:23 -08:00
Shane Smiskol 23a7a9a040 bump panda (#27497)
old-commit-hash: 703f5e34ba783dba5369bf44caa95ed66a07855a
2023-03-04 02:18:03 -08:00
Robbe Derks f582107285 bump panda
old-commit-hash: c80bc583817991a47bdcb59cc9d88713b1322b88
2023-02-24 17:01:12 +01:00
Adeeb Shihadeh 5da2a5fa05 GM: revert steering limits update (#27413)
* Revert " GM: update steering limits (#27331)"

This reverts commit b8740c4d6c5bad5ac947d9eefeb38a5b47876ca3.

* update refs

* bump panda
old-commit-hash: 1504c10760627406ce26478bcb98957c64deafac
2023-02-21 15:48:10 -08:00
Adeeb Shihadeh 3d8bc65317 bump panda
old-commit-hash: bd469d7c54a0cf32b0d038e1d2e72b737071eb94
2023-02-20 13:33:06 -08:00
Vivek Aithal 474e072c02 GM: update steering limits (#27331)
* reduce steer down limit, driver allowance

* update refs

* update refs
old-commit-hash: 1cdf80003dcaea79375cf398ec65849424f2f44b
2023-02-14 13:22:49 -08:00
Adeeb Shihadeh caaa104d64 Chrysler: revert torque tuning (#27327)
* Chrysler: revert torque tuning

* update refs

* update refs + route
old-commit-hash: e3de6b88342f050edc0eb89d65b55de0fe2f1a8c
2023-02-13 16:15:59 -08:00
Adeeb Shihadeh 2b69047bbf bump panda
old-commit-hash: 69e52f02fd21844ff068c495b7fcb01ebc53bea5
2023-02-10 22:43:19 -08:00
Adeeb Shihadeh a2e9043170 Chrysler: setup panda safety flag for old tuning's steer limits
old-commit-hash: b1f84f94001e6c8de8bcedb72652831de01dcee4
2023-02-10 22:39:52 -08:00
Shane Smiskol 503fea8e12 GM: reduce steering message rate (#27201)
* Lower active rate and raise limits to compensate

* bump panda

* bump panda

* Update ref_commit

* bump panda to master
old-commit-hash: 86d86fa9dafc823a9cccd9c06ba995cd510d5535
2023-02-07 23:38:05 -08:00
Shane Smiskol 6d48082af8 Bump panda (#27249)
* bumppanda

* bumptomaster

* bumppandaagain
old-commit-hash: 4d05b5b02a706eac246c6f5b545ecfc7513a6525
2023-02-07 20:11:36 -08:00
Adeeb Shihadeh 848c9fc6b7 bump panda (#27136)
* bump panda

* bump
old-commit-hash: 7f853819767bb92488b9614b8a7b3e0210f9ecb5
2023-01-28 15:00:27 -08:00
Adeeb Shihadeh 7848166abf cleanup panda mcu definitions (#27104)
* cleanup panda mcu definitions

* cleanup panda mcu definitions

* bump

* panda master
old-commit-hash: 1d9b4c2248f2e4b575e37b6b134880086f1ba0b4
2023-01-26 21:05:39 -08:00
Adeeb Shihadeh 34e681f8d6 bump panda
old-commit-hash: dd2e44232cfc3028d19875e971c6feb036ae6890
2023-01-25 19:18:24 -08:00
Robbe Derks 802bc4e8e2 bump panda
old-commit-hash: 75f6dc385d86f587504ad2b8d676dcf5a3f40ddd
2023-01-24 14:10:31 +01:00
Adeeb Shihadeh 4098de2fea bump panda
old-commit-hash: 3018d1c8ff93c15edf37aa8ab8c745438133b200
2023-01-21 19:43:38 -08:00
Adeeb Shihadeh b798a92225 boardd: lock spi device (#26937)
* lock spi

* bump panda

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 11da83d2b58d26e876fe65e6bb2ec1013b7a5316
2023-01-15 13:52:16 -08:00
Robbe Derks f2cab9a00c No more magic for the can chunks (#26861)
* remove magic and add checksum

* add comms reset

* bump submodule
old-commit-hash: 3136985b950e79cf2943dafa2cea4db5ad0f528b
2023-01-13 15:01:55 -08:00
Shane Smiskol 2b6f575473 VW: match panda standstill check (#25761)
* test models: check panda standstill

* match panda

* reverse exception

* check == 0

* bumppanda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 29470d2d2d5f53d4b26a220192a08adbde5eeb5d
2023-01-10 22:28:54 -08:00
Adeeb Shihadeh 56191f26e3 bump panda
old-commit-hash: c4d2e8bcf4ce7187c92a4321e0ab2d99fa0791a6
2022-12-20 20:03:24 -08:00
Adeeb Shihadeh 5851f4963c bump panda
old-commit-hash: 1b9771528b8d6b2c14e486ecda938ee7c13d36da
2022-12-13 20:24:12 -08:00
Adeeb Shihadeh bc57172b36 Hyundai: setup alt steering limits (#26685)
* Hyundai: setup alt steering limits

* value

* bump panda
old-commit-hash: 122c3143589418b74dd6b658607ac5c8d43fb4af
2022-12-02 23:46:26 -08:00
Adeeb Shihadeh 70608dfd36 bump panda
old-commit-hash: dad438158ec60df10dc7e4b4fb8f225af190defd
2022-12-01 20:14:10 -08:00
Robbe Derks d00e7ee24b Simple CAN chunks (#25373)
* simple chunks

* more sizeofs

* fix unit tests

* bump panda

* bump panda

* don't fail for too little data

* bump panda

* bump panda

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fee6f2efacf41d2bd964754d0e5e193e18e16f16
2022-12-01 09:12:16 -08:00
Shane Smiskol 5f8b46eabe Build panda/SConscript (#26646)
* panda/SConscript

* think this is right?

* bump panda

* fix test_models

* use a filter

* bump panda to mater

* more aesthetic ordering

* alphabetical :(

* alphabetical :(
old-commit-hash: 01dac5d06bcd518e6c2daab8c41979b0553b73a6
2022-11-30 20:27:55 -08:00
Shane Smiskol 02b7ec98ae bump panda (#26637)
old-commit-hash: bea73943733a2a38a8cacd7de25d78b067460f2b
2022-11-30 00:08:55 -08:00
Adeeb Shihadeh a6f2f2d751 boardd: cleanup defs from panda (#26628)
* more stuff

* bump pnada
old-commit-hash: c3e3047080cdcfd5fbe275534fdf6980903aebdf
2022-11-29 16:05:46 -08:00
Jason Young 0d2373312e VW MQB: Redundant brake pressed signals (#26401)
* VW MQB: Redundant brake pressed signals

* retry CI

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 636ff5979fc19fe0a965fbceae214694c97c1e3d
2022-11-22 16:18:42 -08:00
Adeeb Shihadeh f4a6804517 bump panda
old-commit-hash: c0c94b4961e8e32c3f8dbcfed2b7d91c28000085
2022-11-21 20:32:23 -08:00
Adeeb Shihadeh 5bf27eff97 spi goes on boardd core
old-commit-hash: 4478241bea02cb673983aa6b97428702a54dd1c2
2022-11-21 17:17:36 -08:00
hoomoose e0e94e4c8c Hyundai: longitudinal support for all CAN-FD EV and Hybrids (#26345)
* Update values.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update values.py

* Update values.py

* Update interface.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* cleanup

* update docs

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9c5df76a6c8784af3bec64827a2dbab464d8ce39
2022-11-15 16:19:30 -08:00
Shane Smiskol 74d58ab0d6 GM: match stock enabling behavior (#26442)
* add first draft enable button timeout

* use allow_enable

* it doesn't count if brakePressed

* enable on rising edge of resume (matches stock)

* not today

* add comment describing the fault this avoids

* cleaner

* handle incrementing speed

* rename

* add test for not changing speed if enabled changes mid-press

* spacey

* ugh

* bumpo

* need this to fix a fault (draft)

* already have

* this should be cancel

* fine to do for all

* fine to do for all

* bump

* bumpo

* bump to master

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update ref_commit
old-commit-hash: 15383d30161de7646edf770153b0f81d15338c54
2022-11-13 21:13:46 -08:00
Shane Smiskol dc27f0de03 GM: handle run-away set speed (#26480)
* GM: Handle run-away set speed

* bumpo

* This is a test of both PRs combined

* tempbump

* Revert "tempbump"

This reverts commit b73e04fca25e6a1bac889e44afac6430d5ad7c30.

* Revert "This is a test of both PRs combined"

This reverts commit 22cc0e6900e0f0470f14ed55e7846e4b1d570826.

* fix

* bump

* fix that

* Bump to master

* fix fix
old-commit-hash: 65f494d845bbfa47293ad3158a68bc38c1b4dcff
2022-11-12 02:02:30 -08:00
Shane Smiskol 054cb1f8c1 Hyundai: fix button enable controls mismatch (#26471)
* bump panda

* buttonCancel needs to be a noEntry

* bompo

* Update ref_commit
old-commit-hash: 89b88fc7a23c393b1d74c5c74aacd5c4ee254d81
2022-11-11 14:49:38 -08:00
Shane Smiskol 54b089a56d GM Camera: use ECM brake pressed bit (#26400)
* GM camera: use ECM brake pressed bit

* bump panda and use more reliable bit

* bump panda

* back to ECMEngineStatus

* bump

* Update selfdrive/car/gm/carstate.py

* bump panda

* Update ref_commit
old-commit-hash: 191b8081b2a9f3f9db0131edd270e40166570cfa
2022-11-08 20:52:35 -08:00
Jason Wen 62990e317e HKG: Car Port for Genesis GV70 2022 (#26373)
* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update docs

* Update selfdrive/car/hyundai/values.py

* GV70 does radar SCC, separate them

* One more

* bump panda

* Gate 0x1A0 away from bus 6

* Can't leave out the OG

* EV6 non-HDA2 too?

* bump panda

* bump panda

* Check 0x1a0 based on param

* bump panda

* bump panda

* bit simpler

* fix bit op

* fixes

* bump panda to master

* cmt

* flip

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d62cdc400ce5f49b22ac42d5e9b74398e7c636b6
2022-11-07 23:03:36 -08:00
Shane Smiskol f36d799198 Hyundai: bump safety params (#26407)
* bump panda

* bump panda

* bump panda

* update refs

* bump panda

* bump panda
old-commit-hash: e971bb11c2170d8d6d66f430741d7234a77a0499
2022-11-07 22:14:47 -08:00
Jason Wen 1270e7fda9 Hyundai CAN-FD: support 2023 Kia Sportage & 2022 Hyundai Santa Cruz (#25434)
* Hyundai: Car Port for Santa Cruz 2022

* bump opendbc

* New struct and params for CAN-FD ICE models

* fixup! New struct and params for CAN-FD ICE models

* bump panda

* bump panda

* HKG: Car Port for Sportage 2023

* fixup! HKG: Car Port for Sportage 2023

* Kia Sportage 2023: Add FW versions

* Longitudinal Control: ICE CAN-FD models

* fixup! Longitudinal Control: ICE CAN-FD models

* bump panda

* fixup! Longitudinal Control: ICE CAN-FD models

* Update car info

* fixup! Longitudinal Control: ICE CAN-FD models

* Gate radar disable behind HDA2 only

* Gate radar disable behind camera SCC cars

* Update CARS.md

* Add FW versions for Santa Cruz 2021

* Test route for Kia Sportage 2023 (openpilot longitudinal enabled)

* Test route for Santa Cruz 2021 (openpilot longitudinal enabled)

* fixup! Kia Sportage 2023: Add FW versions

* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update car info

* Add torque param for GENESIS GV70 1ST GEN

* Fix CARS.md

* Update test route

* Remove unnecessary HDA2 checks

* Add additional FW versions for Sportage 2023

* Fix Kia Sportage supported MY

* Fix MISRA violation

* Fix release note

* Use IntFlag to gate camera SCC for CAN-FD

* Parse 0x1A0 on bus 4 dynamically

* bump panda

* Car code cleanup

* Typo

* Add additional 0x1A0 signals to bus 4

* Fix weird bitwise logic

* Check 0x1a0 after safety config is set

* Revert "Check 0x1a0 after safety config is set"

This reverts commit 141bbf79792bcde9cfadbc0680654acf61d8d16f.

* Check car list instead

* Add GV70 2022 test route

* Add fwdRadar FW version for GV70 2022

* Fix CARS.md

* Fix CARS.md

* Fix CARS.md

* new santa cruz route

* bump panda to commaai/panda#1031

* bumppanda

* some clean up

* lets refactor CAMERA_SCC_CAR in another pr

* minor clean up

* update docs!

* GV70 is a radar-SCC car :( (another PR)

* fix removed sportage hybrid versions

* update docs

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: e4342b5e169127cc17c659665e038b22eb995f23
2022-11-04 18:44:38 -07:00
Adeeb Shihadeh 9bf67df9cf bump panda (#26362)
old-commit-hash: 615198bfd09586a763955f13a27af9a84d5b997d
2022-11-04 12:46:06 -07:00
Igor Biletskyy bacfadca45 bump panda (#26334)
old-commit-hash: 21ac65da22dc8bce4ba88a520e8550829ea81ab6
2022-11-02 17:36:29 -07:00
Jason Young eb3d572add VW MQB: Fahrzeuglängsbeschleunigungssteuerungseinrichtung (#22963)
* can I kick it?

* bumpity bump bump

* bump panda

* everybody's gotta be special

* attempt at improving stopping/starting

* reduce lateral feedforward

* tweak gradient and comfort bands

* oops

* accel from the dept of redundancy dept

* bump opendbc

* jerk limiter not needed and causing problems

* don't leave stop/start flags hung when not enabled

* reduce comfort band with lead car

* borrow decel comp from HKG

* align stopping state thresholds

* (re)try letting PI clean up some of this

* bump panda

* tweaks and comments

* elide superfluous import

* VW MQB: Longitudinal prereqs

* gate this too

* bump CI

* cleanup

* more cleanup; require gateway integration

* don't run long state/actuators unless sending message

* setpoint visibility in instrument cluster

* show fixed lead car if lead visible

* hold my beer?

* tuning

* the code is darkest before the refactor

* a little more

* set freewheel and stop distance correctly

* rounding issue maybe?

* ACC_04 Charisma profiles and HUD alerts

* fix ACC_04 counter, fix gradient and accel bugs

* revert tuning change in upstream focused branch

* need 0.5m/s to leave

* reduced braking when not absolutely needed

* oops

* bump panda

* match opendbc to master

* filter ACC_13, disable secondary accel

* bump panda

* bump panda

* bump opendbc and panda

* startAccel is deprecated

* testing manual trans min engage speeds

* pass stock ACC type to TSK

* bump panda

* bump opendbc

* bump opendbc

* test hax for Brake alert

* remove ACC_13 with matching panda bump

* fix submodule refs

* update long control safety param name

* bump panda

* actuator delay corrected by Mk1 eyeball

* a little more

* tweak stop/start thresholds

* Revert "tweak stop/start thresholds"

This reverts commit 60abd57d2025c3218f069dbec4600c8d14033c05.

* more lag reduction

* bump opendbc

* support both analog and digital clusters

* tuning adjustments

* bump opendbc and panda

* accept two button types for resume

* support separate set and resume

* bump panda

* #24706

* partial revert 6b93ac27

* fixes

* one more

* refactor all the things

* follow experimental long refactor

* fill in ACC hud status

* temp force E2E availability

* start cleaning up

* comment touchup

* gimme some comfort baby

* experiment

* SnG me maybe?

* a little more rollout

* is this why I'm not leaving?

* turns out you need startAccel to leave

* try without ACC_04

* cleanup unused variables

* temp hack to standstill handling

* temp hack to button handling

* trim rollout distance with slower vEgoStopping

* ultra fat comfort band due to noisy E2E actuator

* I like big changes and I cannot lie

* remove lead car display for now

* cleanup, drives somewhat better

* partial FtS/basic support

* diff reduction

* not needed

* more cleanup

* oops

* more cleanup

* restore lead car visible for PQ

* bump panda

* better enable button solution

* redundant

* OP long on *all* the things

* OP long on all the things *sometimes*

* docs generator a little TOO clever

* solve starting-state a different way

* try that again

* bump panda

* oops

* follow DBC refactor

* retry CI

* signal name changed

* sync with custom enable button branch

* oops

* more follow refactor

* bump panda

* sync opendbc to master

* bump panda

* updated comments

* light P, no I

* bump panda

* bump panda again

* add openpilot long test_models route

* bump panda with replay route

* temporarily disable experimental long for merge

* bump panda to master

* resolve conflict?

* now can we go to head?

* explicit length check

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b31b0310444e83dc8e151767f57ee21f46f1515b
2022-11-01 10:00:26 -07:00