Commit Graph

8507 Commits

Author SHA1 Message Date
Jason Wen bb0fad232b MADS: better brake state handling - part 3 2023-02-01 17:26:52 -05:00
Jason Wen 4f35b842d2 MADS: better brake state handling - part 2 2023-02-01 06:39:47 -05:00
Jason Wen 79ad1395c0 Merge branch 'dev-pub/master' into dev-priv/master 2023-01-31 18:10:04 -05:00
Jason Wen 428dbb52e2 fix duplicate ordinal 2023-01-31 18:09:43 -05:00
Jason Wen d8d643fe43 MADS: block cruise engage event 2023-01-31 17:58:46 -05:00
Jason Wen 46a2f603ea Merge branch 'dev-pub/master' into dev-priv/master
# Conflicts:
#	common/params.cc
2023-01-31 01:06:02 -05:00
Jason Wen 4d0fb94161 import all params 2023-01-31 01:04:32 -05:00
Jason Wen d97e6df31a Merge branch 'dev-pub/master' into dev-priv/master 2023-01-31 00:41:14 -05:00
Jason Wen 93a4090476 MADS: add more event 2023-01-31 00:40:47 -05:00
Jason Wen b963b8edee MADS: show event when attempt to engage cruise while braking 2023-01-31 00:39:53 -05:00
Jason Wen 07205a5849 Merge branch 'new-logging' into dev-priv/master 2023-01-29 22:01:29 -05:00
Jason Wen ffa46a747b General: Sentry logging 2023-01-29 21:59:55 -05:00
Jason Wen 6a30c535b1 MADS: better brake state handling 2023-01-29 18:50:28 -05:00
Jason Wen e84a0326da MADS: Support all cars (#13)
* sunnypilot: MADS - Base + HKG

* fix upstream conflicts

* Don't miss this

* Missed it

* Don't initiate lane change when braking

* HKG: better cluster state

* HKG: only blink when disengaging lateral

* HKG: Optima's icons

* HKG: update vars and blink for CAN-FD

* HKG: don't get stuck

* obsolete

* remove this for now

* border color should sync

* change border color

* simplify things

* HKG: update events

* Honda: MADS

* HKG: cleanup

* Toyota: MADS

* Revert "remove this for now"

This reverts commit 76ddd435084e051ced9a343372900ced96180989.

* Revert "HKG: cleanup"

This reverts commit e1ab96c6f7634508b5f3820868d22f4694361622.

* Toyota: use the working one

* same colors

* block resume press if no previous set speed

* HKG: handle events better

* Honda: handle events better

* Toyota: handle events better

* Volkswagen MQB & PQ: MADS

* Subaru: MADS

* FCA: MADS

* add another argument for per port specifics

* GM: MADS

* Toyota: missed this

* Mazda: MADS

* Nissan: MADS

* have to use this

* pass events to the next

* move it around

* move some stuff around

* cleanup

* simplify and check if cruise is initialized with non PCM

* don't think we need this anymore

* Volkswagen: These 2 buttons don't get used

* check resume available differently

* check better

* simplify

* Mazda: missed one update check

* HKG: Move carstate logic to interface

* check from ret instead

* cruise state enabled spam bug

* check pcm

* set it earlier

* own cruise initialize check

* fixup! own cruise initialize check

* more inclusive

* HKG: redundant

* Honda: Move carstate logic to interface

* only check cruise speed when not PCM

* Toyota: Move carstate logic to interface

* fixup! HKG: Move carstate logic to interface

* fixup! Honda: Move carstate logic to interface

* fixup! Honda: Move carstate logic to interface

* Volkswagen: Move carstate logic to interface

* check if cruise has ever been enabled in state machine

* already exists

* just one more

* do not allow steering in certain situations

* Subaru: Move carstate logic to interface

* FCA: Move carstate logic to interface

* GM: Move carstate logic to interface

* Mazda: Move carstate logic to interface

* Nissan: Move carstate logic to interface

* HKG: move init

* declare at once

* cleanup variables

* prevent stuck engaged

* initialize for all cars

* slimmer

* no entry for brake press engage

* Revert "no entry for brake press engage"

This reverts commit 9e6e1ca5000c213017091765a0e50d2d794cebe9.

* Toyota: Change the logic

* Nissan: Cleanup carstate

* HKG: only disengage when cruise intially not available

* Revert "HKG: only disengage when cruise intially not available"

This reverts commit 123cce1818ea7285cbd433524c4f0e80e7c99cb4.

* allow press anytime

* cancel cruise when control wants to cancel

* remove some stuff

* wrong one

* can't do that

* would this fix it?
2023-01-29 15:27:49 -05:00
Jason Wen f874bf9cff Merge branch 'dev-pub/master' into dev-priv/master 2023-01-28 21:06:09 -05:00
Jason Wen eb7b3f5489 fix merge conflicts 2023-01-28 21:04:51 -05:00
Jason Wen 71a8b68d57 Merge branch 'dev-pub/master' into dev-priv/master
# Conflicts:
#	panda
2023-01-28 20:53:34 -05:00
Jason Wen 4f60a73471 Merge remote-tracking branch 'upstream/commaai/openpilot/master' into dev-pub/master
# Conflicts:
#	cereal
#	panda
2023-01-28 20:46:44 -05:00
Kurt Nistelberger 53ccec7697 Revert "add signs to glonass ksy"
This reverts commit aa71947ebc.
2023-01-28 16:48:26 -08:00
Kurt Nistelberger aa71947ebc add signs to glonass ksy 2023-01-28 16:47:26 -08:00
Adeeb Shihadeh 7f85381976 bump panda (#27136)
* bump panda

* bump
2023-01-28 15:00:27 -08:00
Willem Melching ba5c6715a8 cabana: fix crash when combining graphs on MacOS (#27128) 2023-01-28 12:06:04 -08:00
Willem Melching 68c0012bf6 cabana: DoubleValidator fix locale (#27129) 2023-01-28 12:05:51 -08:00
Dean Lee 07b32750c1 cabana: remove extra frame border in logs (#27133)
remove extra frame border
2023-01-28 12:03:59 -08:00
Vivek Aithal 8d447e8a08 [RAM 1500 5TH GEN] Disable Live Torque (#27121)
* revert ram on live torque

* update refs

* update refs
2023-01-27 15:20:59 -08:00
Shane Smiskol cb62a5397e process replay: add Ford Bronco Sport segment (#27112)
* Add Ford segment to process replay

* fix dashcam cars

* clean up

* fix NotImplementedError

* Update refs
2023-01-27 14:14:04 -08:00
Shane Smiskol 60f73657de Ford: set radarOffCan (#27120)
Fix
2023-01-27 13:44:37 -08:00
Shane Smiskol 4f25bd05f2 process replay: test routes in dashcam (#27118)
* fix routes with dashcam override param

* move to bottom
2023-01-27 13:06:33 -08:00
Dean Lee e1e0432317 cabana: display warning if failed to load dbc from clipboard (#27115)
display warning if failed to load from clipboard
2023-01-27 11:34:17 -08:00
Dean Lee f0078eafac cabana: set time column to fixed width (#27117)
improve column width
2023-01-27 11:33:52 -08:00
Adeeb Shihadeh 0eed31f1a6 process replay: show process name in timeout error 2023-01-27 11:27:07 -08:00
Shane Smiskol 226d80964d Ford: lower lateral actuator delay (#27113)
Update interface.py
2023-01-26 23:14:05 -08:00
Shane Smiskol 701b7d89b6 Ford: use curvature without roll compensation (#27110)
* Ford: use actuators.curvature

* ford is mathless
2023-01-26 22:29:01 -08:00
Adeeb Shihadeh 1d9b4c2248 cleanup panda mcu definitions (#27104)
* cleanup panda mcu definitions

* cleanup panda mcu definitions

* bump

* panda master
2023-01-26 21:05:39 -08:00
Dean Lee 50fc560b43 cabana: improve mainwin (#27053)
* open recent

* improve mainwin

* move to submenu

* new file & remind save before load

dd
2023-01-26 20:29:28 -08:00
Shane Smiskol ad5b3ea410 controls: add curvature to actuators (#27108)
* Add curvature to actuators

* Use it in CC

* revert ford stuff

* Update ref_commit
2023-01-26 20:02:23 -08:00
Shane Smiskol 4f4f4afe8a Ford: set lateral ramp type to 0 (#27106)
set ramp type always to 0
2023-01-26 19:11:44 -08:00
YassineYousfi 7316cd03fb new model: fixed weight decay logic (#27068)
* 07a3a2b2-6dbe-43c3-9bb9-a8023932e054/449 cdfa9e3c-2807-49fc-bdc7-a985f8ff1644/700

* update refs
2023-01-26 19:09:12 -08:00
Kurt Nistelberger 6f0d35a09f Glonass ephemeris support (#27088)
* add glonass kaitai parsing

* add kaita generated files

* remove glonass from build

* add string non immediate type

* fix kaitai bug

* add patch file

* fix scons order

* Update selfdrive/locationd/SConscript

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-01-26 17:25:15 -08:00
Vivek Aithal 9201267fb7 torqued: Update reset logic (#27103)
* update reset logic

* bugfix
2023-01-26 14:48:46 -08:00
Dean Lee 08060e42c4 cabana: saving & restoring columns widths (#27080)
saving & restoring columns widths
2023-01-26 12:56:38 -08:00
Shane Smiskol 752b4edb92 HKG: Update Genesis GV60 harnesses (#27033)
* Update values.py

* generate
2023-01-26 12:54:53 -08:00
Dean Lee de5f792b3e cabana: only repaint changed cells in BinaryView::highlight (#27046)
dont update all cells on highlight
2023-01-26 12:41:17 -08:00
Dean Lee 0f37ff6c02 cabana: cleanup historylog and fix some known issues (#27100)
improve history logs
2023-01-26 12:37:04 -08:00
Dean Lee 27e8f8ff3e cabana: improve detail view (#27099)
* improve detailview

* cleanup layout
2023-01-26 12:32:25 -08:00
Radosław Chybicki e90c7a487b Santa Fe HEV 2022: add missing FW versions (#27050)
* Santa Fe Hev 2022 Fingerprint

* Concatenated second value for transmission

* fixes

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-26 12:30:46 -08:00
Dean Lee 1d5d57a384 cabana: fix video_splitter created twice (#27101) 2023-01-26 11:02:17 -08:00
Shane Smiskol 4d231a9d96 Ram 1500: more generic EPS steer to zero check (#27086)
more generic check
2023-01-26 00:48:59 -08:00
Shane Smiskol ad6ee2669c fix static analysis 2023-01-26 00:47:29 -08:00
Shane Smiskol c7c0f1e33c Ford: fix curvature rate limits 2023-01-26 00:37:13 -08:00