Commit Graph

7421 Commits

Author SHA1 Message Date
Shane Smiskol
3e5e27f043 Add missing 2019 RAV4 Hybrid engine FW version (#25057)
add missing engine fw
2022-07-06 18:51:51 -07:00
Gijs Koning
b88d7c89fa laikad: Filter unwanted pseudoranges (#25051)
Filter unwanted pseudoranges
2022-07-06 10:01:19 -07:00
Adeeb Shihadeh
59c28611a4 bump opendbc 2022-07-05 23:01:57 -07:00
Shane Smiskol
f797567ef8 long planner: run when using stock longitudinal (#25017)
* Squashed commit of the following:

commit e27a5b4e2bfeab4e6a47440b1d4eb180ee4acf49
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Jul 1 14:10:06 2022 -0700

    remove this test

    remove this test

commit c3c10af82222ea4641d94c53a3a07b486cca8452
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Jul 1 14:08:15 2022 -0700

    only planner changes

commit 50e0f1d8704c15acfce8987faf3515c99e8af4f4
Merge: e088fde67 fcc5b3d70
Author: Shane Smiskol <shane@smiskol.com>
Date:   Fri Jul 1 14:05:36 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner2

commit e088fde67edcc32ccfeea23b4ae9e44845240429
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Jun 30 13:58:38 2022 -0700

    no walrus

commit b7b425e530e949b9cc427833562473cc241d1367
Merge: f8634266b c49f997be
Author: Shane Smiskol <shane@smiskol.com>
Date:   Thu Jun 30 13:54:30 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit f8634266b49c3f692b255e6cfac66cccc438ae20
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 29 16:07:35 2022 -0700

    stricter test, speeds[-1] is 0.14 when starting here

commit c9e446ad2183feba9d03ee39f9801091ab791c08
Merge: e6c4106ea 879a7c320
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 29 16:01:32 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit e6c4106ea185c68a6c7b3d59d5bde664df8bdc9c
Author: Shane Smiskol <shane@smiskol.com>
Date:   Sat Jun 25 03:28:41 2022 -0700

    fix test

commit 0520c7f21613b57b804e08a8e8d10950ac059074
Author: Shane Smiskol <shane@smiskol.com>
Date:   Sat Jun 25 03:26:16 2022 -0700

    add test for resuming

commit 04db5f80bff4a002f5241765a625d7cf57b74364
Merge: e23b37d3f d8bfe2f00
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 22 20:15:50 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit e23b37d3fe8dd3dd07b46a32a4f0564fabade1aa
Author: Shane Smiskol <shane@smiskol.com>
Date:   Tue Jun 21 12:46:04 2022 -0700

    0.1 should be pretty safe

commit e7dc3960da3d713753f28732f50dbd25811fad28
Author: Shane Smiskol <shane@smiskol.com>
Date:   Tue Jun 21 12:39:30 2022 -0700

    try 0.2

commit ff0597ec92a0d2c52915316961ec123b0183c5cf
Author: Shane Smiskol <shane@smiskol.com>
Date:   Tue Jun 21 11:34:00 2022 -0700

    Always run planner if not opLong

commit 13997c55271f79fd3ca62d6db45ec3790b09aa60
Merge: d2f51ee55 95d8517a8
Author: Shane Smiskol <shane@smiskol.com>
Date:   Tue Jun 21 11:29:22 2022 -0700

    Merge remote-tracking branch 'upstream/master' into enable-planner

commit d2f51ee55fd3bde38275371e76714d7741bc6f6b
Author: Shane Smiskol <shane@smiskol.com>
Date:   Tue Jun 21 11:27:45 2022 -0700

    same for non-HDA2

commit 6a63bd60f09a0abd9185049cd173100d3ef6fefa
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Jun 20 23:37:07 2022 -0700

    mazda: ensure no resume if cancelling

commit 5771cdecab7999765d9f5203c75a67f1555cf975
Author: Shane Smiskol <shane@smiskol.com>
Date:   Mon Jun 20 23:27:58 2022 -0700

    maintain original button msg rate

commit 6c1fe0606fd0a0819ffeaac92526e43b3110f2f4
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 15 23:45:26 2022 -0700

    rename to resume

commit 00b1df652f1679137c769f9db61eed7dd14e1542
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 15 21:57:54 2022 -0700

    remove comments

commit 325ea9bbd5e0dd946961ede0cdcc446ad5e5bbdb
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 15 21:56:20 2022 -0700

    vw

commit 2c9061042b36fe1d6b029a4216655be69a980849
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 15 21:54:37 2022 -0700

    do rest but vw

commit 3dc51f663dfdd4ea1fd72d239bcd5db8c7da4b47
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 15 16:34:48 2022 -0700

    only spam resume when future is > vEgoStarting

commit 5f32cd1fcb402bee425d866a9dc76b6feea3d241
Author: Shane Smiskol <shane@smiskol.com>
Date:   Wed Jun 15 16:09:43 2022 -0700

    always log leads, we hide them in ui

* reset when not CS.enabled

remove comment

* update refs
2022-07-05 22:19:20 -07:00
BirdZhang
38427e6fbb Toyota: add missing esp FW version for 2021 Toyota Corolla (#25026)
2021 Toyota Levin hybrid (aka Corolla)
2022-07-05 22:11:21 -07:00
haram-KONA
73a6348be7 car docs: add video for Hyundai Kona Hybrid 2020 (#25029)
* Update values.py

Added the following video link "https://www.youtube.com/watch?v=0dwpAHiZgFo"

* Update values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-05 22:08:36 -07:00
Erich Moraga
972e24ee26 Add new LEXUS_RX_TSS2 engine f/w (#25041)
`@ibby1137#8978` 2022 Lexus RX350L AWD  DongleID|route abc09032f402f271|2022-07-05--17-34-41
2022-07-05 22:06:25 -07:00
Shane Smiskol
f21b56f25a regen migration: use Panda safety parameters (#25043)
no magic numbers
2022-07-05 20:04:48 -07:00
martinl
eaa8b08510 Subaru: XV is supported (#25034)
* Subaru: add XV to supported models

* Update docs
2022-07-05 16:42:53 -07:00
Adeeb Shihadeh
88a30004e0 Chrysler: prep for Ram port (#25040)
* Chrysler: prep for Ram port

* bump opendbc

* opendbc master

* bump panda
2022-07-05 16:40:47 -07:00
Willem Melching
d4cc13c88a 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
2022-07-04 17:13:30 +02:00
Dean Lee
5f794fe49a settings.cc: remove function network_panel (#25030)
remove function network_panel
2022-07-04 13:55:00 +02:00
HaraldSchafer
0c95493dc0 Torque control: max torque warning (#25018)
* New steer torque warning

* typo
2022-07-01 19:14:21 -07:00
Shane Smiskol
e11bb76a64 car docs: remove steering torque hard-coding (#25019)
remove good torque hardcoding
2022-07-01 19:11:28 -07:00
Jason Shuler
fcc5b3d70c 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>
2022-07-01 13:45:32 -07:00
Gijs Koning
8d6799d95a Laikad: Allow fetching orbits every minute (#25016)
* Allow fetching orbits every minute

* Small cleanup
2022-07-01 08:44:10 -07:00
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
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
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