Commit Graph

5597 Commits

Author SHA1 Message Date
Adeeb Shihadeh ecfe4a336d Chrysler: interface cleanup (#24884)
* Chrysler: interface cleanup

* little more
old-commit-hash: 88a80983a45e043e2d0fca2bc70c53beca256afe
2022-06-16 17:50:51 -07:00
grekiki cc0ba78b69 More accurate jerk limits (#24755)
* More accurate jerk limits

* Min is not - max

For example max_curvature_rate can be negative.

* reduce diff
old-commit-hash: b941b39c56db2d9d7f756cb0949ef6a7cf61774a
2022-06-16 10:47:53 -07:00
Gijs Koning fc062222d4 Cast gpstimeofweek to int
old-commit-hash: d4886b2c2995db88d9bc9f7d7cf3f7cb9def5b12
2022-06-16 19:41:51 +02:00
Willem Melching c0abd08f13 navd: handle maxspeed being none (#24871)
* navd: handle maxspeed being none

* none is encoded like this
old-commit-hash: a875afd5639d6e1ac24baa4de047cb8a2988a953
2022-06-16 18:18:03 +02:00
Gijs Koning 226edb4918 laikad: fixes to run on device (#24879)
* Always run laikad on device!

* Update laika

* Update laika

* Fix gps week and time of week in msg

* Reset kalman filter if pos_fix or last_known_position

* put behind file

* move pr parsing into common file

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dc98511b7a7092e969237655b6e08e4fa857106d
2022-06-16 17:45:08 +02:00
Willem Melching 7fce9f4fdf ui: disable controls unresponsive alert on PC
old-commit-hash: 2699bae778fa7d9a4d40cf169b1eb56c74cb22c8
2022-06-16 16:07:04 +02:00
Gijs Koning 4b338d69db Laikad: More logging and use last_pos_fix for correcting (#24868)
Use last available pos_fix for correcting measurements.
Improve logging measurements
old-commit-hash: 5958e78037e468795e0db8d42d5209e1e41aec18
2022-06-16 06:21:33 -07:00
Shane Smiskol 4c1b0696c0 Mazda: fix resume spam at standstill (#24876)
* Fix Mazda resume spam at standstill

* one line

* Revert "one line"

This reverts commit 30c6504ed36adb92991acd6ebf42ffd6fe6c3b8c.
old-commit-hash: 5aaf5be54c544a822483ad3e7c354fdb89cae45c
2022-06-16 01:47:29 -07:00
Jason Young 76ee4a73dd VW MQB: Populate stock ACC standstill flag (#24877)
* VW MQB: Populate stock ACC standstill flag

* it really do be like that sometimes
old-commit-hash: 76593b1da02cae7165aaa699fd7ea807558751b0
2022-06-15 22:50:39 -07:00
Shane Smiskol fe2f1901c2 thermald: fix panda dropout when we miss a pandaStates (#24870)
immediate fix for "panda dropout"
old-commit-hash: e910ce87a44884a3f216fbced306e8d3124a04de
2022-06-15 21:42:54 -07:00
Adeeb Shihadeh 172df03c8d HKG: simplify Kia K5 compatibility (#24810)
LKAS/LFA is standard on the K5
old-commit-hash: 725ccc01798c7f4b3278cc34525f99a6344e52aa
2022-06-15 18:01:02 -07:00
HaraldSchafer b0b1aff5cc 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>
old-commit-hash: 9283040d847b120fdf7759d5bd12000863e12f73
2022-06-15 15:29:42 -07:00
Harald Schafer 07c859d384 Revert "Update model ref"
This reverts commit de5133d5378448a18e1e829ac2136cba07f4e346.

old-commit-hash: c851cf737931cba16909b2fe20ffec4858acd374
2022-06-15 11:33:59 -07:00
Harald Schafer 1d4ba4670b Update model ref
old-commit-hash: efc8aa05b4573f9ac96d518fbf04b6d799e487d0
2022-06-15 11:32:26 -07:00
Willem Melching c9e3c42e6c 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>
old-commit-hash: fa4f017bbe6c117913ec2327e9129c70b3e47223
2022-06-15 18:03:15 +02:00
Lee Jong Mun 0ff374975e selfdrive/ui/qt/util.cc: missing include (#24867)
old-commit-hash: 41721917239e8eac314a2dc6c64cfb4695ff460e
2022-06-15 17:35:46 +02:00
Willem Melching 05e1412dd0 networking.cc: remove resolved TODO
old-commit-hash: bb02c1c5158b3403e7d2395611d2db1ab44aed5e
2022-06-15 16:19:04 +02:00
Lee Jong Mun bcca0281df 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>
old-commit-hash: d2400150e51833678f8c216c0c605111cfa13018
2022-06-15 16:16:18 +02:00
Lee Jong Mun 35272ee466 ui: add black color define (#24866)
old-commit-hash: 849ec17b20f8cae7f6fd6589456d7b00b07e794b
2022-06-15 16:10:56 +02:00
Gijs Koning 36c48c1683 Laikad: Remove bearingDeg from message (#24864)
* Remove bearingDeg from message.

* Push cereal

* Commit cereal
old-commit-hash: 9e3d0e3c9cea4dcf2da10801aad041b1dd65cccb
2022-06-15 05:00:27 -07:00
Willem Melching 98742302c1 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
old-commit-hash: d528cd556848404891e28b3342d146498e3991cc
2022-06-15 13:06:46 +02:00
Gijs Koning 61dcb8729c 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
old-commit-hash: c3fa9151f39994984b60a19cdd7425dba73ec2fc
2022-06-15 02:32:07 -07:00
Shane Smiskol 87b6182aac 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>
old-commit-hash: b86ef0b70e81ef4e895d5102feb231dc3d43265f
2022-06-14 23:30:35 -07:00
HaraldSchafer 5e002bff96 Torque control: low speed boost (#24859)
* Make very low speed more aggressive

* Less extreme low speed boost

* Update ref
old-commit-hash: a6652a539d8d4ba614b216900c472cc9e2e58a05
2022-06-14 22:29:08 -07:00
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