Commit Graph

12534 Commits

Author SHA1 Message Date
Willem Melching cdc7a6dbea enable laikad (#25013)
* enable laikad

* increase logprint for onroad test
2022-07-01 08:26:41 -07:00
Gijs Koning f10283072e Laikad: dont log when filter is not initialized 2022-07-01 16:51:07 +02:00
Gijs Koning 12f8237bfb process replay: Fix setting environment vars (#25015)
Fix setting environments in process replay
2022-07-01 16:50:18 +02:00
Willem Melching c8e5912b61 bump laika 2022-07-01 16:43:44 +02:00
Gijs Koning 20ccfed9c1 laikad: Improve logging, fix warning and more exception handling (#25005)
* change logs and add some debugging. Add test

* Less logging and better check for exceptions when parsing orbits

* Fix debug log and fix kf initialization
2022-07-01 07:43:36 -07:00
Yu Yamaguchi b51a90b5a8 Mazda: add missing FW version for CX-5 2022 (#24925) 2022-06-30 23:35:37 -07:00
TheWizard1328 c21ee5b764 Chrysler: add missing 2022 Pacifica Hybrid fingerprint (#24685)
* Added 2022 PacHy info

Didn't really need to add this but thought it would be useful.

* Added 2022 PacHy info

* Added 2022 PacHy info

Added 2022 PacHy FP

* add to current platform

* generate docs

* should only need this

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-30 20:06:49 -07:00
Shane Smiskol ab8592187f Chrysler Pacifica 2019 is supported (#25010)
19 is secretly supported
2022-06-30 17:55:22 -07:00
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
Adeeb Shihadeh 61d21ff00a update release notes 2022-06-30 15:52:53 -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
Maxime Desroches 2027d5311d tools: add support for nv12 in compressed_vipc (#24962)
reshape for nv12
2022-06-30 15:03:15 -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
Dean Lee d13137a83f camerad: reduce cpu usage (#24993)
wait for 50ms
2022-06-30 11:29:25 +02:00
Dean Lee e20d2cfa9b Camerad: small cleanup (#24992)
* remove CameraExpInfo

* remove release callback
2022-06-30 11:05:49 +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 1ac1fe632f swaglog.cc/cloudlog_common: pass json object by reference (#24996)
* pass json object by reference

* space between functions
2022-06-30 10:59:08 +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
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