Commit Graph

7421 Commits

Author SHA1 Message Date
HaraldSchafer
2c877ce490 Long e2e planner: better xva weights (#24893)
better long xva weights
2022-06-17 10:35:24 -07:00
Willem Melching
b701ea33ce replay: no HW decoder, fix UV stride 2022-06-17 16:27:05 +02:00
Adeeb Shihadeh
7c826b4fa1 add param to override carParams.dashcamOnly (#24857)
* add param to override carParams.dashcamOnly

* little cleaner
2022-06-17 11:56:04 +02:00
Willem Melching
cd87772e03 live_cpu_and_temp: handle duplicate proc names 2022-06-17 11:52:30 +02:00
Shane Smiskol
5dce006a82 regen: send wideRoadCameraState (#24863)
* fix camera malfunction

* revert

* send in one process to fix frames out of sync

* not used

* revert

* fix and add --no-upload for CI testing

* fingerprint if source is fw

* no FW versions
2022-06-16 22:41:13 -07:00
Shane Smiskol
1b0167ce24 Chrysler: use universal gas and brake signals (#24886)
* Chrysler_Update

* Update signal names

* bump panda

* bump submodules

* bump panda to master

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-16 22:34:07 -07:00
Shane Smiskol
6c02e554e7 VW FPv2: reduce number of ECU queries (#24706)
* only send valid/needed queries

* just do volkswagen

* clean up

* add parameter name

clean up

* add test for whitelist

* rename

* Update selfdrive/car/fw_versions.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

* fix test

* log response addresses

* bump cereal

* handle response pending with IsoTpParallelQuery

* remove response pending stuff

* temporarily disregard cache for easier testing

* revert this

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
2022-06-16 20:23:25 -07:00
Adeeb Shihadeh
88a80983a4 Chrysler: interface cleanup (#24884)
* Chrysler: interface cleanup

* little more
2022-06-16 17:50:51 -07:00
grekiki
b941b39c56 More accurate jerk limits (#24755)
* More accurate jerk limits

* Min is not - max

For example max_curvature_rate can be negative.

* reduce diff
2022-06-16 10:47:53 -07:00
Gijs Koning
d4886b2c29 Cast gpstimeofweek to int 2022-06-16 19:41:51 +02:00
Willem Melching
a875afd563 navd: handle maxspeed being none (#24871)
* navd: handle maxspeed being none

* none is encoded like this
2022-06-16 18:18:03 +02:00
Gijs Koning
dc98511b7a 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>
2022-06-16 17:45:08 +02:00
Willem Melching
2699bae778 ui: disable controls unresponsive alert on PC 2022-06-16 16:07:04 +02:00
Gijs Koning
5958e78037 Laikad: More logging and use last_pos_fix for correcting (#24868)
Use last available pos_fix for correcting measurements.
Improve logging measurements
2022-06-16 06:21:33 -07:00
Shane Smiskol
5aaf5be54c Mazda: fix resume spam at standstill (#24876)
* Fix Mazda resume spam at standstill

* one line

* Revert "one line"

This reverts commit 30c6504ed36adb92991acd6ebf42ffd6fe6c3b8c.
2022-06-16 01:47:29 -07:00
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