Commit Graph

301 Commits

Author SHA1 Message Date
Adeeb Shihadeh 9bb7eba2d3
bump submodules (#29272) 2023-08-07 19:09:41 -07:00
Adeeb Shihadeh 39ce23420c
pre-commit: autoupdate hooks (#29198)
* Update pre-commit hook versions

* fix

* bump submodules

* one more

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-01 12:32:21 -07:00
Adeeb Shihadeh 1945c356c2
agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a27.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh 9c307f2550 Revert "Update pycapnp and Cython (#29021)"
This reverts commit 76ef1b9b9f.
2023-07-18 18:47:35 -07:00
Maxime Desroches 76ef1b9b9f
Update pycapnp and Cython (#29021)
* cython + pycapnp

* from_bytes with context

* poetry lock

* limit numpy

* force build

* Revert "force build"

This reverts commit 8c7cb00421.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-18 16:40:36 -07:00
Shane Smiskol fccd334dc9
Revert "CANPacker: assert no undefined signals (#28942)" (#29013)
This reverts commit 13371b07a2.
2023-07-17 22:41:38 -07:00
Cameron Clough ab4f3fbf8d
bump opendbc 2023-07-14 16:49:25 +01:00
Shane Smiskol 13371b07a2
CANPacker: assert no undefined signals (#28942)
bump-opendbc-5
2023-07-14 05:08:11 -07:00
Shane Smiskol feaf3a3d91
bump opendbc (#28933) 2023-07-14 00:11:54 -07:00
Justin Newberry b69d18ea32
bump opendbc (#28909) 2023-07-12 19:18:05 -07:00
Shane Smiskol 792a321a9d
bump submodules (#28834)
* bump submodules

* bumppanda
2023-07-07 01:55:00 -07:00
Shane Smiskol 938a8ea695
bump opendbc (#28828)
bumpopendbc
2023-07-06 14:04:52 -07:00
Shane Smiskol b7bd12135c
bump opendbc (#28818)
* bump opendbc

* rename
2023-07-05 20:39:03 -07:00
Shane Smiskol ce7141383b
CAN Parser: assert no missing signals (#28763)
* bump opendbc

* bump

* remove undefined signal
2023-07-01 02:55:35 -07:00
Irene Cheng Chi 155e0222d0
Toyota: Fix LDA message signal name, length, and description (#28755)
* bump opendbc

* LDA_SPEED_TOO_LOW -> LDA_MESSAGES

* bump opendbc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-06-30 13:43:42 -07:00
Justin Newberry 803c077dc1
Subaru: Signals Cleanup (#28602)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-23 21:24:27 +01:00
Cameron Clough e3233cdaf2
bump opendbc 2023-06-21 15:59:25 +01:00
martinl 5cb9360fa0
Subaru: log stock AEB (#28052)
* Subaru: log stock AEB

* Remove stockFcw from stockAeb

* Subaru: Add FCW_Cont_Beep to stockFcw signals

* add ES_Brake

* use actuation bit

* bump opendbc

* remove aeb from UI

fix

* Update selfdrive/car/subaru/carstate.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-06-16 22:48:09 -07:00
Jafar Al-Gharaibeh 354b5be9c3
Mazda: Fix BSM detection with blinkers (#27919)
* Mazda: Fix BSM detection

Submitted-by: Samuel <samuel95_54@hotmail.com>
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* bump opendbc

* use new signals

---------

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-06-15 20:50:21 -07:00
Shane Smiskol f1bf4f903f
bump opendbc (#28556)
bump
2023-06-15 04:04:48 -07:00
vanillagorillaa 90e0c61664
Nissan: use generated DBCs (#28307)
* nissan dbc update

* bump

* for release build

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-29 23:01:30 -07:00
Adeeb Shihadeh 3f61537d1b
Hyundai CAN FD DBC update (#28322) 2023-05-27 16:50:34 -07:00
Adeeb Shihadeh 86dd0923d4
bump opendbc (#28006) 2023-04-24 13:52:35 -07:00
Adeeb Shihadeh bf86f41575 bump opendbc 2023-04-21 13:12:47 -07:00
Shane Smiskol 8064de805b
bump opendbc (#27944) 2023-04-17 17:13:04 -07:00
Adeeb Shihadeh fd50713c2d
CI: add job to update pre-commit hooks (#27922)
* CI: add job to update pre-commit hooks

* rm push
2023-04-15 18:08:26 -07:00
royjr 882a2adc8b
Honda Bosch Radarless: check cruise faults (#27814)
* add signal checks

* add radarless

* not yet

* nestless

* append instead

* bump

* match check above

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-14 02:56:10 -07:00
Adeeb Shihadeh 10ad276827 bump opendbc 2023-04-13 21:54:02 -07:00
Shane Smiskol 08b143997b
bump opendbc (#27828) 2023-04-07 00:30:52 -07:00
Dean Lee a036430390
cabana: static link to opendbc (#27409)
* static link to opendbc

* bump opendbc

* cleanup

* bump opendbc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-01 16:29:06 -07:00
Jason Young 9ecf3e7c32
VW PQ: Message corrections for ACC_GRA_Anzeige (#27572)
* VW PQ: Correct message name for ACC_GRA_Anzeige

* bump opendbc
2023-03-13 14:28:45 -07:00
Shane Smiskol 6474e16a72
GM: add permanent ACC fault signal (#27306)
* bump opendbc

* check signal

* bump opendbc
2023-02-11 00:12:33 -08:00
Shane Smiskol c05aa0e871
Chrysler: log temporary LKAS faults (#27303)
* Log temp lkas faults for non-ram

* bump to master

* add to signals

* whoops

* ... come onnnnn
2023-02-10 16:32:21 -08:00
Shane Smiskol d096ec1329
bump opendbc (#27253) 2023-02-08 15:18:27 -08:00
Cameron Clough b1e744987f
Ford: add Lincoln Aviator 2021 to Ford Explorer platform (#27095)
* add Lincoln Aviator 2021 to Ford Explorer platform

Based on the Ford Explorer, the Aviator has very similar firmware
versions. Add these to the Explorer platform and create a new CarInfo
for the Aviator.

f0709d2bc6ca451f|2022-12-10--12-36-59--0

VIN: 5LM5J7XC8MGL09541

* Ford: new gear shifter signal to support Aviator

* probably don't need these

* don't need to pass None here, it defaults to None

* will rename in DBC

* bump opendbc

* bump process replay ref
2023-02-02 22:00:49 -08:00
Harald Schäfer 8b4c5631a4
Ev6 upper jerk limit (#26868) 2023-01-02 22:25:39 -08:00
Shane Smiskol 72bf819ef0
HKG CAN-FD: log brake errors/ACC faults (#26781)
* log brake_error

* bumpopendbc

* add signal to can parser
2022-12-12 23:41:29 -08:00
Jason Shuler 2f83b9872f
GM: add checksum to button message (#26014)
* Add GM button msg checksum

* checksum that works for both, fix missing bit

* bump opendbc

* update comment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-12-12 17:26:30 -08:00
Adeeb Shihadeh c9b8f6457e
EV6 blinkers (#26618)
* right blink

* left blink

* rm debug

* just the support code

* revert panda

* behind flag
2022-12-11 14:19:53 -08:00
Shane Smiskol d3a66015ad
Toyota: log EPS fault from LKA cmd message drop out (#26687)
* log additional faults

* bump opendbc
2022-12-03 02:05:24 -08:00
Adeeb Shihadeh c210640b7c bump opendbc 2022-12-01 14:21:57 -08:00
Jason Wen 1adf106da6
HKG: Car Port for Kia Sorento Plug-in Hybrid 2022 (#26635)
* HKG: Car Port for Kia Sorento Plug-in Hybrid 2022

* Add torque params

* Typo

* This car has SCC on bus 4, needs radar disable to use openpilot longitudinal :/

* Need to check on bus 4 as well

* Different unit signal

* Unit signal cleanup

* Add test route

* Regenerate car docs

* Different logic

* 2023 should be the same

* Fix 0x1a0 check race condition

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-12-01 14:11:12 -08:00
Shane Smiskol 9fdbe9f397
GM Cam: log when cruise not adaptive (#26581)
* bump opendbc

* log when nonAdaptive

* Update ref_commit
2022-11-22 15:18:10 -08:00
Shane Smiskol e634afb719
GM: fix fault while moving backwards (#26333)
* log signed speed

* bump to master

* need this

* fix

* fix...

* see if this works

* just fault fix (no logging or standstill. tho revisit standstill)

* move

* Revert "move"

This reverts commit c564e74666.
2022-11-02 17:55:53 -07:00
Adeeb Shihadeh b727f6cff4
EV6 long tuning (#26166)
* some matching and jerk limit

* update that

* one jerk limit

* little more

* more jerk

* bump opendbc

* update refs
2022-10-31 08:37:05 -07:00
Adeeb Shihadeh 5ae2131424
bump opendbc (#26277) 2022-10-28 17:26:25 -07:00
Adeeb Shihadeh 339253bc05
Hyundai: CAN-FD blindspot signals (#26229)
* Hyundai: CAN-FD blindspot signals

* fix that

* update refs
2022-10-25 13:51:23 -07:00
Adeeb Shihadeh c35e2b8e30
Hyundai: common CAN-FD brake pressed signal (#26170)
* Hyundai: common CAN-FD brake pressed signal

* new name

* bump panda

* bump opendbc to master

* bump opendbc

* bump panda

* bump panda

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-20 19:55:04 -07:00
Shane Smiskol dcd804e2bf bump opendbc 2022-10-17 22:47:54 -07:00
Dean Lee 12058c21c7
cabana: load dbc from paste (#26098) 2022-10-17 21:44:56 -07:00
Jason Young bb61081b70
VW MQB: DBC updates and cleanup (#26053)
* VW MQB: DBC updates and cleanup

* bump opendbc after merge
2022-10-12 17:46:26 -07:00
Shane Smiskol 967f0cc9f8 bump opendbc 2022-10-12 13:05:09 -07:00
Shane Smiskol c719b3b7dd
HKG CAN-FD: log temporary steering faults (#26031)
* log hkg can-fd temporary steering faults

* bump to master
2022-10-10 23:24:14 -07:00
Cameron Clough e66a70b9e9
bump opendbc 2022-10-06 14:15:36 -07:00
Greg Hogan 5352006cbd
hyundai: fix FCA11 checksum and counter (#25027)
* hyundai: fix FCA11 checksum and counter

* update refs and comment about alt DBC definition we do not support
2022-10-03 19:19:39 -07:00
Adeeb Shihadeh 051fa5bea4 hyundai: update mando radar dbc path 2022-09-21 21:41:17 -07:00
Adeeb Shihadeh 76ead92f63 bump opendbc 2022-09-07 20:38:24 -07:00
Shane Smiskol 80533d6c03
Toyota: match dash set speed (#25649)
* toyota: match set speed from dash

* Use unit bit

* Use RSA2

* flip this

* Universal unit signal, set vEgoCluster

* remove this and bump opendbc

* detect if car interface sets cluster fields

* revert

* needs to be cp

* UI_SPEED is actually always in kph?

* forgot to actually convert it

* same in onroad

* try conv factor only for imperial

* Seems like UI_SPEED is not the UI speed at all

* the dash might floor it

* same openpilot behavior

* bump

* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg

* remove test, bump opendbc

* secret formula

* secret formula v2

* 1.03 is sufficient

* try short press

* bump opendbc

* surely this can be cleaned up

surely this can be cleaned up

* use filter

* redo factors

* try UI_SPEED again with a factor

try UI_SPEED again with a factor

* dash applies hysteresis to speed. this matches pretty well, but not exactly

* match only set speed

* clean up

* clean up

clean up

* Update ref_commit

* update refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-09-05 13:57:07 -07:00
Adeeb Shihadeh 6590fb2b93
pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
Cameron Clough f3be0b5873
ford: passthru mystery signals (#25575)
* ford: passthru mystery signals

* simple

* types

* bump opendbc

* bump opendbc
2022-08-29 19:11:53 -07:00
Shane Smiskol 3640922f85
Show CAN error if message counters are invalid (#25497)
* counter check affects can valid

* Apply suggestions from code review

* bump to master
2022-08-19 19:27:16 -07:00
Adeeb Shihadeh 090e92bb69
Hyundai: common CAN-FD gear signal (#25498)
* Hyundai: common CAN-FD gear signal

* bump opendbc
2022-08-19 16:12:16 -07:00
Shane Smiskol e5bb55ccd6
Toyota: remove STEERING_LKA frequency check (#25490)
* remove STEERING_LKA frequency check

* bump to master

* Update ref_commit
2022-08-18 22:23:39 -07:00
Adeeb Shihadeh 858eea9163
Hyundai: add HDA1 signals (#25484)
* Hyundai: add HDA1 signals

* bump

* bump to master
2022-08-18 17:52:09 -07:00
Adeeb Shihadeh 17992f29c8 bump opendbc 2022-08-18 16:40:16 -07:00
Shane Smiskol f341df006a
GM: move set speed scaling to DBC (#25422)
* Move scaling into DBC for GM cruise setpoint

* bump opendbc

* no int

* Update refs

* Update ref_commit
2022-08-15 02:13:09 -07:00
Adeeb Shihadeh 887e53ff1b bump opendbc 2022-08-08 19:10:27 -07:00
martinl 811365800c
Subaru: Add ES_Distance Cruise_Soft_Disable (#24474)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-31 19:33:27 -07:00
Adeeb Shihadeh 7fee45ad6c
Subaru: log EPS torque (#25304)
* Subaru: log EPS torque

* update refs
2022-07-28 16:42:42 -07:00
Igor Biletskyy 7700a6c1e6
body: bump opendbc (#25289) 2022-07-26 14:59:51 -07:00
Adeeb Shihadeh 49bd53549d
Chrysler: increase steering angle resolution (#25278) 2022-07-25 14:46:21 -07:00
Adeeb Shihadeh 0ca62bf7df
let can packer handle counter (#25240)
* let can packer handle counter

* diff is expected

* update refs

* clean that up

* bump opendbc

* fix sim
2022-07-21 20:54:53 -07:00
Adeeb Shihadeh 5f021ac1d6
Subaru: use CANPacker for counter (#25216)
* Subaru: use CANPacker for counter

* bump opendbc

* bump panda
2022-07-19 17:21:07 -07:00
Adeeb Shihadeh 44c6ca7eb4
EV6: reject fake cruise engagements (#25143)
* EV6: reject fake cruise engagements

* bump panda

* raise to 8

* update refs

* bump panda

Co-authored-by: Comma Device <device@comma.ai>
2022-07-12 18:23:48 -07:00
Adeeb Shihadeh d08a231774
Ship EV6 (#25095)
* Ship EV6

* bump opendbc
2022-07-08 22:46:20 -07:00
Adeeb Shihadeh f261b8a8c2
EV6: supress LFA (#25094)
* EV6: supress LFA

* bump panda
2022-07-08 22:09:37 -07:00
Adeeb Shihadeh 59c28611a4 bump opendbc 2022-07-05 23:01:57 -07:00
Adeeb Shihadeh 88a30004e0
Chrysler: prep for Ram port (#25040)
* Chrysler: prep for Ram port

* bump opendbc

* opendbc master

* bump panda
2022-07-05 16:40:47 -07:00
Willem Melching 735387d5ee bump opendbc 2022-07-04 13:57:25 +02:00
realfast 38ff2982eb
Chrysler: carState signals update (#24760)
* carstate update

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-30 17:27:35 -07:00
Shane Smiskol 75f5282e83
Chrysler: fix steering angle signals (#24926)
* Chrysler_Update

* only steering

* revert other changes for now

only steering

* bump

* Update ref_commit

* bump opendbc

* update refs

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-28 14:19:17 -07:00
Adeeb Shihadeh 569a39ff76
CANParser: invalid until valid (#24945)
* CANParser: invalid until valid

* bump opendbc

* bump opendbc

* fix counter in sim
2022-06-22 15:38:38 -07:00
Shane Smiskol fb949779ae
Chrysler: fill cruiseState.available (#24907)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-22 15:13:09 -07:00
Adeeb Shihadeh 28431f7ddd Revert "Chrysler: use unified signal definitions (#24895)"
This reverts commit 0f0b4cac89.
2022-06-19 14:07:19 -07:00
Shane Smiskol 0f0b4cac89
Chrysler: use unified signal definitions (#24895)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-18 17:15:45 -07:00
Shane Smiskol 1b0167ce24
Chrysler: use universal gas and brake signals (#24886)
* Chrysler_Update

* Update signal names

* bump panda

* bump submodules

* bump panda to master

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-16 22:34:07 -07:00
Shane Smiskol a9038bc3fd
bump opendbc (#24853) 2022-06-13 22:27:44 -07:00
Shane Smiskol e375087720
Honda carcontroller and signal cleanup (#24806)
* common signals

* move stopping

* space

* clean up

* bump opendbc
2022-06-11 00:14:58 -07:00
Shane Smiskol 60aa553b8c
Honda: use common imperial unit message (#24786)
* CAR_SPEED should be on all cars

* bump opendbc

* clean this up too

* it's an or

* clean up

* comment
2022-06-09 20:56:05 -07:00
Shane Smiskol 19af336f89
bump opendbc (#24790) 2022-06-08 21:07:49 -07:00
Adeeb Shihadeh 53a134f1c3
Kia EV6 (#24485)
* ev6 squash

* test route

* cleanup

* remove those

* resume spam

* setme

* more reliable button pressing

* new steer signals

* for now

* update docs
2022-05-23 19:16:17 -07:00
Adeeb Shihadeh 285bbe5283 bump opendbc 2022-05-19 00:45:04 -07:00
Adeeb Shihadeh e4f844cdd8 bump opendbc 2022-05-16 22:00:37 -07:00
Adeeb Shihadeh 59319759dd bump opendbc 2022-05-15 18:43:57 -07:00
Shane Smiskol 8572c6aee6
Update body test route (#24532)
* update body test route

* Revert "update body test route"

This reverts commit 7b918cb48b.

* bump opendbc

* Revert "Revert "update body test route""

This reverts commit d27276b834.
2022-05-13 19:33:46 -07:00
Shane Smiskol 11e1ad3e3f
bump opendbc and remove common file (#24529)
* bump and remove file

* bump opendbc to master
2022-05-13 15:32:09 -07:00
Willem Melching 6b0440f9c9
dbc regex, do not escape underscore (#24522)
* dbc regex, do not escape underscore

* bump opendbc
2022-05-13 13:53:38 +02:00
Shane Smiskol f9e2e82400
Dynamically parse DBCs (#24455)
* test commit

* bump

* bump

* doesn't work

* bump

* bump

* bump

* no more of these files

* bump

* bump opendbc

* bump

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* remove dbc_out

* bump opendbc to master

* bump opendbc
2022-05-12 21:19:33 -07:00
Adeeb Shihadeh 685802b860
test car models: stricter radar CAN error check (#24497)
* test routes: stricter radar CAN error check

* bump opendbc

* bump again
2022-05-11 16:30:26 -07:00
Shane Smiskol 75efad52ea
Chrysler: add ACC fault signal (#24398)
* add accFaulted event for Chrysler

* add the signal

* no class variables

* available when not 1

* revert

* bump opendbc to master

* if not 0
2022-05-07 01:00:43 -07:00