Commit Graph

8898 Commits

Author SHA1 Message Date
realfast 38ff2982eb Chrysler: carState signals update (#24760)
* carstate update

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-30 17:27:35 -07:00
Shane Smiskol d2c2154a32 Clean up CarControllers (#25008)
* do VW

* Do the rest

* unused

* ford cc formatting

* final clean ups

* also just return update output
2022-06-30 17:23:12 -07:00
Jason Shuler 9279c02258 GM: prep and cleanup for future ports (#24910)
* Interface radarOffCan set, comments

* pass pcmCruise value to common events

* add transType and networkLoc to iface

* carstate use transtype to detect EV

* ctrl: limit sends by config

* Add clarifying comments for new vals

* clean up

* comment on new line

* these have the same frequency

* remove 25hz

* add to upper comment

* update refs

* update refs

* move into same block

move into same block

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-30 15:47:26 -07:00
Adeeb Shihadeh 11b5d51da6 remove mypy ignore from a few scripts 2022-06-30 15:36:40 -07:00
Jason Shuler 8b32e1b060 GM: Lower LKA loopback CAN Error timing threshold to accommodate dropped packets (#24927)
* LKA loopback timing to 10Hz

* Typo

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

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-06-30 15:26:25 -07:00
Shane Smiskol f0062f6242 Toyota: fix BSM detection (#24964)
* revert to 1 second

* Revert "revert to 1 second"

This reverts commit 6ab3f75cb73fdfe254431c479b6d337030b0d538.

* Revert "remove toyota can fingerprinting exceptions (#22803)"

This reverts commit d8f5e8b7a4.

fix static analysis

* Revert "Revert "remove toyota can fingerprinting exceptions (#22803)""

This reverts commit fc359fc9b2db146d77b6533be9e7434f08a665df.

* 1 second for all brands

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-30 15:01:52 -07:00
HaraldSchafer dd43ae2856 Full localizer: Use standard naming conventions (#25007)
Use standard naming conventions
2022-06-30 14:49:17 -07:00
Gijs Koning c49f997be5 Add laikadOffline subtest to process replay. (#24995)
* Add subtests to process replay.
Adds laikadOffline subtest

* Update cpp.

* Update ref

* Update ref again

* Update ref again

* update ref

* Fix disabling fetching orbits

* Add proc name to event exception

* update ref

* Update setup_env

* Fix offline test and update refs
2022-06-30 08:39:12 -07:00
Willem Melching ca800da895 cameraview.cc: qInfo -> qDebug 2022-06-30 14:25:32 +02:00
Willem Melching af7d3c115a cameraview.cc: prev_frame_id static -> class member 2022-06-30 14:22:55 +02:00
Willem Melching 30ddadc8b4 test onroad: lower camerad cpu usage 2022-06-30 13:25:42 +02:00
Shane Smiskol 7178800d84 Multilang prerequisites (#24999)
* some supporting code for multilang

* for now just english

* test for missing language files

* test for checking if ts file is up to date

* Skip test if causes exception, other test catches this

Test test

Should also work

should now fail

revert

rmn

* add to files_common

* fix files_common

* newlines

* no need to not update

* comment

* only english

* double quotes

* switch around
2022-06-30 11:02:53 +02:00
Dean Lee b3f4e94169 remove selfdrive/common (#24997) 2022-06-30 10:58:37 +02:00
Dean Lee 867a1cf35a ui: replace line_vertices_data with QPolygonF (#25001)
use QPolygonF

use push_front
2022-06-30 10:57:47 +02:00
Dean Lee 8d53e2c2b4 Multilang: remove redundant QString() around tr() (#25003)
remove qstring
2022-06-30 10:55:49 +02:00
Shane Smiskol f79b068a71 Honda Civic 2022: remove LKAS fault reinitialization (#24979)
* no lkas problem

* remove frame
2022-06-29 20:31:22 -07:00
Shane Smiskol 879a7c3201 UI: wrap all text for translation (#24961)
* rough multiple language demo

* more wrappings

* stash

* add some bad translations

* updates

* map from french to spanish still has same problem of needing to call setText on everything

* add files

* restart UI

* use return code

* relative path

* more translations

* don't loop restart

* Toggle and prime translations

* try on device

* try QComboBox with readable style

* stash

* not yet scrollable

* stash

* dynamic translations (doesn't work for dynamic widget strings yet)

* clean up multiple option selector

* store languages in json

* try transparent

* Try transparent popup

* see how this looks

* tweaks

* clean up

* clean up

* clean up 2 and missing tr

* wrap more strings

* missing updater

* fixes

* add basic test to ensure all strings wrapped

* try in CI

* clean up

* test name

* fix test

* always install qt dev tools

* fix deps

* fast test

* add section so it prints multiple errors

* debug

* debug

get rid of those

* make any difference?

* comment

* oh...

* run with offscreen platform

* try out section

* clean up

* fix missing wrappings (it works!)

* move down

* space

* clear relevant params, set TICI=1
2022-06-29 14:47:46 -07:00
Shane Smiskol 4db3ca4cf2 Toyota: Add missing 2021 RAV4 TSS2 esp FW (#24989)
Add missing Canadian TRD 2021 RAV4
2022-06-28 20:38:08 -07:00
Shane Smiskol 75f5282e83 Chrysler: fix steering angle signals (#24926)
* Chrysler_Update

* only steering

* revert other changes for now

only steering

* bump

* Update ref_commit

* bump opendbc

* update refs

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-28 14:19:17 -07:00
Willem Melching 712445c531 build.py: remove retry logic (#24986) 2022-06-28 17:39:22 +02:00
Dean Lee fd5b3d7603 move replay from selfdrive/ui/replay to tools/replay (#24971)
* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
2022-06-28 16:12:42 +02:00
Willem Melching 338df150d5 ui: disable sync with model until more stable (#24984) 2022-06-28 15:48:57 +02:00
Willem Melching 005bc44df6 laikad: use cython filter (#24983)
use cython filter
2022-06-28 14:29:41 +02:00
Willem Melching 3823f55476 add laikad to process replay (#24889)
* merge

* Fix closing process executor after fetching orbits

* cleanup

* Add ref commit and revert test_processes hack

* Fix

* Fix ref

* Fix test

* Temp

* Temp

* Trying

* Trying

* Cleanup and change test

* add ref commit

* remove print

* fix test getting stuck

* cleanup fetch_orbits

Co-authored-by: Gijs Koning <gijs-koning@live.nl>
2022-06-28 13:43:15 +02:00
Gijs Koning fdc22554b8 Update rednose: use EKF_sym_pyx (#24978)
* Update rednose

* Update rednose

* cleanup
2022-06-28 11:32:51 +02:00
Shane Smiskol d693285b02 Power Monitoring test: fix exceptions (#24981)
* fix missing POWER_DRAW

* think should be 0
2022-06-28 01:09:52 -07:00
Shane Smiskol 3a2bcc092c onroad UI: fix onroad double tap (#24982)
* The default implementation calls mousePressEvent().

* no sidebar when entering body

* wrong one

* you can't double tap with body anyway (fixes inconsistencies with prime vs not prime)

* hide sidebar
2022-06-28 01:08:11 -07:00
HaraldSchafer b3226d505b Torque control: higher low speed gains and better steering angle deadzone logic (#24980)
* Try no friction and no deadzone

* Learn fromd ata

* update refs
2022-06-27 15:25:47 -07:00
Shafiqur R. Khan aaca31b73e 2022 RAV4 XLE engine FW (#24973)
Update values.py

Added ecu.engine address for 2022 RAV4 XLE (ICE) bought in Edmonton, Canada
2022-06-27 13:10:57 -07:00
Willem Melching b95e687782 split locationd and liblocationd tests (#24977)
* laikad: use cython version of gnss kf

* fix import error

* test liblocationd separate

* Revert "laikad: use cython version of gnss kf"

This reverts commit bdd769b9554e7e45e976dabd6595403943e864bb.
2022-06-27 21:31:54 +02:00
Willem Melching 915b4928ff ui: use current calibration to center vanishing point (#24955)
* compute x and y offsets using calibration

* fix default calibration

* clamp to max values

* only use when valid

* not while calibrating

* less diff

* cleanup zoom
2022-06-27 16:03:26 +02:00
Willem Melching de0c12e5af calibrationd: start faster by not waiting for carParams (#24976)
* calibrationd: start faster by not waiting for carParams

* fix process replay

* update ref
2022-06-27 15:34:36 +02:00
Robbe Derks 684d4b75a1 Log SOM power draw (#24975)
* log SOM power draw

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-06-27 15:33:46 +02:00
Dean Lee 0aa9ae21d4 FfmpegEncoder: free codec_ctx in encoder_close (#24967)
free context
2022-06-27 11:20:13 +02:00
Dean Lee 748bbac344 loggerd: remove rotate_lock (#24969)
remove lock
2022-06-27 11:19:46 +02:00
Dean Lee 461f747247 logger.cc: remove unused function append_property (#24966)
remove append_property
2022-06-27 11:18:56 +02:00
Shane Smiskol 72edc30932 Hyundai: remove bad esp fingerprint (#24952)
Remove unknown "esp" fp
2022-06-25 03:07:29 -07:00
Shane Smiskol 10fb2b9456 Speed up YAML parsing with CSafeLoader (#24958)
Use CSafeLoader
2022-06-24 15:16:46 -07:00
Adeeb Shihadeh 062a8bcdbd cleanup torque tuning config (#24951) 2022-06-24 13:01:49 -07:00
Jason Young e26db5dc91 VW MQB: Add FW for 2016 Volkswagen Passat (#24957)
* VW MQB: Add FW for 2016 Passat B8
Passat B8 TDi 2.0 240HP DSG 7 Europe

* mechanical sort

Co-authored-by: Pierre Christen <netadvanced@gmail.com>
2022-06-24 12:32:01 -07:00
Gijs Koning b854e67e91 Laikad: minor refactor (#24956)
extract code to get_est_pos func
2022-06-24 17:56:33 +02:00
Adeeb Shihadeh 1dffd48a2b count_events improvements 2022-06-23 15:07:34 -07:00
Adeeb Shihadeh 221086857a EV6: adjust steering thresholds (#24901)
* EV6: adjust steering thresholds

* Is there any friction

* bump panda

* no friction

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-06-23 13:58:01 -07:00
HaraldSchafer d8bfe2f005 Cleanup car interfaces (#24948)
* remove interface overrides

* Fix test

* set torque tune for ev6
2022-06-22 19:20:07 -07:00
HaraldSchafer 2deaf69789 Refactor torque stuff (#24921)
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
2022-06-22 15:58:06 -07:00
Shane Smiskol fb949779ae Chrysler: fill cruiseState.available (#24907)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-22 15:13:09 -07:00
ZwX1616 a0c114b8b0 DM: track RHD predictions (#24947)
* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* Revert "remove from params"

This reverts commit a08df0b4921e03deac24f4da2c0f1e9e9255a717.

* Revert "modeld not use toggle"

This reverts commit 2730bf8f57c8b057db2e4a76541e92880506cedd.

* Revert "remove"

This reverts commit 21f7cfaaee5452e53ee719762078cb153b3cc766.

* Revert "driverview"

This reverts commit 222d129711e6aa34c0468294b94f60ebbd1bb126.

* semi revert
2022-06-22 13:51:37 -07:00
Willem Melching 1908b89e29 remove Open Sans fonts from assets (#24946) 2022-06-22 20:41:24 +02:00
Willem Melching 05e7ce731f ui: change set speed, speed limit and current speed to Inter (#24932)
* ui: change set speed/speed limit to Inter

* switch current speed to Inter
2022-06-22 11:46:16 +02:00
Willem Melching 963de40211 ui: change sidebar font to Inter (#24931)
* change sidebar to inter

* clean up metric color rect radius

* fix text placement

* simplify rect placement
2022-06-22 11:46:00 +02:00