Commit Graph

7480 Commits

Author SHA1 Message Date
Willem Melching 5751d166bb onroad.cc: fix mutcd sign width for metric speed limit
old-commit-hash: a3a9a0685c63ea57dc936e496cd5e6be5a71512e
2022-07-07 12:02:31 +02:00
Gijs Koning 2a11354d28 Process replay: Fix subtest diff (#25054)
Fix subtest diff
old-commit-hash: edf170103ed0d244e0483794feee6c3b4023ccc2
2022-07-07 02:14:31 -07:00
Shane Smiskol ab7beb99de FW query debug script: print version brand (#25058)
* test_fw_query_on_routes: print brand

* dynamic paddign
old-commit-hash: 30cb9ac962395a86464fdfc079b5f0030c7b9b9d
2022-07-07 00:28:21 -07:00
Shane Smiskol 9bc945c428 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
old-commit-hash: fd2de54172b4a76f2ab8ac5d8f8eca5c41739351
2022-07-07 00:24:03 -07:00
Adeeb Shihadeh 7d042460a4 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>
old-commit-hash: 9b0acacf5e387593ce94dbad88000b5473511e22
2022-07-06 23:42:07 -07:00
Shane Smiskol eb31508af0 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>
old-commit-hash: 479b66c992fb2898418d866a1c61d993a9217d3d
2022-07-06 19:57:44 -07:00
Shane Smiskol 4eabd3b9d9 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
old-commit-hash: ea241bf3dc1d6dec2610bec9fceb1b8659014436
2022-07-06 19:42:58 -07:00
Shane Smiskol f06e345f88 Add missing 2019 RAV4 Hybrid engine FW version (#25057)
add missing engine fw
old-commit-hash: 3e5e27f043bca856ff3f4aaa83355d964ca42fa5
2022-07-06 18:51:51 -07:00
Gijs Koning 6e0a530bae laikad: Filter unwanted pseudoranges (#25051)
Filter unwanted pseudoranges
old-commit-hash: b88d7c89fae448068aeaca65706d99aa145c8a74
2022-07-06 10:01:19 -07:00
Gijs Koning e2e7e4e456 bump laika
old-commit-hash: e336f254b1744f87119059189711b326ce8b7884
2022-07-06 15:50:28 +02:00
Willem Melching 959731bafc add casync to release files
old-commit-hash: 6065871ad504f1b590d8de053b25ce1cf01f29ba
2022-07-06 14:03:31 +02:00
Willem Melching 5dc7f22545 casync: compute seed caibx url on the fly (#25046)
* compute seed hash on the fly

* more logging

* partition name in url

* fix comment
old-commit-hash: 4080f729bea6092813331fb6d92c80e2f4c4f928
2022-07-06 13:04:25 +02:00
Willem Melching e3c24c5cc4 casync: reuse requests session in RemoteChunkReader (#25045)
old-commit-hash: 50434d612ee7becc09aef762a6c8fb8d8111af6d
2022-07-06 12:08:51 +02:00
Adeeb Shihadeh 48570e9a6a bump opendbc
old-commit-hash: 59c28611a4c385c487d5d0c8a219fe20eaeadeaf
2022-07-05 23:01:57 -07:00
Shane Smiskol 220db41bab 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 86f0c5757
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 8fd235fc6
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 cb46531fe
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 d18a5ee5a
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 7bba47a10
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
old-commit-hash: f797567ef8c574027eec8da72a2c76cfb2fdafe1
2022-07-05 22:19:20 -07:00
BirdZhang 8c9b001609 Toyota: add missing esp FW version for 2021 Toyota Corolla (#25026)
2021 Toyota Levin hybrid (aka Corolla)
old-commit-hash: 38427e6fbbe1eb09c8a335f8c9aa90460d6bbfde
2022-07-05 22:11:21 -07:00
haram-KONA 326d70b7b0 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>
old-commit-hash: 73a6348be7f20fd2c4e303ca7ff7490b71bff59f
2022-07-05 22:08:36 -07:00
Erich Moraga af497fe3a2 Add new LEXUS_RX_TSS2 engine f/w (#25041)
`@ibby1137#8978` 2022 Lexus RX350L AWD  DongleID|route abc09032f402f271|2022-07-05--17-34-41
old-commit-hash: 972e24ee263d7c86b865632f4bb110bbde1b16ac
2022-07-05 22:06:25 -07:00
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
Adeeb Shihadeh fa29abe740 always show avg power
old-commit-hash: d4f4809992c5c73e36ec1041445e6a11b2c68448
2022-07-05 14:28:54 -07:00
martinl 907c9f6815 Update path for github workflow hardware unit tests (#25035)
* Update hardware path for github workflow unit tests

* Update release/files_common

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0bf1462ad0a459f8a2cc863f58089540789922f1
2022-07-05 10:33:20 -07:00
Willem Melching 0f37257d29 casync: build_chunk_dict optimize for resuming (#25038)
old-commit-hash: 06a8ac627c0b8cf00b3bd4ea7186f5c876f71561
2022-07-05 18:06:08 +02:00
Willem Melching 3230474724 add casync support to agnos updater (#23654)
* add casync option to agnos updater

* open if necessary

* add python implementation

* last chunk can be small

* check flags

* cleaner check

* add remote and file stores

* remote caibx file

* print stats

* use python implementation

* clean up imports

* add progress

* fix logging

* fix duplicate chunks

* add comments

* json stats

* cleanup tmp

* normal image is still sparse

* Update system/hardware/tici/agnos.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update system/hardware/tici/agnos.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* add some types

* remove comment

* create Chunk type

* make readers a class

* try agnos 5.2

* add download retries

* catch all exceptions

* sleep between retry

* revert agnos.json changes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 39007810927faa309d06e6ad9586302341547f64
2022-07-05 16:55:32 +02: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
Willem Melching fe538c2f99 bump opendbc
old-commit-hash: 735387d5eea7e76d1940a82b0b5dcaddf1eb264a
2022-07-04 13:57:25 +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
Willem Melching a2f61f9424 bump laika
old-commit-hash: c8e5912b6173c64fae18f79109eb72e8499908c9
2022-07-01 16:43:44 +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
Adeeb Shihadeh 11afcb3c7f update release notes
old-commit-hash: 61d21ff00ae6d4b5f510c5880d2ca747272da754
2022-06-30 15:52:53 -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
Maxime Desroches 4a09ab86ac tools: add support for nv12 in compressed_vipc (#24962)
reshape for nv12
old-commit-hash: 2027d5311d419addfb67ad94d45a198592b2e459
2022-06-30 15:03:15 -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