Commit Graph

9623 Commits

Author SHA1 Message Date
Jason Shuler f342073c94 GM: add support for vehicles with manual parking brakes (#24766)
Switch to general park brake signal
old-commit-hash: f8f4337fb3c50d6c125f59a8f59c93818fe71994
2022-06-14 17:28:15 -07:00
George Hotz 33bed6d13b remove weights fixup with new SNPE (#24254)
* remove weights fixup with new SNPE

* Update ref

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: 7a6f57a28e6efda72319fc0b2a4873bcf7e06829
2022-06-14 15:46:03 -07:00
Shane Smiskol fda3609f6a process replay: clean up common code (#24855)
* regen and process replay clean up

* test_fuzzy actually uses fingerprint hardcoding

fix

* revert

* revert

* this can be a url or path so just print full variable
old-commit-hash: 170ed3d761a58222a626c86b9706f9be4900d058
2022-06-14 12:03:30 -07:00
Shane Smiskol 2be8856e28 Move RAV4 2022 out of bronze
old-commit-hash: a78197ab1af40dcdc0fe5a8f764b476da3837e87
2022-06-13 21:49:50 -07:00
HaraldSchafer 539221df6c Move couple toyotas to torque table values (#24849)
* Move couple toyotas to torque table values

* Dont set for all cars yet

* Dont regress docs

* update ref
old-commit-hash: dbfe923ecc0e14a781a7f03646ccf885ab2fa47a
2022-06-13 19:08:09 -07:00
Shane Smiskol 82f208bcd6 Honda Bosch long: fix ACC fault (#24851)
Fix Honda bosch long

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>
old-commit-hash: 25eafa96264aa2f8851b2f0d633de0c7cce3e743
2022-06-13 18:42:47 -07:00
HaraldSchafer 1c59adb433 Couple more cars to torque tune (#24848)
* try sonata on torque tune

* Couple known cars to torque control

* fix

* more fix
old-commit-hash: be13fc71f1237eb56a9d1cf2d7a0feb11b55d0b7
2022-06-13 16:54:32 -07:00
Adeeb Shihadeh 71d489a41e Revert "thermald: consider pmic in component temp management (#24708)"
This reverts commit 5ab1b471582c259a3041b00f7fcd217e7814b609.

old-commit-hash: cbd404b954b5b80b65f1ad8363b0245c3c7c7911
2022-06-13 16:38:32 -07:00
Shane Smiskol 02cffeb858 Toyota Camry TSS2: update torque control params (#24819)
Use updated accel and friction values for TSS2 Camry
old-commit-hash: 566de12671f7fbf299306339c0ca901754f7f3ca
2022-06-13 09:29:28 -07:00
Willem Melching e0551be0c1 navd: speed limits only when localizer is valid (#24845)
old-commit-hash: 7bca95dbb89dc6b969871cc7f6bf4306d91f60cc
2022-06-13 16:44:38 +02:00
Willem Melching e71cdfeb9e camerad: remove unused SubMaster (#24844)
old-commit-hash: fb068f04f50fcde6906072b4963114146852c51d
2022-06-13 16:43:50 +02:00
Gijs Koning e03eddea87 Laikad: process executor to fetch orbits (#24843)
* Use ProcessPoolExecutor to fetch orbits

* update laika repo

* Minor
old-commit-hash: a2d2378ee147f2db59aecd3401677cb2427d1ced
2022-06-13 05:02:31 -07:00
Joost Wooning 38f6e2726b ui: skip texture frame copy (#24700)
* ui_blit working

* simpler and working

* more believable that it's real

* working on device

* build on pc

* use hardware pc

* reduce cpu usage

* yuv conversion to EGL

* move everything to cameraview

* some cleanup

* more cleanup

* init array

* init images with std::map

* dont destroy images

* do destroy images

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1221aef233180a7d290ff813d2e2e53dbf87d586
2022-06-13 12:27:47 +02:00
Gijs Koning 11033eba53 Laikad: Use filter for correcting measurements (#24824)
* Update laikad.

* Update log error
old-commit-hash: 724b322909152d58f626b6e76fd34d7d03d67250
2022-06-13 02:45:35 -07:00
Adeeb Shihadeh 5425336963 misc jenkins fixups (#24840)
* bump cereal

* remove that

* pull cl image

* lil docker cleanup
old-commit-hash: 39da6912ea0b8db16d3f96f289f723452e540ab7
2022-06-12 18:00:00 -07:00
Cameron Clough 3c5d9689fc Ford: disable radar for now (#24832)
The newer Ford vehicles require a different radar parser.
old-commit-hash: 3f60088f432f0bf8e7805cdb2223817c249ec7fa
2022-06-12 09:27:46 -07:00
Adeeb Shihadeh 3c48bc47b7 Move a bunch of stuff to system/ part 3 (#24829)
* move swaglog.py

* timezoned

* logmessaged

* version.py

* fix linter
old-commit-hash: 0fce5d90459b77bf2cfa70f55f322f0e1fb8d01c
2022-06-11 23:19:27 -07:00
Adeeb Shihadeh 9a45a3b99b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Maykon Pacheco fe24326066 test for the strip_bz2_extension method (#24826)
old-commit-hash: 1847a70a47b12ff5c7e7db9361f69d6d1e79a919
2022-06-11 11:08:24 -07:00
Shane Smiskol 1c748eb9ac Honda carcontroller and signal cleanup (#24806)
* common signals

* move stopping

* space

* clean up

* bump opendbc
old-commit-hash: e3750877202a072e884ad0fb88709b23226c3a59
2022-06-11 00:14:58 -07:00
HaraldSchafer bc679f735d Misc torque control fixes (#24801)
* Fiction compensation should be based on error

* Update refs

* Add deadzone

* update ref
old-commit-hash: 843e59f6f0be33e6c51a35ef8912f5b7c4b58ca5
2022-06-10 22:52:48 -07:00
Shane Smiskol 158d3224b4 compatibility docs: auto-generate star descriptions (#24809)
* Auto-generate star descriptions

* Need this for the website

* And this

* required changes to make the website generation work

* better names

* Revert "better names"

This reverts commit be7dbbb5d846d7d55a1ad69533945e6a6c8a0b7c.

* simpler
old-commit-hash: 88a100435f1da9bf061b360e8a5cd02e414d6e8b
2022-06-10 22:52:34 -07:00
AlexandreSato 42327f3431 Fix Lexus NX Hybrid 2020 engine ecu (#24817)
Wrong address in engine ecu.
old-commit-hash: f398b3efc92f59f407379d38ead0f99bf814b95c
2022-06-10 18:45:32 -07:00
HaraldSchafer f7edd5f3d3 Car interface: set max lateral torque from table (#24789)
* json

* better naem

* Read from table

* formatting and default to nan

* Generate docs

* Read from table

* this should be the same

* Prius v is full

* test we always set the tunes correctly

add to release files

* Set for all cars

Set for all cars

* Revert tuning changes

Revert tuning changes

* remove that

* fixes

* update ref commit for new maxLateralAccels

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3066ad81a8b2f89a22ddfc86a879395c573ce0f5
2022-06-10 17:57:23 -07:00
Shane Smiskol 6cb8cacea6 Add missing fw versions for 2019 Sonata (#24814)
old-commit-hash: 6618d2bebee9a1fc5a0ee5d5a9b2764403865281
2022-06-10 16:18:31 -07:00
ZwX1616 c73d4e5fc6 Revert fullframe DM model (#24812)
* Revert "fullframe DM: flip RHD yaw to use matching thresholds"

This reverts commit ce7daabc8847d18ba46e5d1879f5a6958d04ccc7.

* Revert "fullframe DM model (#24762)"

This reverts commit 817be81fb19004f4873881f6b29dcdfffbe7e3a8.

* revert cereal
old-commit-hash: c646eeee0ac54925db5afc51b95c5d869d6dba68
2022-06-10 16:16:46 -07:00
Adeeb Shihadeh 77224f3332 count events: add simple camera debugging
old-commit-hash: 66bc246210b4471e0a5fa3ab792c4d9fe0316406
2022-06-10 16:10:06 -07:00
Shane Smiskol 2c094c5784 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
old-commit-hash: 60aa553b8c0d8323f276b102ce359262e639861b
2022-06-09 20:56:05 -07:00
Adeeb Shihadeh 25b55d4b98 bypass HDA2 dashcam with file (#24803)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 53724e8b6cbcfc6c9d49ebd0834624fa23d0f6e9
2022-06-09 19:29:54 -07:00
Shane Smiskol 68e8173474 docs: adjust steering torque thresholds (#24798)
* Prius has good steering control now

* 1.5 is the threshold for good torque

* get back down there, hondas

* half stars for 1.0-1.5

* show number of cars

* try bigger

* emphasize tiers

balanced

* Add half star

* Update ref_commit
old-commit-hash: 1b402687e4bb7146a9aa0c92d8b5062ce53aeb22
2022-06-09 18:51:34 -07:00
Shane Smiskol cc9e67d5ac Hyundai: Tucson 2021 support (#24791)
* add support for 2021 Hyundai Tucson

base configuration and fingerprints

* fix fcw again and don't use mando radar for tucson

* last fixes for working tucson

* Apply suggestions from code review

* add to cars

* increase steerRatio

* missing car info

* one platform

* rename

* add min enable speed

* update releases

Co-authored-by: bluesforte <harry3b9@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 47f80e7add8635e2d80a395f72906cd40c956459
2022-06-09 17:44:58 -07:00
Adeeb Shihadeh c38766b061 Revert "UI: remove DM icon (#24771)"
This reverts commit f7f2bb2a1e70e0946edb362b70ed42e496f77f91.

old-commit-hash: 86ce2f8d4def65d3adb1136b24b75700e953a62f
2022-06-09 17:39:39 -07:00
Griffin Christenson 043f5efcb9 Toyota: Add missing esp fw version for RAV4_TSS2 (#24793)
add fwVersion for RAV4_TSS2

add b'\x01F15260R302\x00\x00\x00\x00\x00\x00' to list of Ecu.esp FwVersions for RAV4_TSS2
old-commit-hash: 1fe582686f5446631fa2c87a1c45dcb8f24fdc5e
2022-06-09 16:34:05 -07:00
ZwX1616 d6e78ec5b0 fullframe DM: flip RHD yaw to use matching thresholds
old-commit-hash: 2ac693100359d9df34d5b2b450a0058f2dd6b7c4
2022-06-09 15:23:29 -07:00
George Hotz cc71e68aee EyeSight standard on all 2019+ Ascent and Forester (#24799)
* on all 2019+ Ascent Forester

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c101c61a82f4b72939bcae7cc7a651ac8fc6fed
2022-06-09 15:11:32 -07:00
AlexandreSato db9d0e3bd6 Lexus: NX Hybrid 2020 support (#24796)
* LEXUS: Missing esp and engine FW versions in values.py

DongleId: 09ae96064ed85a14  | testRoute: 09ae96064ed85a14|2022-01-10--01-57-37 |

* Make a new platform for NX Hybrid TSS2

* Update releases

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 074f614f880fa85a56596cd2917c07d8f39961f1
2022-06-09 12:01:31 -07:00
Erich Moraga c081690ad1 Add missing CHR engine f/w (#24797)
`@papifrio#5178` 2019 Toyota C-HR ICE ("nodsu" TSS-P) DongleID/route ade67da77ee74b16|2022-06-09--00-36-15
old-commit-hash: 2d0a72a0e837457e5e93dda143e5909889cb03f5
2022-06-09 11:07:17 -07:00
Jason Young 4f6142690f VW MQB: Add FW for 2020 Volkswagen Tiguan (#24795)
old-commit-hash: b0f6a8bdf78e3be3bd698ccda3477c6adb2cd270
2022-06-09 10:08:23 -07:00
ZwX1616 02f0f39b52 fullframe DM model (#24762)
* get log

* simplify two nonsense

* not needed

* libyuv is a joke

* clean up

* try small

* fast but not bad

* working

* clean up driverview

* simplified

* thats mirrored

* smol

* tweak

* ref is screen

* w/ ee

* update camera model

* no if TICI

* start

* update pose thresh

* less cpu more dsp

* new libyuv

* new snpe

* add files

* test

* should be fast

* update out len

* trigger test

* use master snpe

* add cereal

* update cereal

* refactor parsing

* missing ;

* get

* wrong type

* test model

* use driver data

* 10829278-72fe-4283-a118-2cef959ce174/1550

* no pf

* adapt driverview

* ;

* rhd learner

* update libyuv buildi x64

* ad4337ea

* remove blink slack

* test

* no

* use toggle

* b16

* fix for nv12

* 5b02cff5 both

* update test

* update cereal

* update cereal

* update cereal

* v2 packets

* revert libyuv

* no /

* update snpemodel

* ;

* memcpy

* fix test

* use toggle in driverview

* update power

* update replay

* Revert "update replay"

This reverts commit 1d0979ca59dbc89bc5890656e9501e83f0556d50.

* update model ref

* halve cpu

* fake 8bit onnx runner

* same thresh as report

* cereal master

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d6c07a6b158595c1ab10256dc6eee4fbdf902379
2022-06-08 20:13:46 -07:00
Gijs Koning 735a7770dc LaikaD: Fix offline handling (#24781)
* Test handling no internet correctly.

* Clean

* Comment

* remove del
old-commit-hash: a9bdc792a184d191824d2ec089658eb3a96f1e45
2022-06-08 07:33:05 -07:00
Gijs Koning 8bbdb79626 Laikad: kill process correctly. Fixes CI (#24780)
Kill process correctly
old-commit-hash: 45c43f9c8719efc300a0cb373f1dc57e0abe3ece
2022-06-08 03:32:22 -07:00
Erich Moraga 707c51c957 Add missing MIRAI ESP f/w (#24779)
* Add missing ESP f/w 

`@JaySheikh#7759`  2021 Mirai  DongleID/route b2c2b20082938bed|2022-06-08--05-04-03  [confirmed working]

* formatting

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c8db61a3c7aba6f96c9f282f4984c84fd6550f62
2022-06-07 22:47:10 -07:00
Shane Smiskol ff20b5955f Kia Ceed: fix eps ECU type (#24767)
should be eps
old-commit-hash: abef7ca32cac34fd15cb17e1fafb96e961486ba3
2022-06-07 22:43:09 -07:00
Jason Young 99c8bd117f VW MQB: Add FW for 2020 Volkswagen Tiguan (#24777)
old-commit-hash: ce6b8f6a461d864d52ef8c6a00466d951aecbdd6
2022-06-07 21:57:15 -07:00
Shane Smiskol fa9528e119 IsoTpParallelQuery: handle response pending (#24724)
* handle response pending

* match commit

* remove total timeout, just keep track of individual response timeouts

* fix

* add back total timeout

* this isn't reliable enough

* keep track of pending responses to print warning

* tx_addr is (addr, subaddr)

* debug

only query hyundai

import time

reponse pending

no cache

all cars

no timeout to test before

* Revert "debug"

This reverts commit abe9cfc1b668034d7fa5ca5cbe9efe8834db3e7b.

* always print pending

always debug

* Only debug

* Update selfdrive/car/isotp_parallel_query.py

* remove variable only for debugging
old-commit-hash: 30e1f282134f7693a451e783b1d2d8ee68a79c06
2022-06-07 17:49:07 -07:00
Jason Shuler f392d45f41 GM: interface cleanup (#24774)
* Move all defaults above models

* Remove reduntant/defaults

* make minEnableSpeed common

* Update selfdrive/car/gm/interface.py

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

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b95c449847da37809ab3cd9a582cd910a612a1cf
2022-06-07 17:23:08 -07:00
Shane Smiskol 8fd06495b8 Honda: rename Bosch harness to Bosch A
old-commit-hash: bdc05fd13cdbdb4879fbadf5d5262bd8236b3243
2022-06-07 17:18:03 -07:00
Adeeb Shihadeh d25c537b8b UI: remove DM icon (#24771)
old-commit-hash: 4d836c6edd6e0f2639a3e2500794990da339eddc
2022-06-07 13:59:48 -07:00
Gijs Koning 2fabc9d509 Laikad: Use process for parsing orbits (#24769)
* Use Process instead of Thread to fetch orbits

* small refactor

* Cleanup
old-commit-hash: e7234e22b4d11cc8f349d02855df9b3414096c0d
2022-06-07 20:55:39 +02:00
ClockeNessMnstr 52a28d8938 update DH names + notes for MPC output curvatures (#24701)
* update names + notes for MPC outputs

"current_curvature" is not the correct description of what the MPC is outputting in it's curvature_ego state.
The MPC is integrating it's free variable, curvature_rate, such that curvature[0] is actually the desired_curvature before any delay.
inversely: the curvature_rate_desired is the desired rate of change to the setpoint and not the actual curvature rate. 

If we were to set the initial curvature = measured curvature in the MPC initiation these names would be correct. 
This was possibly how it was initially set up but the nomenclature here is now confusing.

* more notes

* match

* Clarify #1
old-commit-hash: b215d611b1adf5ea2b93e6628936f2e73539f34f
2022-06-07 09:41:03 -07:00