Commit Graph

7421 Commits

Author SHA1 Message Date
eFini
1de8ad891b Fix is_rhd param name in map.cc (#25464) 2022-08-17 20:21:38 -07:00
Adeeb Shihadeh
96f8d3acd5 rawgps in CI (#25473) 2022-08-17 20:00:15 -07:00
Shane Smiskol
5ed587ebef controls: block resume if cruise not previously engaged (#25402)
* see if this works at all

* can revert this

* think adding a no entry conditionally is nicer

* then we can revert this

* 0 makes more sense

* Revert "0 makes more sense"

This reverts commit efc89e8a2389ef58fbc0cec0a2872d24db524867.

* gm CC uses > 70

* bump cereal

* comment

* test on Honda

* whoops

* works

* add exception with todo

* moved button enable events to controlsd

* get rid of that

get rid of that

* different values for now

* car interfaces add enable event, controlsd can block it

* Regen and update refs

* delete if not set

* One place

one place

* regen routes are uninitialized first few frames

* Trim start of segment so it's like original segment

* stash

* regen

* not working

* clean up

* more cleanup

* revert

* bump ceral

* actually check resume button

* whoops

* pcmCruise cars don't use setSpeed, so we're good

* engage correctly in sim

* Update ref_commit

* Update refs
2022-08-17 18:03:33 -07:00
Adeeb Shihadeh
baef4c1fb2 expand fingerprint dict size for multipanda setups 2022-08-17 15:30:20 -07:00
Adeeb Shihadeh
e0e0aad144 Chrysler: ensure control bit is high before torque cmd (#25465)
* Chrysler: ensure control bit is high before torque cmd

* move that & update refs

* check control bit too
2022-08-17 15:20:18 -07:00
Shane Smiskol
87ca42e993 process replay: initialize controlsState with original route (#25461)
* push

* do process replay

* commit

* update refs

* clean up

* clean up controlsd

* clean up controlsd

* Add assert

* debubuggier param name

* can be peristent

* Revert "can be peristent"

This reverts commit 6e6d3f6423c26a202623cef728e038259e9e46cd.

* Update selfdrive/test/process_replay/process_replay.py
2022-08-16 22:02:03 -07:00
Shane Smiskol
63fb3e591e Kia: add missing Niro EV 2020 FW versions (#25446)
Add missing FW versions from 9b052af2986bbe3c
2022-08-16 20:57:06 -07:00
Shane Smiskol
d7095d0d43 process replay: show errors when updating refs (#25460)
* Update test_processes.py

* Apply suggestions from code review
2022-08-16 19:39:11 -07:00
Adeeb Shihadeh
1388c80a8f Toyota: remove Camry Hybrid footnote (#25457)
* Toyota: remove TSS2 camry footnote

* Apply suggestions from code review

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-16 18:41:45 -07:00
Shane Smiskol
b3dc7bb3cb regen: initialize once (#25458)
regen: init once
2022-08-16 18:40:30 -07:00
Shane Smiskol
bacd2d5aee Kona: remove pid tuning 2022-08-16 18:39:20 -07:00
Adeeb Shihadeh
aa32ea0f64 loggerd: log all disk space usage in initData (#25455)
* bootlog: log all disk space usage

* not just agnos

* move to initData

* cleanup
2022-08-16 16:37:58 -07:00
Jason Young
c27d7913f2 VW PQ: Volkswagen Passat NMS (#24768)
* VW PQ: Volkswagen Passat NMS

* regen CARS.md

* vEgo from Bremse_1 vehicle speed

* sync opendbc to master

* handle checksums and counters in opendbc

* LDW HUD message handling

* GRA_Neu_Zaehler -> COUNTER

* bump opendbc

* stub in till we find platform ACC standstill

* bump opendbc

* bump opendbc

* placeholder lateral accel data

* regen CARS.md

* counters now directly supported in opendbc

* additional door-open signals

* add trunk lid state

* add doors and trunk lid to signals list

* LDW_Status updates and passthrough

* bump opendbc for typo fix

* update AWV comment

* another comment update

* regen CARS.md with PQ in dashcam only

* don't show NMS footnotes while still in dashcam

* polish

* add stubbed-out dashcamOnly prep

* VW MQB: Cleanup stock ACC button handling

* bump opendbc and panda

* use controls resume output as trigger

* these can wait until taco bell

* bump opendbc

* pass through of previously fixed value

* retry CI

* checks already done in carcontroller

* don't need these anymore

* reduce diff for now

* slightly better abstraction

* more engine and trans FW

* turn signal is instantaneous stalk position

* weak sauce :(

* better clarity

* try torque tune

* add test route references

* bump opendbc and panda for OP long

* don't show steering faults for 3 seconds after start

* longitudinal control senders

* a little more torque

* test hax to torque control

* test a little more delay

* allow use of manufacturer ramp-up rate

* soften wheel-touch threshold

* Revert "test hax to torque control"

This reverts commit d1af459c29e36264aae406f72b8fcbc9ef22b9e0.

* punch it Chewie

* better ACC state and mainswitch handling

* a little more

* tweak max accel gradient

* oops

* also oops

* stuff

* srsly

* that's not how this works

* regen CARS.md

* footnotes now properly excluded for dashcam cars

* this wasn't a problem

* update network location detection

* bump submodules for ACC main switch

* clean up DBC references and long flag

* bump one more time

* one more time

* follow CANPacker counter refactor

* bump opendbc

* sync opendbc to master

* bump panda to fix Subaru tests

* DBC handling cleanup

* fix

* model-year stretch

* cleanup and rate bugfixes

* better abstractions

* simplify create_lka_hud_control

* volkswagencan -> mqbcan

* bump panda

* fix doc data bug, regen CARS.md

* style updates; diff reduction

* use common button enable logic

* not needed anymore

* refactor TSK and HUD enum values

* make common button events function

* consistency

* bump panda

* bump panda

* dashcam only

* don't need process_replay yet

* regen CARS.md with Passat NMS in dashcam

* can't handle dashcam-orphaned footnotes yet

* remove outdated standstill handling

* editor tried to be too helpful at some point

* don't need to import this anymore

* Apply suggestions from code review

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

* follow parkingBrake refactor

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-16 14:32:59 -07:00
Adeeb Shihadeh
0ed8a7f42d Toyota: add new corolla fw 2022-08-16 13:41:58 -07:00
Adeeb Shihadeh
0258ef74ff Hyundai: Kona torque tune (#25426)
* Hyundai: Kona EV 2022 torque tune

* Update selfdrive/car/hyundai/interface.py

* update for all
2022-08-16 13:18:39 -07:00
Chris Souers
3fc001c945 Honda: cleanup minEnableSpeed (#25447)
* Honda interface.py: cleanup `stop_and_go` variable

* Update selfdrive/car/honda/interface.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-16 00:40:47 -07:00
Shane Smiskol
721fae7e8e Multilang: language policy (#25414)
* add draft translation merging policy

* Update policy copy

* copy

* add link

* Update selfdrive/ui/translations/README.md
2022-08-16 00:37:11 -07:00
Shane Smiskol
4602e5a8f9 process replay: print correct ref path (#25448)
* fix log paths ref printing in process replay

* rm that

* this is easier to read

* fix model_replay
2022-08-16 00:32:42 -07:00
khoi
df48ab9ee2 Car docs: add video link for Hyundai Santa Fe 2022 (#25449)
* Add video link for Santa Fe 2022

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-15 21:46:56 -07:00
Shane Smiskol
574021a0ac Car docs: test for missing harnesses (#25444)
* All cars must have a harness

* except body

* skip test

* Q for IoniQ
2022-08-15 21:44:15 -07:00
MadBrad
07320fb8a8 Car docs: add video link for 2022 Chevy Bolt EUV (#25443)
* Car docs: Add video link for 2022 Chevy Bolt EUV

* New video added
2022-08-15 15:29:46 -07:00
Shane Smiskol
e24da95120 Fix translations 2022-08-15 15:12:46 -07:00
Achilles308
370f58b7d6 UI: fix inconsistent capitalization in toggle title (#25441) 2022-08-15 13:49:43 -07:00
AlexandreSato
42e4efe706 Multilang: add Portuguese (Brazil) translation (#25287)
* Add Portuguese-Brazil translations

* Fixing some Japanese I used as a base.

* Add pt_BR translation

* Add QM file

* multilang: Fix typo and missing pt_BR translation

* fix typos in calibration translation

* pt_BR new translations

* fix translations

* update qm

* add Thai translation tkx tape#7233

* fix pt_BR translation

* improve pt_BR translation

* connect means connection not connected

* update

* plurals and typo

* fix unitTest error

* Add pt badge

* Add test for missing plural translations

* Make sure this doesn't test for translation completeness, we skip that test

* fix missing plurals

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-15 12:14:29 -07:00
Chris Souers
5b1ba4f135 Lateral planner: Don't prompt/initiate lane changes if lateral control is not active (#25436)
* Don't set lane change events if we're not able to steer.

* more specific variable name

* update process replay socket config

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-15 11:37:24 -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
Jason Young
1f0a435763 VW: Additional PQ / long control prep (#25427)
* VW: Longitudinal support prep

* minimize diffs

* make common button events function

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-13 11:45:23 -07:00
Shane Smiskol
45cfcfa3bb Revert "FPv2: fingerprint on all FW combinations" (#25417)
* Revert "FPv2: fingerprint on all FW combinations (#25204)"

This reverts commit ee081f278b.

* Revert "Revert "FPv2: fingerprint on all FW combinations (#25204)""

This reverts commit bb68b7bc1c28ba8c67f3051b8f99fabc42e85771.

* For breaking, match only with current brand's FW

* Add comment for fuzzy matching

* fingerprint (online) only using FW from that brand

* test_fw_query_on_routes fingerprints like online

* extend match_fw_to_car to work for test_fw_query_on_routes

* Apply suggestions from code review
2022-08-12 23:36:50 -07:00
kravatch
3bb1315136 Mazda: add missing CX5 FW versions (#25423)
2022 cx5 signature
2022-08-12 22:31:57 -07:00
Shane Smiskol
c2162420d2 Car docs: fix required package for Bolt EUV 2022-23 (#25421)
* Need Adaptive Cruise Control

* no 2LT in configurator

* or redline
2022-08-12 20:56:26 -07:00
Shane Smiskol
5f5d944368 Subaru: add missing Impreza 2017 FW versions (#25424)
* this is from hyundai query

* These are also from Hyundai

* Add missing FW versions from 5c3a4dc9bd0b2eaa|2022-08-12--18-01-46

* more FW
2022-08-12 19:53:44 -07:00
Jason Young
3e3f960342 VW PQ: Cleanup and prep for upstream (#25351)
* VW MQB: Cleanup and abstractions

* regen CARS.md

* Update selfdrive/car/volkswagen/values.py

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

* regen CARS.md

* now that's a refactor of a different sort

* move shifter value init/storage

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-12 19:43:36 -07:00
cydia2020
f0214d5e83 Multilang: fill missing Japanese translations (#25418)
* japanese translations

* ENTER literally means enter

* This makes more sense

* finished

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-12 16:26:50 -07:00
Jason Shuler
4ffe9e68db GM: Bolt EUV 2022-23 port (#24875)
* Switch to ECMPRDNL2 for GM gear

* Removing manumatic gear #

* values.py almost complete

* Silverado and Bolt EUV val and CP

* GM controller updated

* Cam hrns supp done (in theory)

* cleanup for new cars

* Remove extra constant

* WS, etc cleanup

* removing the unused

* Fix kpBP typo

* Updated docs

* Skip's PIF tune

* Dropped LKA CAN error patch

* Add silverado sigmoid ff

* CAN Err & LKA latch patch

* Remove EPS fault fix (another PR)

* Remove Silverado (another PR)

* clean up some common params

* Remove Escalade FP

Remove Escalade FP

* comment

* Premier is just a trim

Premier is just a trim

Premier is just a trim

* no footnote: new Bolt is like most other cars, older GM were outliers not at the camera

* clean up

clean up

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* remove comments

* try spamming buttons on bus 2

* bump panda

* bumping opendbc w btn rc

* not needed for this port

This reverts commit 6af1f0ba799e075f877d7acc8ca0f117d97da361.

* add button safety

* Send next rc when spamming btns

* forward other signals in message

* missing DriveModeButton

* fill cruiseState.speed

* see if resume works without counter

* try the whole message

* send immediately and at 10Hz

* no resume, back to just button signal

* even holding random buttons it cancels

* Use torque controller with base tune

* stock long GM don't auto-resume yet

* Testing GM zero min steer speed

* Revert latcontrol

* revert opendbc

* latActive is basically lkas_enabled

* Update Bolt torque params

* comment

* clean up

* Add to releases

* Add test route

* Don't specify segment

* bump panda

* bump panda

* no harness for Bolt just yet

* Apply suggestions from code review

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

* We support all and 2023

* move safetyParam up to first cam check

* Bump panda and update docs

* Update RELEASES.md

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

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-12 16:10:34 -07:00
Shane Smiskol
e4340e0260 Car docs: update RX supported model years (#25419)
Update RX supported model years
2022-08-12 12:31:55 -07:00
Jason Wen
6e2584ef4b Hyundai: Car Port for Ioniq 5 (HDA2) 2022 (#25308)
* Hyundai: Car Port for Ioniq 5 2022

* Add FW versions

* HDA2 and modified harness for now

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

* Attempt to block LFA

* BYTE7 blocks LFA

* Merge and bump opendbc, panda

* Update docs per request

* HDA2 -> Highway Driving Assist II

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

* Update RELEASES

* remove that

* generate docs

* ev6 matches

* fix panda bus

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-12 11:50:52 -07:00
Robbe Derks
24645c92da Use steeringAngleDeg for angle control saturation warnings (#25404)
* use steeringAngleDeg for angle control cars

* update refs
2022-08-12 11:30:19 +02:00
Shane Smiskol
4dbad71171 Car docs: update Odyssey supported model years (#25410)
* Revert Odyssey MY

* update docs
2022-08-12 01:58:49 -07:00
HaraldSchafer
041458f632 Falcon Punch Model: turn cutting improvements (#25413)
* simplified change to mpc dynamics

* add jerk pts

* increase jerk cost

* increase jerk pts multipler to master value

* Add final commit

* 1456d261-d232-4654-8885-4d9fde883894/440 ac1a6744-85b0-4ec6-8ba7-608d0717b8f1/750

* some copies are useful

* update model replay ref

* less frames in model replay onnx cpu

* 1456d261-d232-4654-8885-4d9fde883894/440 264b67f5-3f52-4b58-b11f-58dd8aaf08bf/950

* 1456d261-d232-4654-8885-4d9fde883894/440 236fc556-fba3-4255-8ccf-684b22637160/950

* c9d10c64-bea4-41ec-8ca3-d8c886fda172/440 26d73dd2-862a-44ae-bbdd-32cc4f397ad7/900

* Fix couple tests

* Update ref

* Unused for now

* Add lateral factor comment

* Unused variable

Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
Co-authored-by: Bruce Wayne <yassine@comma.ai>
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
Co-authored-by: Bruce Wayne <batman@gpu06.internal>
2022-08-12 00:47:59 -07:00
Adeeb Shihadeh
5f35c669a6 Hyundai: rename HDA2 platform to CANFD (#25411)
* Hyundai: rename HDA2 platform to CANFD

* bump panda

* bump panda

* cleanup panda safety config
2022-08-11 22:49:49 -07:00
Kento Tokuhiro
41daea118c Lexus: add FW for 2020 Lexus RX Hybrid (#25346)
add: fingerprint for lexus rxh h 2020
2022-08-11 20:22:42 -07:00
John Belmonte
58fa5cab2c Car docs: J533 alternative isn't available on all cars (#25250)
* Skoda unsupported connector footnote; note J533 alternative isn't available on all cars

* limit footnote to Karoq

* Update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-11 20:02:30 -07:00
Adeeb Shihadeh
96e8d5c9fe Subaru: new harness is on the shop (#25406)
* Subaru: new harness is on the shop

* subaru a
2022-08-11 17:23:51 -07:00
Jason Young
5d699a578c Clean up timers on receipt of a non-0x78 UDS error (#25398)
* clean up timers on receipt of a non-0x78 UDS error

* Update selfdrive/car/isotp_parallel_query.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-11 15:24:23 -07:00
realfast
ab227027c3 Ram 2500 + 3500 HD support (#25372)
* Ram HD Init

* Update selfdrive/car/torque_data/override.yaml

* Revert FW for 1500

* little cleanup plus test route

* bump panda

* revert 1500 changes

* bump panda

* same error max

* dashcam + cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-11 15:14:18 -07:00
Shane Smiskol
f01266c2e9 compatibility docs: fix Sienna min ACC speed (#25400)
Sienna actually needs a SDSU (and pedal?) for sng
2022-08-10 21:44:03 -07:00
royjr
d740940347 Honda Civic 2022: forward fault bit from camera (#25280)
civic22_brakesystemlight

Rename and add comment

Try using camera's LKAS_PROBLEM value
2022-08-09 12:57:03 -07:00
Adeeb Shihadeh
ac305dacef nav: same icon size for active & inactive lanes (#25383)
* nav: same icon size for active & inactive lanes

* update translations
2022-08-08 15:07:44 -07:00
Tim Wilson
2a4020da60 GM: separate EV/ICE gas/brake lookup tables (#25354)
* GM: separate EV/ICE gas/brake lookup tables

* removed blank line

* V are the same

* comment

better ordering

comment

comment

* Add some delay for the laggy brakes

Add some delay for the laggy brakes

* move actuator to only acadia

* start braking at 0 m/s/s

* Revert "start braking at 0 m/s/s"

This reverts commit 55c1dee733aab3dc037fb1705c9bd0ace55c849f.

* add delay for escalade

* revert EV changes

* Update selfdrive/car/gm/carcontroller.py

* comment

* only ACADIA

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-08 13:55:40 -07:00
YassineYousfi
3afe7464df Model file too big: Revert "New model: minor fixes" (#25390)
Revert "New model: minor fixes (#25368)"

This reverts commit 55bf938504.
2022-08-08 12:42:46 -07:00