Commit Graph

16653 Commits

Author SHA1 Message Date
Justin Newberry f767f65f66 test_updated: check the version and consistency of finalized dir (#31808)
* check finalized

* also check consistent
old-commit-hash: bc81daee8b
2024-03-08 15:31:24 -08:00
Michel Le Bihan 02a16c3eb4 simulator: Increase map size to contain road (#31805)
old-commit-hash: 9c8a27ad24
2024-03-08 15:13:02 -08:00
Adeeb Shihadeh 098f5943d0 update cavli config
old-commit-hash: 06ab3de4de
2024-03-08 14:11:08 -08:00
Justin Newberry 85a3c58c1f updated: more common helpers (#31804)
update more helpers
old-commit-hash: 74bf9dcdc7
2024-03-08 13:46:16 -08:00
Adeeb Shihadeh 294e055d8b cgpsd: use hasFix
old-commit-hash: bfd6ab68b5
2024-03-08 13:29:42 -08:00
Adeeb Shihadeh 777d37b619 much commit
old-commit-hash: 33d1b127c9
2024-03-08 13:18:55 -08:00
Justin Newberry 52a32bf132 add helper for serving a directory (#31802)
directory http server
old-commit-hash: 358461896c
2024-03-08 13:09:47 -08:00
Adeeb Shihadeh 6bf5c62155 add hasFix field to gpsLocation (#31778)
* add hasFix field to gpsLocation

* migration

* update refs for ubloxd

* cereal master
old-commit-hash: a0389d7120
2024-03-08 11:32:38 -08:00
Justin Newberry b0dc456510 updated: prep for new updater (#31695)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* proc

* release

* fix

* this should move here

* e2e update test

* that too

* fix

* fix

* fix running in docker

* don't think GHA will work

* also test switching branches

* it's a test

* lets not delete that yet

* fix

* fix2

* fix

* fix

* tests too

* fix

* cleanup / init

* test agnos update

* test agnos

* move this back up

* no diff
old-commit-hash: b93f6ce4f6
2024-03-08 10:46:57 -08:00
Justin Newberry 30b832aa84 test_updated: more consistent test (#31786)
* consistent

* bump timeout

* bump again
old-commit-hash: c30688fe3a
2024-03-08 10:42:17 -08:00
Shane Smiskol bc7664aa2b LogReader: fix sort by time and union types (#31565)
* fix :(

* test_sort_by_time

* this isn't required

* not slow, and just compare sorted

* messy

* works

* clean up

* clean up

* not here

* clean up

* clean up

* clean up

* makes network call

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: e964c5944d
2024-03-08 02:49:24 -08:00
Shane Smiskol b286b84044 Revert "common PlatformFlags base class + test for < 32 bits" (#31793)
Revert "common PlatformFlags base class + test for < 32 bits (#31779)"

This reverts commit 7e75a99b03be1289aa515894e81caa1138374a38.
old-commit-hash: 99610c8819
2024-03-08 00:15:21 -08:00
Shane Smiskol 0e437cce25 HKG CAN FD: add instrument cluster ECU (#31790)
* Add instrument cluster in case it can tell us more about the car

* and i thought I wanted to remove this test!
old-commit-hash: 782b707824
2024-03-07 20:10:12 -08:00
Shane Smiskol d96e5c520b longitudinal planner: start at personality param (#31788)
start at param
old-commit-hash: fdab60cad7
2024-03-07 19:56:22 -08:00
Adeeb Shihadeh b73a5fba4c fix old route sorting (#31787)
* fix old route sorting

* cleanup

* Update system/loggerd/uploader.py

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 158e36976b
2024-03-07 19:22:06 -08:00
Adeeb Shihadeh 52eb1aee05 tools: update replay route parsing for timeless format
old-commit-hash: fd51bfb27b
2024-03-07 18:57:59 -08:00
Shane Smiskol 2617b11ab3 Subaru: make OBD query logging (#31785)
* make OBD query logging

* Update selfdrive/car/subaru/values.py

Co-authored-by: Justin Newberry <justin@comma.ai>

* wording

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 90442e3597
2024-03-07 18:57:15 -08:00
Adeeb Shihadeh 675b860983 cgpsd: check checksums and log some accuracies (#31784)
* check checksum

* some accuracy

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 428397a18b
2024-03-07 17:24:29 -08:00
Justin Newberry 8c25973016 better comment
old-commit-hash: 6de71bcddb
2024-03-07 17:02:11 -08:00
Adeeb Shihadeh 383f9518df cgpsd (#31781)
* cgpsd

* latlong is good

* more sentences

* little more

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fbe6b2c73b
2024-03-07 16:40:13 -08:00
Justin Newberry c35e622651 Subaru: log eyesight faults as acc faults (#31716)
* log cruise fault

* better comment

* spacing

* backwards

* moved

* copy the other one

* localized

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5d710ecf57
2024-03-07 15:30:31 -08:00
Justin Newberry 44dba36bc3 ruff: Exclude body and cereal (#31782)
old-commit-hash: 257db40d57
2024-03-07 14:58:36 -08:00
Justin Newberry ed8e7ef866 vscode: remove non-symlinked openpilot directories from python analysis (#31780)
anaylsis
old-commit-hash: 9f0201bdd4
2024-03-07 14:41:58 -08:00
Justin Newberry fd2a03b1c2 common PlatformFlags base class + test for < 32 bits (#31779)
* add 32 bit check

* space

* this is not required

* jk yes we do
old-commit-hash: 8ba5d660f3
2024-03-07 14:01:28 -08:00
Justin Newberry 5639490e9e test_updated: basic agnos update test (#31776)
test agnos
old-commit-hash: dcc49077a0
2024-03-07 13:00:09 -08:00
Justin Newberry fe8e2c05fd test helpers: http server context (#31774)
* http context

* fix

* fix
old-commit-hash: 8d9b96cf23
2024-03-07 12:09:07 -08:00
Justin Newberry 3105613e69 fix car test routes typing (#31773)
* Fix typing

* and fix test_car_model

* fix
old-commit-hash: a919d27afc
2024-03-07 11:33:40 -08:00
Justin Newberry ccd6742a3e test_updated: add test for no update (#31772)
no update test
old-commit-hash: 9cb256891f
2024-03-07 11:01:33 -08:00
Justin Newberry 14af96d234 and controlsd (#31769)
old-commit-hash: ca79e3ec0b
2024-03-07 11:34:03 -05:00
Jason Wen 901da3d5d4 Nissan: Remove unused code (#31768)
old-commit-hash: 7f11517257
2024-03-07 07:28:52 -08:00
Shane Smiskol 9585d35754 Toyota: set distance lines to max (#31728)
* press the button

* 33hz/2

* fix tests

* PCM_CRUISE_SM is a UI message: it goes to 0 when not displayed, and is much lower rate

* only change when enabled so we don't hide the welcome message on cruise main button

* unbump

* then you can get into a weird state

* stuff

* for unplugged DSU we can still read PCM distance, but not buttons

* skip

* skip
old-commit-hash: cec9f59113
2024-03-07 03:53:41 -08:00
Alexandre Nobuharu Sato edefdce5ec Toyota TSS-P: parse distance button from SDSU (#31741)
* Toyota TSS-P: parse distance button from SDSU

* it's 1000hz wtf... da99509bd910288a/2024-03-04--13-51-30

* add events for SDSU

* need to check for CAN filter

* clena up

* check

* whoops

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c4ef17ac28
2024-03-07 02:03:39 -08:00
Cameron Clough 1ed0a0e1cb Ford: parse distance button (#31733)
Ford: parse ACC gap toggle button

Use the ACC gap toggle button signal from the SCCM. There are two other
signals for "increase" and "decrease" gap buttons, but no supported car
has these buttons.
old-commit-hash: 98a491b1f2
2024-03-07 01:54:33 -08:00
Shane Smiskol 782b64ad03 Hyundai: remove Sorento and G80 CAN fingerprints (#31758)
* Add FW

* rm can fp
old-commit-hash: 2e0a4a8574
2024-03-07 01:23:05 -08:00
Shane Smiskol 2a39c87af1 Hyundai Genesis: remove CAN fingerprints (#31757)
We already have the FW from 1bc85e3b0b53e1ad, 1b85fa0a357240ac, and cb5df08e7b5d0633
old-commit-hash: 66680515a7
2024-03-07 01:09:08 -08:00
Shane Smiskol 1b1b470abd Hyundai Ioniq Hybrid 2017: remove CAN fingerprints fixing mismatch (#31755)
* Run bot on 0e13ee2b821302f4

* remove IONIQ CAN fingerprints and move to Niro PHEV (part numbers match!)

* remove dups

* best guess is Hyundai C (IONIQ is also)
old-commit-hash: 9f7c577564
2024-03-07 00:53:31 -08:00
Shane Smiskol 7b295b9a0d Sonata LF: remove CAN fingerprint (#31754)
add FW from 7ae1c131629d96e5
old-commit-hash: 4624bb3d7c
2024-03-07 00:24:50 -08:00
Shane Smiskol 8386f4ccf6 HKG: test platform codes per platform (#31753)
* test

* clean up
old-commit-hash: 2a29778ae2
2024-03-07 00:14:56 -08:00
Shane Smiskol 2741025bde Hyundai Palisade: allow fingerprinting without comma power (#31752)
* Palisade gets camera, radar, eps

* Add versions from d23a555519923793

* add FW from 0af43ba62cc3ffc4

* remove CAN fingerprints!
old-commit-hash: 28b4e9962d
2024-03-06 23:39:11 -08:00
Michel Le Bihan a036e6e043 Simulator: Add world status reporting (#31740)
old-commit-hash: b4c8e0834d
2024-03-06 19:16:21 -08:00
Clark934 97aa95e454 ruff: set tab size and quote style (#31749)
old-commit-hash: 997bb65e54
2024-03-06 19:15:14 -08:00
Adeeb Shihadeh 402e8f8b0e encoderd: fix large frames (#31681)
* encoderd: fix large frames

* Update camera_common.cc

* just do this for now

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 84797482e9
2024-03-06 16:19:08 -08:00
Shane Smiskol 3af6ec73ee car values formatting (#31747)
values formatting
old-commit-hash: 78a46ce724
2024-03-06 15:47:44 -08:00
Justin Newberry 4166525f03 updated: basic e2e update tests (#31742)
* e2e update test

* that too

* fix

* fix

* fix running in docker

* don't think GHA will work

* also test switching branches

* it's a test

* lets not delete that yet

* comment

* space
old-commit-hash: ac77129041
2024-03-06 15:24:46 -08:00
Justin Newberry e991495530 with_processes: add standalone context manager (#31746)
helpers
old-commit-hash: ba068a0f58
2024-03-06 15:22:07 -08:00
Adeeb Shihadeh 48909089fa it's called esim now
old-commit-hash: 7331b3cc95
2024-03-06 13:39:49 -08:00
Robbe Derks 8a2766a86b Tesla Raven (#29947)
* fingerprinting

* wip

* bug

* fix another bug

* fix rebase

* clean up raven

* forgot to save

* one more rename

* one more rename

* radar fixes

* AP1 also has bosch radar

* put back dashcamOnly

* small fixes

* raven flag

* fix bug

* fix raven flag

* bump opendbc

* fix radar trigger for non-raven

* fix tests?

* bump panda

* more test fixes

* tesla fingerprinting is a bit slower now

* fix tests

* bump opendbc

* bump submodules to master

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7177ec0631
2024-03-06 21:14:48 +01:00
Justin Newberry e6dbf6d614 cars: remove CAR_INFO map (#31739)
* no carinfo map

* smaller diff

* not on mock
old-commit-hash: 25ccb2426c
2024-03-06 11:22:12 -08:00
Justin Newberry e68f11ef60 add get_car_interface helper (#31738)
add helper
old-commit-hash: 233f0437d9
2024-03-06 10:56:46 -08:00
Adeeb Shihadeh ae581c9d24 don't build cabana on device (#31736)
old-commit-hash: e399136cb6
2024-03-06 09:26:36 -08:00