Commit Graph

13153 Commits

Author SHA1 Message Date
Shane Smiskol f9dc18f418 Events: remove dependency (#32430)
* Revert "Events: use sorted container (#32395)"

This reverts commit 3c9c039ca3202649d7212ee259b1b82a65a92c4f.

* remove implicit dependency
old-commit-hash: e9bf36232b
2024-05-14 15:19:02 -07:00
Shane Smiskol c3630f813a controlsd: use already initialized params (#32429)
old-commit-hash: 6f3cd143ef
2024-05-14 14:01:38 -07:00
Shane Smiskol 30292b0783 bump opendbc (#32426)
bump
old-commit-hash: 0f6bbcaa2e
2024-05-14 12:41:54 -07:00
YassineYousfi 6e8e119638 python deps: add sortedcontainers (#32428)
old-commit-hash: db8273823d
2024-05-14 09:31:09 -07:00
Shane Smiskol 426ab7d7d8 Fix test_time_to_onroad (#32423)
* this star doesn't make sense

* only docs for now

* flip

* fix spotty test_time_to_onroad.py

* better

fix

fix

fix

fix

* already there -_-

* we can fp again
old-commit-hash: 46eda64177
2024-05-13 18:56:15 -07:00
Shane Smiskol 97dc134a42 card: create pedal pressed event (#32417)
* card: create pedal pressed event (#32393)

* move pedalPressed to card

* rm

* needs to be a builder

* move these

* clean up

* reader later

* Update ref_commit

* moved to card
old-commit-hash: d0d44a51a0
2024-05-13 16:18:55 -07:00
Shane Smiskol 6c2c024855 Car docs: gate auto resume star on enable down to stop (#32421)
* this star doesn't make sense

* only docs for now

* flip
old-commit-hash: 82e70db47c
2024-05-13 16:18:29 -07:00
Shane Smiskol f7eaec0a4b Hyundai Kona: add min speed (#32420)
* add min speed for kona

* update docs
old-commit-hash: 06c581e202
2024-05-13 16:02:47 -07:00
Greg Hogan a17639bddb logreader: skip internal source if connection refused (#32418)
* logreader: skip internal source if connection refused

* fix indentation

* fix spacing

* explicit ipv4 and tcp
old-commit-hash: 2a46d71fc8
2024-05-13 16:02:28 -07:00
Adeeb Shihadeh d71879a4af let's be more decisive
old-commit-hash: 7f9ad78ac8
2024-05-13 15:39:36 -07:00
Adeeb Shihadeh 6e0d84d829 rerun.io proof of concept (#32416)
* Adding demo version for acceleration only

* Adding, plot any event

* Adding dynamic blueprint creation and menu to choose what to plot

* Adding, pool of processes for faster data visualization

* Adding, install rerun if not present

* Adding. thumbnail support

* Refactoring, minor cleanup

* -Use rerun pre-release
-Remove json as a middle format
-Replace recursion with stack-based approach

* Refactoring, using services from cereal instead of hardcoding them

* Use of lr.run_across_segments instead of pool,
Use of python dict instead of capnp objs - better performance
Use LogReader syntax

* Enable logging of liveTracks, pandaStates

* Use of plotjuggler user experience

* Fixing bug in log_msg function

* cleanup

---------

Co-authored-by: savojovic <jovo.savic00@gmail.com>
Co-authored-by: savojovic <74861870+savojovic@users.noreply.github.com>
old-commit-hash: 1c481c5ad3
2024-05-13 15:04:37 -07:00
Shane Smiskol 4c7c4272d0 Revert "card: create pedal pressed event" (#32414)
Revert "card: create pedal pressed event (#32393)"

This reverts commit 05be56def1f1fdddb761291e1a40cce459fc7d36.
old-commit-hash: 9287a69624
2024-05-13 14:25:22 -07:00
Shane Smiskol 48bb3caaac card: create pedal pressed event (#32393)
* move pedalPressed to card

* rm

* needs to be a builder

* move these

* clean up

* reader later

* Update ref_commit
old-commit-hash: d18da895d3
2024-05-13 14:15:26 -07:00
Adeeb Shihadeh f641d7e851 ui: fix brightness when there's no camera (#32413)
old-commit-hash: 79c8fb0236
2024-05-13 13:27:05 -07:00
Shane Smiskol 4a0b3c8b64 CarInterface: move stateless, common car events to car interface (#32394)
* move stateless, common car events to car interface

* try to reduce process replay diff a bit

* Revert "try to reduce process replay diff a bit"

This reverts commit b12798deab.

* update refs
old-commit-hash: 3dfb6d7931
2024-05-13 12:50:42 -07:00
Shane Smiskol 4b0149cb14 Events: use sorted container (#32395)
* use SortedList

* Update ref_commit
old-commit-hash: d98ab4ddb1
2024-05-13 12:16:53 -07:00
commaci-public 6281b1da26 [bot] Update Python packages and pre-commit hooks (#32411)
Update Python packages and pre-commit hooks

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 6a9be01857
2024-05-13 08:40:23 -07:00
Shane Smiskol 2d7bd1942c [bot] Fingerprints: add missing FW versions from new users (#32412)
Export fingerprints
old-commit-hash: be3e99e2d3
2024-05-13 08:39:49 -07:00
commaci-public 44ced20226 [bot] Bump submodules (#32410)
bump submodules

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: acd84e0f9c
2024-05-13 08:39:34 -07:00
Jason Young 013088133f VW MQB: Support for preempted HCA state (#32298)
* bump opendbc

* VW MQB: Support for preempted HCA state
old-commit-hash: f770f55a4e
2024-05-12 22:06:03 -07:00
Dean Lee ddd09f528b boardd: Improve performance of `can_list_to_can_capnp()` (#32356)
old-commit-hash: e548742701
2024-05-12 22:01:08 -07:00
Andrei Radulescu ec604b1907 ui: don't show PrimeUserWidget on PrimeType.UNKNOWN (#31976)
old-commit-hash: ced3fab7d5
2024-05-12 21:43:34 -07:00
Julio Salamanca 190fec65f4 Remove qlog param from demo example (#32406)
Remove qlog param from demo instructions

qlog param was removed in this commit

fae2400f40
old-commit-hash: 6aa17ab10a
2024-05-12 17:00:17 -07:00
Adeeb Shihadeh 5e2cc23cec boardd: SPI corruption test (#32404)
* simple test

* little more

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: dcfb206a38
2024-05-11 14:24:28 -07:00
Adeeb Shihadeh da105b759c bump cereal (#32403)
old-commit-hash: 07aad17993
2024-05-11 13:43:16 -07:00
Adeeb Shihadeh 0d9aad726e boardd: fix SPI return code on some transfer failures (#32401)
old-commit-hash: 4af50cee63
2024-05-11 13:15:50 -07:00
Shane Smiskol 1c7a1555b9 [bot] Fingerprints: add missing FW versions from new users (#32397)
Export fingerprints
old-commit-hash: 3fd549f30a
2024-05-11 10:54:24 -07:00
Shane Smiskol c4e445e6c5 card: more final structure
old-commit-hash: d28624fe5b
2024-05-10 23:18:48 -07:00
Shane Smiskol 753dbe8f6e controlsd: use latest actuatorsOutput (#32390)
use current actuatorsOutput
old-commit-hash: ef1693433f
2024-05-10 21:00:01 -07:00
Shane Smiskol d9c32672d1 [bot] Fingerprints: add missing FW versions from new users (#32384)
Export fingerprints
old-commit-hash: 4486947e81
2024-05-09 10:51:15 -07:00
Shane Smiskol 8708fb2a32 card: preparation (#32382)
* card prep

* also format
old-commit-hash: 2e6b2ef3c9
2024-05-08 23:54:20 -07:00
ZwX1616 1e7865e4c9 Always-on DM: no audible alert at low speeds / block engagement if alert present (#32379)
* min speed

* cmments

* no entry?

* comment
old-commit-hash: 273a4f5ca9
2024-05-08 20:05:03 -07:00
Shane Smiskol af0310ff0c Volkswagen: improve fuzzy fingerprinting (#32378)
* improve VW fuzzy FP matching

* annotate

* Revert "annotate"

This reverts commit 09cbb150e9.

* hmm
old-commit-hash: a83b182c55
2024-05-08 17:17:08 -07:00
Adeeb Shihadeh 583fa3bfbf agnos 10.1 (#32373)
old-commit-hash: 7ff66986c1
2024-05-08 16:51:27 -07:00
Shane Smiskol bd843cc5e7 Cleanup auto_fingerprints.py (#32377)
* messyyy

* super clean car wash

* rm
old-commit-hash: b895095031
2024-05-08 15:58:27 -07:00
Jason Young 00fbd8660c VW MQB: Add FW for 2022 CUPRA Ateca (#32318)
* VW MQB: Add FW for 2022 SEAT Ateca

* extend Ateca supported model-years

* CUPRA Ateca available from 2018

* regen CARS.md

* wrong model year format
old-commit-hash: fe4c7f1499
2024-05-08 15:34:16 -07:00
YI418LT e2395bf382 Honda: add missing FW for Civic Hatchback 2020 (Type R Japanese model) (#32305)
* Update fingerprints.py

* format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 451a38ddee
2024-05-08 15:19:06 -07:00
Jason Young 2b755e330d VW: raise minimum steering speed to fix a fault (#31450)
* VW: Steer to zero, for large values of zero

* ah, the joy of floating point

* comment, style

* actually fix floating point issue

* follow PlatformConfig refactor

* this check is not useful after PlatformConfig

* don't really need that

* work around docs assert

* little better

* one comment

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93fa207c5c
2024-05-08 14:38:08 -07:00
young 02fb8ebef5 Kia: add missing K8 Hybrid 2024 FW (#32259)
add kia k8 hev 2024 fingerprints
old-commit-hash: adf52c7355
2024-05-08 13:35:32 -07:00
Dean Lee a896ef9680 util: remove unused functions (#32372)
cleanup
old-commit-hash: c063395312
2024-05-08 10:18:43 -07:00
andreasdamm 5318929581 Added ECU FW version for 2021 Lincoln Aviator Black Label Grand Touring (#32361)
old-commit-hash: 7ab39fb92c
2024-05-07 21:49:52 -07:00
Adeeb Shihadeh f18c7e9b9d boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first

* errors

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2d838f95da
2024-05-07 21:36:04 -07:00
Adeeb Shihadeh de5f273a6b Revert "agnos 10.1 (#32348)"
This reverts commit 38c4557a88f3c7e43027f2f83eeba2375a0427dc.

old-commit-hash: 71832d651a
2024-05-07 20:33:09 -07:00
Cameron Clough d1c726c6d7 Ford: use platform codes to fuzzy fingerprint (#31124)
* Ford: use platform codes to fuzzy fingerprint

TODO: write scripts/tests (print platform codes and version ranges etc.)

May close #31052

* get_platform_codes: fix return type

* add print_platform_codes.py script

* print_platform_codes: sort versions

* match_fw_to_car_fuzzy: use set comprehension, and fix typo

* Ford: add missing Mach-E fw

From the route 83a4e056c7072678/2023-11-13--16-51-33 (which is already
in selfdrive/car/tests/routes.py, added in #30691).

* add ford_fuzzy_fingerprint.ipynb notebook

* get_platform_codes: use regex to parse firmware

* test_ford: test_platform_codes_fuzzy_fw

* test_ford: use get_platform_codes in test_fw_versions

* match_fw_to_car_fuzzy: improve comments

* test_ford: add test_platform_codes_spot_check

* test_ford: add test_match_fw_fuzzy

* remove comment from notebook

* TestFordFW: remove engine ECU FW

* update print_platform_codes.py

* remove part number (unecessary)

* platform codes can just use platform hint and model year - software revision not useful

* fuzzy FP on the platform hint and model year hint range

* fix platform codes test

* update notebook

* add notebook

* explain model year hint better

* test part numbers again

* cleanup notebooks

* remove notebook

* cleanup match_fw_to_car_fuzzy and add comments

* update comment

* .

* Revert "remove notebook"

This reverts commit 5d4ca202f2.

* add notebook back

* remove PSCM from PLATFORM_CODE_ECUS

ABS and IPMA are the best for uniquely matching, and the radar is always required

* Revert "remove PSCM from PLATFORM_CODE_ECUS"

This reverts commit b7baeac19c.

* fix from merge

* more fixes

revert

* FW_RE -> FW_PATTERN

* this can actually be set

* conventions

* just add

* convention

* refactor matcher, this brings it more in line with Hyundai. IMPORTANT NOTE:

NOTE THAT WE remove the separation for the different platform code model year hint ranges, I don't see that being a problem

* better/smaller test

* add test to catch overlapping platform codes

* remove nb

* not now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 85c9fea5d8
2024-05-07 20:28:59 -07:00
Adeeb Shihadeh 7b634ee1b3 agnos 10.1 (#32348)
old-commit-hash: d0e5f42b68
2024-05-07 20:05:38 -07:00
Dean Lee a2226ad906 cabana: Implement Remote Route Browsing Feature (#32332)
browse remote routes
old-commit-hash: b551e7c1a2
2024-05-07 19:59:30 -07:00
Adeeb Shihadeh 4b93347a4c reduce severity of offroad temperature alert
old-commit-hash: cdf2e75cc3
2024-05-07 15:58:59 -07:00
Adeeb Shihadeh 35215df6c0 remove Offroad_InvalidTime alert
old-commit-hash: 1fc3d9224e
2024-05-07 15:58:29 -07:00
Shane Smiskol 7b293f43c9 print_flags.py: clean up
always ensure current impl of something is the best!

old-commit-hash: 888b38c3db
2024-05-07 15:06:23 -07:00
Shane Smiskol 43cac3cf24 PlatformConfig: clean up and print all flags (#32369)
* script to print flags

* don't need

* SAL

* back

* fix
old-commit-hash: f597d63bf6
2024-05-07 15:00:02 -07:00