Commit Graph

5156 Commits

Author SHA1 Message Date
Jason Young 76593b1da0 VW MQB: Populate stock ACC standstill flag (#24877)
* VW MQB: Populate stock ACC standstill flag

* it really do be like that sometimes
2022-06-15 22:50:39 -07:00
Shane Smiskol e910ce87a4 thermald: fix panda dropout when we miss a pandaStates (#24870)
immediate fix for "panda dropout"
2022-06-15 21:42:54 -07:00
Adeeb Shihadeh 725ccc0179 HKG: simplify Kia K5 compatibility (#24810)
LKAS/LFA is standard on the K5
2022-06-15 18:01:02 -07:00
HaraldSchafer 9283040d84 Rocket league model (#24869)
* dd9a502d-c8e2-4831-b365-804b0ae0739d/600 80041070-d276-4fed-bdb9-0075e5442908/420

* no elementwise op

* 9dabf0fe-2e60-44bf-8d3a-d20a74aca072/600 ae746590-0bb5-4a16-80db-15f02d314f03/300 c4663a12-b499-4c9b-90dd-b169e3948cb1/60

* explicit slice

* some copies are useful

* 1456d261-d232-4654-8885-4d9fde883894/440 c06eba55-1931-4e00-9d63-acad00161be0/700 af2eb6ba-1935-4318-aaf8-868db81a4932/425

* 154f663e-d3e9-4020-ad49-0e640588ebbe/399 badb5e69-504f-4544-a99e-ba75ed204b74/800 08330327-7663-4874-af7a-dcbd2c994ba7/800

* set steer rate cost to 1.0

* smaller temporal size

* Update model reg

* update model ref again

* This did upload somehow

* Update steer rate cost

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
2022-06-15 15:29:42 -07:00
Harald Schafer c851cf7379 Revert "Update model ref"
This reverts commit efc8aa05b4.
2022-06-15 11:33:59 -07:00
Harald Schafer efc8aa05b4 Update model ref 2022-06-15 11:32:26 -07:00
Willem Melching fa4f017bbe laikad: calc_pos_fix numpy implementation (#24865)
* Replace posfix with gauss newton method

* Cleanup

* Check if glonass is in the list

* Fix

* also return residual

* Add residuals

* Update selfdrive/locationd/laikad.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Cleanup

Co-authored-by: Gijs Koning <gijs-koning@live.nl>
2022-06-15 18:03:15 +02:00
Lee Jong Mun 4172191723 selfdrive/ui/qt/util.cc: missing include (#24867) 2022-06-15 17:35:46 +02:00
Willem Melching bb02c1c515 networking.cc: remove resolved TODO 2022-06-15 16:19:04 +02:00
Lee Jong Mun d2400150e5 ui: advanced network settings fix button colors and sizes (#24846)
* ui: button pressed color add

* match colors from other buttons

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-06-15 16:16:18 +02:00
Lee Jong Mun 849ec17b20 ui: add black color define (#24866) 2022-06-15 16:10:56 +02:00
Gijs Koning 9e3d0e3c9c Laikad: Remove bearingDeg from message (#24864)
* Remove bearingDeg from message.

* Push cereal

* Commit cereal
2022-06-15 05:00:27 -07:00
Willem Melching d528cd5568 UI: new set speed design, show speed limits (#24736)
* basic US design

* place based on center position

* fix typo

* eu sign without rounded box

* same as steering wheel icon

* proper rounded bottom for eu sign

* add border

* proper placement/sizes

* needs to be semi bold

* color changes

* only when engaged

* move helpers into util.h

* Fix MAX placement

* only change color when at least 5 over

* implement override state

* pixel perfect spacing around us sign
2022-06-15 13:06:46 +02:00
Gijs Koning c3fa9151f3 Laikad: Cache orbit and nav data (#24831)
* Cache orbit and nav data

* Cleanup

* Cleanup

* Use ProcessPoolExecutor to fetch orbits

* update laika repo

* Minor

* Create json de/serializers
Save cache only 1 minute at max

* Update laika repo

* Speed up json by caching json in ephemeris class

* Update laika

* Fix test

* Use constant
2022-06-15 02:32:07 -07:00
Shane Smiskol b86ef0b70e regen & process replay: support no disengage on accelerator (#24850)
* ACC on if enabled != 0

* small regen clean up and add HONDA3

* fixes

* revert unneeded changes

* not used

* just alt exp

Co-authored-by: redacid95 <jonathanc.olivier@gmail.com>
2022-06-14 23:30:35 -07:00
HaraldSchafer a6652a539d Torque control: low speed boost (#24859)
* Make very low speed more aggressive

* Less extreme low speed boost

* Update ref
2022-06-14 22:29:08 -07:00
Jason Shuler f8f4337fb3 GM: add support for vehicles with manual parking brakes (#24766)
Switch to general park brake signal
2022-06-14 17:28:15 -07:00
George Hotz 7a6f57a28e 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>
2022-06-14 15:46:03 -07:00
Shane Smiskol 170ed3d761 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
2022-06-14 12:03:30 -07:00
Shane Smiskol a78197ab1a Move RAV4 2022 out of bronze 2022-06-13 21:49:50 -07:00
HaraldSchafer dbfe923ecc 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
2022-06-13 19:08:09 -07:00
Shane Smiskol 25eafa9626 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>
2022-06-13 18:42:47 -07:00
HaraldSchafer be13fc71f1 Couple more cars to torque tune (#24848)
* try sonata on torque tune

* Couple known cars to torque control

* fix

* more fix
2022-06-13 16:54:32 -07:00
Adeeb Shihadeh cbd404b954 Revert "thermald: consider pmic in component temp management (#24708)"
This reverts commit c8c21baf50.
2022-06-13 16:38:32 -07:00
Shane Smiskol 566de12671 Toyota Camry TSS2: update torque control params (#24819)
Use updated accel and friction values for TSS2 Camry
2022-06-13 09:29:28 -07:00
Willem Melching 7bca95dbb8 navd: speed limits only when localizer is valid (#24845) 2022-06-13 16:44:38 +02:00
Willem Melching fb068f04f5 camerad: remove unused SubMaster (#24844) 2022-06-13 16:43:50 +02:00
Gijs Koning a2d2378ee1 Laikad: process executor to fetch orbits (#24843)
* Use ProcessPoolExecutor to fetch orbits

* update laika repo

* Minor
2022-06-13 05:02:31 -07:00
Joost Wooning 1221aef233 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>
2022-06-13 12:27:47 +02:00
Gijs Koning 724b322909 Laikad: Use filter for correcting measurements (#24824)
* Update laikad.

* Update log error
2022-06-13 02:45:35 -07:00
Adeeb Shihadeh 39da6912ea misc jenkins fixups (#24840)
* bump cereal

* remove that

* pull cl image

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

* timezoned

* logmessaged

* version.py

* fix linter
2022-06-11 23:19:27 -07:00
Adeeb Shihadeh 1139fe507b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
2022-06-11 16:38:24 -07:00
Maykon Pacheco 1847a70a47 test for the strip_bz2_extension method (#24826) 2022-06-11 11:08:24 -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
HaraldSchafer 843e59f6f0 Misc torque control fixes (#24801)
* Fiction compensation should be based on error

* Update refs

* Add deadzone

* update ref
2022-06-10 22:52:48 -07:00
Shane Smiskol 88a100435f 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
2022-06-10 22:52:34 -07:00
AlexandreSato f398b3efc9 Fix Lexus NX Hybrid 2020 engine ecu (#24817)
Wrong address in engine ecu.
2022-06-10 18:45:32 -07:00
HaraldSchafer 3066ad81a8 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>
2022-06-10 17:57:23 -07:00
Shane Smiskol 6618d2bebe Add missing fw versions for 2019 Sonata (#24814) 2022-06-10 16:18:31 -07:00
ZwX1616 c646eeee0a Revert fullframe DM model (#24812)
* Revert "fullframe DM: flip RHD yaw to use matching thresholds"

This reverts commit 2ac6931003.

* Revert "fullframe DM model (#24762)"

This reverts commit d6c07a6b15.

* revert cereal
2022-06-10 16:16:46 -07:00
Adeeb Shihadeh 66bc246210 count events: add simple camera debugging 2022-06-10 16:10:06 -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
Adeeb Shihadeh 53724e8b6c bypass HDA2 dashcam with file (#24803)
Co-authored-by: Comma Device <device@comma.ai>
2022-06-09 19:29:54 -07:00
Shane Smiskol 1b402687e4 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
2022-06-09 18:51:34 -07:00
Shane Smiskol 47f80e7add 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>
2022-06-09 17:44:58 -07:00
Adeeb Shihadeh 86ce2f8d4d Revert "UI: remove DM icon (#24771)"
This reverts commit 4d836c6edd.
2022-06-09 17:39:39 -07:00
Griffin Christenson 1fe582686f 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
2022-06-09 16:34:05 -07:00
ZwX1616 2ac6931003 fullframe DM: flip RHD yaw to use matching thresholds 2022-06-09 15:23:29 -07:00