Commit Graph

6857 Commits

Author SHA1 Message Date
Dean Lee 8d53e2c2b4 Multilang: remove redundant QString() around tr() (#25003)
remove qstring
2022-06-30 10:55:49 +02:00
Greg Hogan e643f8e681 docs: ssh.comma.ai (#25000) 2022-06-30 10:52:56 +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
Willem Melching bef5350fa3 don't log LaikadEphemeris in initData 2022-06-29 12:19:37 +02:00
Willem Melching 67cf20977d bump cereal 2022-06-29 11:36:03 +02:00
Dean Lee e0cd3bf5fc framereader.cc: remove nv12toyuv_buffer (#24991)
remove nv12toyuv_buffer
2022-06-29 11:27:37 +02: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
Willem Melching 42d51a1b95 Properly pass KF dependencies to rednose (#24985)
* Fix rednose dependencies

* bump rednose

* bump rednose
2022-06-28 17:20:37 +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
Willem Melching 4cf63f4758 bump rednose 2022-06-28 11:59: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
Maxime Desroches 240c44e50c snapshot: fix rgb overflow (#24963)
clamp rgb
2022-06-27 15:36:27 +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 379dc24eca can replay: get logs in parallel (#24960)
* get can replay segs in parallel

* total not needed
2022-06-24 16:49:56 -07:00
Shane Smiskol 10fb2b9456 Speed up YAML parsing with CSafeLoader (#24958)
Use CSafeLoader
2022-06-24 15:16:46 -07:00
ZwX1616 6721f0ef57 fix carla test fake driverState (#24959)
use driverstatev2
2022-06-24 14:29: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
Robbe Derks 5cd8bef921 use correct tty device for serial 2022-06-24 12:37:30 +02:00
Ayushman Kumar 3b495fcb0b Navd added to README (#24953) (#24954)
* Navd added to README

* Update README.md

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-06-24 11:02:48 +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
Adeeb Shihadeh 569a39ff76 CANParser: invalid until valid (#24945)
* CANParser: invalid until valid

* bump opendbc

* bump opendbc

* fix counter in sim
2022-06-22 15:38:38 -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
Willem Melching 88f246b909 ui: change alerts to Inter (#24937)
* ui: change alerts to Inter

* fix up test
2022-06-22 11:45:38 +02:00
Shane Smiskol 789f2d195c compatibility docs: fixup steering torque star (#24940)
* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs
2022-06-22 01:03:29 -07:00