Commit Graph

5597 Commits

Author SHA1 Message Date
Shane Smiskol 399b7e00f2 regen migration: use Panda safety parameters (#25043)
no magic numbers
old-commit-hash: f21b56f25af5ee0930dc8f991aac4e9c438b3cda
2022-07-05 20:04:48 -07:00
martinl 163599aaad Subaru: XV is supported (#25034)
* Subaru: add XV to supported models

* Update docs
old-commit-hash: eaa8b08510057c089520f4ba410218be261c9158
2022-07-05 16:42:53 -07:00
Adeeb Shihadeh 256d6390fd Chrysler: prep for Ram port (#25040)
* Chrysler: prep for Ram port

* bump opendbc

* opendbc master

* bump panda
old-commit-hash: 88a30004e0bf96601e5b8fc4c084219c52a46e15
2022-07-05 16:40:47 -07:00
Willem Melching 297a0bd65b controlsd: avoid lag on first iteration due to get_short_branch (#25031)
* controlsd: avoid lag on first iteration due to get_short_branch

* always cache
old-commit-hash: d4cc13c88a8a9a9215777709fe2eccade1fd0ccd
2022-07-04 17:13:30 +02:00
Dean Lee da42de3d6a settings.cc: remove function network_panel (#25030)
remove function network_panel
old-commit-hash: 5f794fe49a1e0f2849e6a979c7bd12ca5ddb060a
2022-07-04 13:55:00 +02:00
HaraldSchafer 316de57010 Torque control: max torque warning (#25018)
* New steer torque warning

* typo
old-commit-hash: 0c95493dc0cbc5d3dec59a50ac5476573041942d
2022-07-01 19:14:21 -07:00
Shane Smiskol b5ca722f34 car docs: remove steering torque hard-coding (#25019)
remove good torque hardcoding
old-commit-hash: e11bb76a6408c0ceeacd0b4dd7e6ccb7a133387a
2022-07-01 19:11:28 -07:00
Jason Shuler 2f3e4b1b67 GM: values.py cleanup & minor updates (#24908)
* Comment update on static limits

* Astra FP cleanup

* DBC autogen & customizable

* Add new Escalade FP, disable bad

* Add DROPPED CanBus value

* Update/cleanup CarInfo

* DBC -> defaultdict

* Fix DBC typing issue

* Revert Escalade fix

* clean up

* comment spacing

* revert this for now

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fcc5b3d70c14b05e642eda93a528f7583f986468
2022-07-01 13:45:32 -07:00
Gijs Koning 27e8adbbce Laikad: Allow fetching orbits every minute (#25016)
* Allow fetching orbits every minute

* Small cleanup
old-commit-hash: 8d6799d95a0a0ab9b2b0bc4ed6998abf6cabf266
2022-07-01 08:44:10 -07:00
Willem Melching 0c2afda822 enable laikad (#25013)
* enable laikad

* increase logprint for onroad test
old-commit-hash: cdc7a6dbea75f10316e45833be6bade9f2e1694d
2022-07-01 08:26:41 -07:00
Gijs Koning 518524641f Laikad: dont log when filter is not initialized
old-commit-hash: f10283072e4519ad95566dd0d54dbc7f52566f6d
2022-07-01 16:51:07 +02:00
Gijs Koning 554274d924 process replay: Fix setting environment vars (#25015)
Fix setting environments in process replay
old-commit-hash: 12f8237bfbdea668ae96ce6389cbe33ce1bea7f3
2022-07-01 16:50:18 +02:00
Gijs Koning 02ee2fd12d 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
old-commit-hash: 20ccfed9c1d75de2a589294a5407e15304fd3f4a
2022-07-01 07:43:36 -07:00
Yu Yamaguchi 26fbe40b10 Mazda: add missing FW version for CX-5 2022 (#24925)
old-commit-hash: b51a90b5a87e0b6388191f7cc5857af8d72e79de
2022-06-30 23:35:37 -07:00
TheWizard1328 967ca6c018 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>
old-commit-hash: c21ee5b76411de1bea1b95a0d71b48be879d7734
2022-06-30 20:06:49 -07:00
Shane Smiskol 2bd59d52ae Chrysler Pacifica 2019 is supported (#25010)
19 is secretly supported
old-commit-hash: ab8592187f36ea9fda6767e86a0651366c12c487
2022-06-30 17:55:22 -07:00
realfast dda0f8186e Chrysler: carState signals update (#24760)
* carstate update

* update refs

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

* Do the rest

* unused

* ford cc formatting

* final clean ups

* also just return update output
old-commit-hash: d2c2154a32db0876036f4f6b61b912de0c90fc5a
2022-06-30 17:23:12 -07:00
Jason Shuler 3931788747 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>
old-commit-hash: 9279c02258e7ab2f60b4e5ea0198bdcb757bf533
2022-06-30 15:47:26 -07:00
Adeeb Shihadeh 2445fdc4d0 remove mypy ignore from a few scripts
old-commit-hash: 11b5d51da61cac111fb4e5af3b1df6091d860dfc
2022-06-30 15:36:40 -07:00
Jason Shuler ce4ecc34d1 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>
old-commit-hash: 8b32e1b060e8c2c3c084393a569d4e78992ca598
2022-06-30 15:26:25 -07:00
Shane Smiskol 659b3e345d 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 55b51079705e0b7f2ef8acf5096c635b62f6648f.

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>
old-commit-hash: f0062f624260bcbdadeec643c993ac597b73c4fc
2022-06-30 15:01:52 -07:00
HaraldSchafer fa85de9f8b Full localizer: Use standard naming conventions (#25007)
Use standard naming conventions
old-commit-hash: dd43ae2856e144ec13eff462556d8e681aa57789
2022-06-30 14:49:17 -07:00
Gijs Koning 76aaef497b 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
old-commit-hash: c49f997be505760a18e85a241e6d45b98952c894
2022-06-30 08:39:12 -07:00
Willem Melching 917ea653e9 cameraview.cc: qInfo -> qDebug
old-commit-hash: ca800da8951f83892a3593b2203e74be6af53844
2022-06-30 14:25:32 +02:00
Willem Melching bfcd08324c cameraview.cc: prev_frame_id static -> class member
old-commit-hash: af7d3c115a4780ad734c3f3a8d0084dd506aefec
2022-06-30 14:22:55 +02:00
Willem Melching 1fc567d40b test onroad: lower camerad cpu usage
old-commit-hash: 30ddadc8b4d510c824221d2010e4aef853741a92
2022-06-30 13:25:42 +02:00
Shane Smiskol cb82e76c75 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
old-commit-hash: 7178800d844469601cb779d8f76b568ff82ac766
2022-06-30 11:02:53 +02:00
Dean Lee c470f85685 remove selfdrive/common (#24997)
old-commit-hash: b3f4e94169f459fc5cd6ad45fd69baffdef838da
2022-06-30 10:58:37 +02:00
Dean Lee 98046a880e ui: replace line_vertices_data with QPolygonF (#25001)
use QPolygonF

use push_front
old-commit-hash: 867a1cf35a200c10c9ea513140b74be04ce4bb83
2022-06-30 10:57:47 +02:00
Dean Lee 65e6ba763e Multilang: remove redundant QString() around tr() (#25003)
remove qstring
old-commit-hash: 8d53e2c2b4e549119538d1baf36d202dbe33d012
2022-06-30 10:55:49 +02:00
Shane Smiskol 23984f4098 Honda Civic 2022: remove LKAS fault reinitialization (#24979)
* no lkas problem

* remove frame
old-commit-hash: f79b068a71607700c4bbcc9e33f1bb2d10bb8e60
2022-06-29 20:31:22 -07:00
Shane Smiskol 2c5e890a23 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
old-commit-hash: 879a7c3201a037c27c92ad6b92143114f52f29d3
2022-06-29 14:47:46 -07:00
Shane Smiskol c288f0814f Toyota: Add missing 2021 RAV4 TSS2 esp FW (#24989)
Add missing Canadian TRD 2021 RAV4
old-commit-hash: 4db3ca4cf2eca777c1cff7cb5a3010569f6cc7d5
2022-06-28 20:38:08 -07:00
Shane Smiskol 9b6af2b6fc 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>
old-commit-hash: 75f5282e832a844aafccac3bfa53ffb029c53a2b
2022-06-28 14:19:17 -07:00
Willem Melching c3d47448f9 build.py: remove retry logic (#24986)
old-commit-hash: 712445c5314d0634e1f6a78a95901dd14ac6bc57
2022-06-28 17:39:22 +02:00
Dean Lee 2156e71e7a 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
old-commit-hash: fd5b3d76036b78864111790931a3abcb1d11ee0f
2022-06-28 16:12:42 +02:00
Willem Melching 403266fdb1 ui: disable sync with model until more stable (#24984)
old-commit-hash: 338df150d5112d4c6772edb797cb45370fdc3599
2022-06-28 15:48:57 +02:00
Willem Melching a643c2f597 laikad: use cython filter (#24983)
use cython filter
old-commit-hash: 005bc44df692acb3389924d362f5b761987c7c9d
2022-06-28 14:29:41 +02:00
Willem Melching 0071d28b7b 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>
old-commit-hash: 3823f55476b56fd3db0afe686b1d2f3d508817bc
2022-06-28 13:43:15 +02:00
Gijs Koning 6a83611df2 Update rednose: use EKF_sym_pyx (#24978)
* Update rednose

* Update rednose

* cleanup
old-commit-hash: fdc22554b8c2a2e4b9e0df91beddf469d735b399
2022-06-28 11:32:51 +02:00
Shane Smiskol 5fb25ccc7d Power Monitoring test: fix exceptions (#24981)
* fix missing POWER_DRAW

* think should be 0
old-commit-hash: d693285b02a0f005ce1d29793c8672ab2fe24a24
2022-06-28 01:09:52 -07:00
Shane Smiskol 0c32c661eb 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
old-commit-hash: 3a2bcc092c74925edb161959cdcc66073a9cd8f3
2022-06-28 01:08:11 -07:00
HaraldSchafer 2d945b2fd5 Torque control: higher low speed gains and better steering angle deadzone logic (#24980)
* Try no friction and no deadzone

* Learn fromd ata

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

Added ecu.engine address for 2022 RAV4 XLE (ICE) bought in Edmonton, Canada
old-commit-hash: aaca31b73eb109a053e94b2153eb3068a0976c95
2022-06-27 13:10:57 -07:00
Willem Melching 88a90035cf 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.
old-commit-hash: b95e68778271cccf558452686e022ae57f25a701
2022-06-27 21:31:54 +02:00
Willem Melching c88c78a13b 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
old-commit-hash: 915b4928ff044302bba0e8bdf15f154646f528e6
2022-06-27 16:03:26 +02:00
Willem Melching e7eeeea0f0 calibrationd: start faster by not waiting for carParams (#24976)
* calibrationd: start faster by not waiting for carParams

* fix process replay

* update ref
old-commit-hash: de0c12e5af0e550c194510a19253dd9100b1a9f7
2022-06-27 15:34:36 +02:00
Robbe Derks a6efa2c7d3 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>
old-commit-hash: 684d4b75a1c2f349da1e00dae9a40c39e3bb3607
2022-06-27 15:33:46 +02:00
Dean Lee ae596241d1 FfmpegEncoder: free codec_ctx in encoder_close (#24967)
free context
old-commit-hash: 0aa9ae21d4068d1e8099ff4256d86a204ec31c1c
2022-06-27 11:20:13 +02:00