Commit Graph

6586 Commits

Author SHA1 Message Date
Jason Wen e1efbfe6eb CarInterface: update params (#45)
* CarInterface: update params

* check exp mode every frame

* Revert "check exp mode every frame"

This reverts commit a7d174a1a0cb367487e1b7fc9d1e6b651233860c.

* only immediately check exp mode when allowed
2023-02-20 20:48:41 -05:00
Jason Wen 36152df5e4 Torque lateral control customization (#41)
* Torque lateral control init

* move-fast: v-tsc fix

* No need to show this

* oops

* cleaner
2023-02-20 18:19:52 -05:00
Jason Wen 9f0879a57e DLP: Auto Lane profile improvements (#43)
* DLP: laneless for curves when using Auto Lane profile

* DLP: force laneless while changing lane in Auto Lane profile
2023-02-20 10:51:55 -05:00
Jason Wen f383137efd Merge branch 'master' into dev-priv/master 2023-02-20 02:59:53 -05:00
Jason Wen 643fe3b7fa HKG: parse speed limit (#118)
HKG: parse speed limits
2023-02-20 02:58:57 -05:00
Jason Wen f3a44c1e3a HKG: add more int flags 2023-02-20 02:51:46 -05:00
Jason Wen 828bbdc912 dragonpilot: otisserv (#42) 2023-02-20 01:02:35 -05:00
Jason Wen adf844eb30 move-fast: v-tsc fix (#40) 2023-02-19 22:04:35 -05:00
Jason Wen c97b3b56a9 ui: speedometer customization (#38)
* ui: speedometer customizations

* change param name

* bruh

* cereal: fix duplicate ordinals
2023-02-19 12:24:18 -05:00
Jason Wen 9ccc1523b9 ui: fix upstream conflict (commaai/openpilot:#27380) 2023-02-19 00:24:01 -05:00
Jason Wen b45f62bb74 Merge branch 'master' into dev-priv/master
# Conflicts:
#	selfdrive/controls/lib/lateral_planner.py
#	selfdrive/ui/ui.cc
2023-02-19 00:05:08 -05:00
Jason Wen 4b2ce89412 Merge remote-tracking branch 'upstream/commaai/openpilot/master'
# Conflicts:
#	cereal
#	selfdrive/ui/ui.cc
2023-02-18 23:52:21 -05:00
Jason Wen 3ad8d6ef50 MADS: handle both brakePressed and regenBraking parsing (#39) 2023-02-18 23:25:36 -05:00
Jason Wen 7021d2ce20 move-fast: sunnypilot specials (#32)
* UI: Debug: Tap on Ui to capture snapshot of debug data

* UI: Debug UI: Toggle to display debug UI elements & UI prerequisites

* UI: VisionTurnController Implementation

* UI: Debug UI: Toggle to display debug UI elements

* UI: LiveMapData: Implementation

* UI: SpeedLimitControl: Implementation

* UI: TurnSpeedController: Implementation

* fixup! UI: SpeedLimitControl: Implementation

* Add adjustable speed limit offset (in % or actual values)

* fix

* fix 2

* fix 3

* wrong value used

* don't need this

* needs this!

* and this?

* needs to be at the top

* has to be public

* take them off

* gotta have this

* wrong!

* update this every time

* try to update

* hmm maybe it was this

* missed this

* Revert "missed this"

This reverts commit 926b45410544e4f1bbc5174d0d7b03fafedf610f.

* Revert "hmm maybe it was this"

This reverts commit 7f75543db71d6f438f6473c66d4f94df317f16f2.

* refresh them

* update them in both places!

* make them public please

* don't forget this path

* try this refresh?

* Revert "make them public please"

This reverts commit 669a3ee1d5607c84109294db7a567ca86cb91b0f.

* revert these

* try using signals to update

* Revert "try using signals to update"

This reverts commit f3ad02bde71467aa7fc27c0b95d03748345193e6.

* update state after it's emitted

* make it public

* Revert "make it public"

This reverts commit ddf431d198133359b8bd656dde9061ec671f2312.

* Revert "update state after it's emitted"

This reverts commit aad2876166843b63d889e90830bf3d32edaa2857.

* try this out

* fixup! try this out

* fixup! try this out

* fixup! try this out

* fixup! try this out

* don't need this

* fixup! try this out

* fixup! try this out

* fixup! try this out

* fixup! try this out

* make sure we can see it

* make it float

* Try to update this way

* fixup! Try to update this way

* Revert "fixup! Try to update this way"

This reverts commit f4725bcb070cc8e8ebeb6e37afeb930694e96e22.

* Revert "Try to update this way"

This reverts commit af72af8a4a193b24e99931200fac18c6625a2431.

* new method to hide/show

* fixup! new method to hide/show

* fixup! new method to hide/show

* fixup! new method to hide/show

* fixup! new method to hide/show

* fixup! new method to hide/show

* omg it works?!

* run these at 2Hz pls

* UI: use comma speed limit design instead of move-fast

* fixup! UI: use comma speed limit design instead of move-fast

* fixup! UI: use comma speed limit design instead of move-fast

* fixup! UI: use comma speed limit design instead of move-fast

* UI: use comma speed limit design instead of move-fast

* fixup! UI: use comma speed limit design instead of move-fast

* fixup! UI: use comma speed limit design instead of move-fast

* fixup! UI: use comma speed limit design instead of move-fast

* garbage collection

* redundant

* gc attempt?

* Revert "garbage collection"

This reverts commit 127fc8bd9d1eaea7725cf775dc7034ac6aaf09f4.

* garbage collection

* catch exceptions

* ignore mapd if crashed

* copy dependencies after first download

* changed dir

* oops

* proper termination before exiting

* same class

* Revert "same class"

This reverts commit dda695477371bf259b89aae726210dfe9d5f913e.

* Revert "proper termination before exiting"

This reverts commit 95c039dac86a389c0be043aadf2a3e8cbd4515c8.

* don't let accelerator press to re-engage SLC when NDOG is off

* can we free them up?

* Revert "can we free them up?"

This reverts commit d7736524645376ffb43acb77678086f6ae3c4e0b.

* fixup! don't let accelerator press to re-engage SLC when NDOG is off

* introduce navInstruction speed limits into SLC

* nuke UI for now - memory test

* do this instead

* Overpass: does not exist

* Revert "nuke UI for now - memory test"

This reverts commit fd81ffde0443917580ec4ad71095c178173883fe.

* meh
2023-02-18 23:22:07 -05:00
Jason Wen 6e9ac005ed Merge branch 'master' into dev-priv/master 2023-02-18 19:36:18 -05:00
Jason Wen c9d784a0b9 ui: speedometer customization more init 2023-02-18 19:35:54 -05:00
Jason Wen 8892950697 MADS: don't allow actuation if not calibrated (#37) 2023-02-18 18:46:12 -05:00
Jason Wen c20c3c5ecc MADS: Volkswagen control logic fix (#36)
* use old method

* can't miss this
2023-02-18 17:58:56 -05:00
Harald Schäfer eb8bdc0026 MPC path in UI (#27380)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* vizualize

* fix long test

* typo

* cleanup

* compiles

* unused

* unused

* bump cereal

* bump cereal

* use model if no uiplanm

* update replay

* update ref commit

* bump cereal to master
2023-02-17 19:58:30 -08:00
Cameron Clough ce9fd785d5 Ford: add CarInfo for Plug-in Hybrids 2023-02-17 19:30:06 -08:00
Cameron Clough 7330466dff Ford Escape PHEV 2022 Fingerprint (#27382)
* Ford Escape PHEV 2022 Fingerprint

6cffc47c251aa36c|2023-02-17--18-17-14

VIN: 1FMCU0EZ0NUB76728

* include MY2022 in car info

* Update selfdrive/car/ford/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: koffee-bean <srivastavasid91@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-17 19:12:15 -08:00
Shane Smiskol b6fd39856c HKG: simplify Ioniq car params (#27371)
* move PHEV to other ioniqs

* reverse if

* order

* order
2023-02-17 18:39:27 -08:00
Jason Wen e7157d00f8 UI: Remove Enhanced SCC (ESCC) Radar Interceptor toggle 2023-02-17 18:41:05 -05:00
Jason Wen 2fc2e108be Merge branch 'master' into dev-priv/master
# Conflicts:
#	panda
#	selfdrive/car/hyundai/carcontroller.py
#	selfdrive/car/hyundai/carstate.py
#	selfdrive/car/hyundai/hyundaican.py
#	selfdrive/car/hyundai/interface.py
2023-02-17 18:39:06 -05:00
Jason Wen 2830c020f6 Hyundai: Enhanced SCC (ESCC) Radar Interceptor support (#114)
* escc: wip

* finish up

* use new intflag

* bump panda
2023-02-17 18:33:14 -05:00
Harald Schäfer 04fe6c4ec7 Expand lateral MPC to 10s (#27343)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* add new interp

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* Update sconscripts

* fix test

* fix test

* fix test

* Revert "Update sconscripts"

This reverts commit 6e23c69dcebd5ed003e37e01921f6af7c31de0db.

* Dont import drive helpers

* better compile deps

* fix compile

* comment

* update replay

* Update plannerd time
2023-02-17 15:28:26 -08:00
Adeeb Shihadeh dad948983a chyrsler: add comment about radar parsing 2023-02-17 15:04:21 -08:00
Jason Wen 36461f1885 MADS: don't forget about Volkswagen 2023-02-17 16:13:14 -05:00
Jason Wen cc9a8e7d2c Merge branch 'master' into dev-priv/master
# Conflicts:
#	selfdrive/car/car_helpers.py
2023-02-17 01:28:52 -05:00
Jason Wen b2465c3494 Merge remote-tracking branch 'upstream/commaai/openpilot/master' 2023-02-17 01:26:38 -05:00
Shane Smiskol b2453d55c1 Hyundai: detect FCA feature (#27322)
* detect fca

* use value

* it will be from camera on camera acc cars

* Update ref_commit
2023-02-16 21:52:32 -08:00
Jason Wen 3cab2a57f7 Longitudinal: Distance button to toggle experimental mode (#34)
* Distance button on steering wheel to toggle experimental mode

* HKG and Honda

* Longitudinal: parse distance button from steering wheel

* missing gm signal

* GM, VW (MQB & PQ), Toyota

* try this logic out
2023-02-16 21:17:05 -05:00
Jason Wen c0893c47fe Merge branch 'master' into dev-priv/master
# Conflicts:
#	selfdrive/car/interfaces.py
2023-02-16 20:59:04 -05:00
Jason Wen 7934454088 Longitudinal: parse physical distance button (#113)
* Longitudinal: parse distance button from steering wheel

* missing gm signal
2023-02-16 20:57:07 -05:00
Shane Smiskol 5e0b281119 HKG: log AEB/FCW for Kia Ceed (#27364)
Ceed uses FCA
2023-02-16 16:09:11 -08:00
Shane Smiskol 2769b110e0 Fingerprint for Hyundai Santa Fe 2019 Europe (#26952)
* Fingerpint fur Hyundai Santa Fe 2019 Europe

* add version for transmission segment 092ef1cc055c6354|2023-01-05--17-49-21

* remove long

---------

Co-authored-by: sevdokim <se.evdokimov@gmail.com>
2023-02-15 19:42:56 -08:00
gregschueman d7ddf25899 2021 Hyundai Ioniq PHEV - additional engine fingerprint added (#27221)
* Update values.py

Addition of Hyundai 2021 Ioniq PHEV modeled on 2019 entry

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* replace with shorter trans

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 19:21:36 -08:00
wowcat1234 4638d4b1a2 Add fingerprint for Hyundai Ioniq 22 limited HEV (#27334)
* Update values.py

* update for ioniq HEV 22

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 19:17:46 -08:00
Jason Wen 90ce7605c1 Hyundai: 2015-16 Genesis resume from standstill fix (#25579)
* Hyundai: 2015-16 Genesis resume from standstill fix

* Add comment

* Fix typo

* Merge both methods

* Add back the comment

* 20Hz not needed according to tester

* no new global state variable

* PCM's perspective: random counter -> random counter

* only send 5

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 17:33:04 -08:00
Ricky Gilleland b76795d7f0 GM: Escalade 2017 support (#27276)
* Initial 2017 Escalade values

* update docs/CARS.md

* revert back to v1 fingerprint & add test route

* revert bad merge

* update fingerprint

* update

* update

* Update selfdrive/car/gm/values.py

* Update selfdrive/car/gm/values.py

* no engine

* Try global tune

* pcm

* Driver Assist Package has ACC, and includes LKAS from previous package

* update docs

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 17:07:24 -08:00
Shane Smiskol 89934b35d0 Car interfaces: assert reasonable centerToFront range (#27356)
* assert reasonable centerToFront values

* comment

* fix Bolt centerToFront

* Update ref_commit
2023-02-15 16:27:00 -08:00
Shane Smiskol 48b059d367 CAN fingerprint script improvements (#27355)
* match online logic

* 0 and 2 are different buses. on gm, same address has different lengths

* match fingerprint_from_route
2023-02-15 15:59:23 -08:00
Shane Smiskol 2bc2dbfb70 process replay: fix hang 2023-02-15 15:55:08 -08:00
Shane Smiskol 5dde8f2c84 Write boardd param to continue startup (#27354)
disable at the bottom
2023-02-15 15:52:10 -08:00
Adeeb Shihadeh 00513f1001 locationd: adjust GPS alive check for QCOM GPS (#27339)
* locationd: adjust GPS alive check for QCOM GPS

* update refs

* update refs
2023-02-15 11:28:47 -08:00
Rob Chouinard d4c5b8d6f4 Allow Honda Nidec vehicles with comma pedal to drive at max speed. (#26902)
Without this Honda Nidec vehicles with the comma pedal will drive around 2 mph under the max speed.
2023-02-14 22:24:13 -08:00
Shane Smiskol 8c099dd4e5 GM: cleanup torque feedforward function (#27347)
no numpy
2023-02-14 22:06:23 -08:00
Jason Wen 8a99b9256a MADS: V_CRUISE_INITIAL -> V_CRUISE_UNSET (#33) 2023-02-14 23:12:32 -05:00
Shane Smiskol c4b84783a0 Honda Bosch: gather available ECUs from camera (#27180)
* add flag

* actually use in fw_versions.py

* simpler

* not here

* Comment

* better name

* add param and block

* keys

keys

* block

* with a value

with a value

* add query for bosch PT bus

* different name

* fix

* .

* fix test

fix test

* add cloulogs

* mark as logging
2023-02-14 17:55:41 -08:00
Jason Wen ef32bcd0b1 Merge branch 'master' into dev-priv/master
# Conflicts:
#	selfdrive/car/chrysler/interface.py
#	selfdrive/car/hyundai/carcontroller.py
2023-02-14 20:44:48 -05:00