Commit Graph

5297 Commits

Author SHA1 Message Date
Gijs Koning
cf862b6576 Laikad: Fix getting covariances for pos and velocity (#25084)
* Fix getting covariances for pos and velocity

* ref commit
2022-07-08 10:03:42 -07:00
Willem Melching
a9401319df nav: use laikad position if locationd is not yet available (#25033)
* ui: use laikad position when locationd is not ready

* cleanup

* same threshold as locationd

* use first bearing directly

* use in navd too
2022-07-08 09:20:36 -07:00
Willem Melching
7a4c33795a laikad: add residual threshold for pos_fix (#25082)
* laikad: add residual threshold for pos_fix

* update ref

* update test
2022-07-08 09:20:16 -07:00
Shane Smiskol
5b4e39990a Add Japanese translations (#25078)
* Add Japanese translations

* test japanese

* update tr file

* test for unfinished translation tags

* add compiled QM

add compiled QM

* mark as finished

* remove from tests, needs some design decisions

Co-authored-by: PONPC <fuzitanirenti@yahoo.co.jp>
2022-07-08 00:41:17 -07:00
Lee Jong Mun
ed47032a6d Add Korean translations (#25073)
* Add Korean translations

Signed-off-by: crwusiz <crwusiz@gmail.com>

* line error fix

Signed-off-by: crwusiz <crwusiz@gmail.com>

* space error retry

Signed-off-by: crwusiz <crwusiz@gmail.com>

* &quot fix

Signed-off-by: crwusiz <crwusiz@gmail.com>

* translation --release

* main_ko.qm remove

* main_ko.qm remake

* Update ko and fix zh

* fix Linguist warnings

* commit noun

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-08 00:03:57 -07:00
Shane Smiskol
d8089fb94e Add video for 2020 Lexus ES Hybrid 2022-07-07 23:07:21 -07:00
Adeeb Shihadeh
1382e28aa0 add pandas and tabulate packages (#25076)
* add pandas and tabulate packages

* remove that
2022-07-07 20:02:07 -07:00
Adeeb Shihadeh
bd432eb76b move kona limit to car controller 2022-07-07 17:27:59 -07:00
Adeeb Shihadeh
a4c9076581 Hyundai: limit Kona torque (#25074) 2022-07-07 17:09:36 -07:00
Adeeb Shihadeh
ff3f6de149 UI: fix reset calibration description 2022-07-07 16:53:34 -07:00
Dean Lee
dc3d94d662 UI: fix unable to scroll on 'Regulatory' page (#25014)
* fix unable to scroll on 'Regulatory' page

deleteLater after hide

* remove alert

* override exec

* set MousePressEventDelay to 0

* set to 0.01

* cleanup

* check event->pos()
2022-07-07 15:01:02 -07:00
Adeeb Shihadeh
b035b538ec chill ram tune (#25071) 2022-07-07 14:54:14 -07:00
Shane Smiskol
bd2ea15897 Add Chinese (traditional) translations (#25064)
* Add Chinese translations

* wrap these

* add to languages.json

* fix tests

* use tmp dir for tests (doesn't change translation files in git repo)

* defaultdict not used

* update main_zh.ts (test outdated QM file)

* test outdated QM file (prev commit tests missing)

* update qm file

* add sidebar translations

* no need for function
2022-07-07 14:19:30 -07:00
Adeeb Shihadeh
836e2a4d98 Chrysler: fix steer fault detection (#25068) 2022-07-07 13:20:42 -07:00
Dean Lee
568cc0f892 loggerd: remove 'enable' from struct LogCameraInfo (#25052)
remove enalbe
2022-07-07 10:54:56 -07:00
Adeeb Shihadeh
8d98d8c657 process replay: add Ram route (#25063) 2022-07-07 10:28:55 -07:00
Adeeb Shihadeh
ea80ee0845 Chrysler: resume from cruise standstill (#25009)
* Chrysler: resume from cruise standstill

* bump panda

* resume isn't set yet
2022-07-07 09:40:04 -07:00
Willem Melching
7e187426c7 athena: skip duplicate upload requests (#25062)
* athena: skip duplicate upload requests

* cleanup

* keep simple

* just ignore
2022-07-07 18:00:07 +02:00
Gijs Koning
eaf7eb4278 Laikad: Use clocks for faster fetching orbits (#25060)
* Use clocks msg to for first fetch of orbits. Which is sent earlier than ublox msgs

* refactor last_fetch_orbits

* Add comment.
Add test

* increase timeout

* Add clocks to process replay
2022-07-07 04:06:51 -07:00
Willem Melching
a3a9a0685c onroad.cc: fix mutcd sign width for metric speed limit 2022-07-07 12:02:31 +02:00
Gijs Koning
edf170103e Process replay: Fix subtest diff (#25054)
Fix subtest diff
2022-07-07 02:14:31 -07:00
Shane Smiskol
30cb9ac962 FW query debug script: print version brand (#25058)
* test_fw_query_on_routes: print brand

* dynamic paddign
2022-07-07 00:28:21 -07:00
Shane Smiskol
fd2de54172 Stock longitudinal: spam resume button when lead starts moving (#24873)
* always log leads, we hide them in ui

* only spam resume when future is > vEgoStarting

* do rest but vw

* vw

* remove comments

* rename to resume

* maintain original button msg rate

* mazda: ensure no resume if cancelling

* same for non-HDA2

* Always run planner if not opLong

* try 0.2

* 0.1 should be pretty safe

* add test for resuming

* fix test

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

* no walrus

* fixup mazda cc

* remove extra import
2022-07-07 00:24:03 -07:00
Adeeb Shihadeh
9b0acacf5e Ram 1500 (#24878)
* RamInit

* bump submodules

* lil cleanup

* clean up carstate formatting and platform grouping

make tuple

* give it a gold torque star (looks around 2.4 from rough data)

* Dasm Fault

* bump panda

* more cleanup

* cleanup car state

* more cleanup

* some fixes

* remove more stuff

* fix angle signal scaling and fix lkas control bit

* bump panda

* update those

* same limits as pacifica

* cleanup hud alert building

* better fault logic

* fix rate

* set ahb

* bring that back

* update refs

Co-authored-by: Jonathan <jraycec@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
2022-07-06 23:42:07 -07:00
Shane Smiskol
479b66c992 VW FPv2: reduce number of ECU queries (#24939)
* only send valid/needed queries

* just do volkswagen

* clean up

* add parameter name

clean up

* add test for whitelist

* rename

* Update selfdrive/car/fw_versions.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

* fix test

* log response addresses

* bump cereal

* handle response pending with IsoTpParallelQuery

* remove response pending stuff

* temporarily disregard cache for easier testing

* revert this

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
2022-07-06 19:57:44 -07:00
Shane Smiskol
ea241bf3dc FW fingerprinting: log all FW versions (#25042)
* get_fw_versions returns all fw versions with request's brand

* keep track of everything received

* debug

* need to regen or write a hack in build_fw_dict

* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

* update test_fw_query_on_routes

* clean up

* better name

* slightly cleaner

* fix test_startup unit test

del

* fix imports

* fix test_fw_fingerprint

fix test_fw_fingerprint

fix

* fingerprint on all FW_VERSIONS, not just brands with requests

* support old routes in test_fw_query_on_routes

* regen and update refs

* similar function style to before

* better comment

* space

switch name

* try to exact match first

* useless else

* fix debug script

* simpler dictionary

* bump cereal to master
2022-07-06 19:42:58 -07:00
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