Commit Graph

12534 Commits

Author SHA1 Message Date
Adeeb Shihadeh
33d1b127c9 much commit 2024-03-08 13:18:55 -08:00
Justin Newberry
358461896c add helper for serving a directory (#31802)
directory http server
2024-03-08 13:09:47 -08:00
Adeeb Shihadeh
a0389d7120 add hasFix field to gpsLocation (#31778)
* add hasFix field to gpsLocation

* migration

* update refs for ubloxd

* cereal master
2024-03-08 11:32:38 -08:00
Justin Newberry
b93f6ce4f6 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
2024-03-08 10:46:57 -08:00
Justin Newberry
c30688fe3a test_updated: more consistent test (#31786)
* consistent

* bump timeout

* bump again
2024-03-08 10:42:17 -08:00
Shane Smiskol
e964c5944d 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>
2024-03-08 02:49:24 -08:00
Shane Smiskol
99610c8819 Revert "common PlatformFlags base class + test for < 32 bits" (#31793)
Revert "common PlatformFlags base class + test for < 32 bits (#31779)"

This reverts commit 8ba5d660f3.
2024-03-08 00:15:21 -08:00
Shane Smiskol
782b707824 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!
2024-03-07 20:10:12 -08:00
Shane Smiskol
fdab60cad7 longitudinal planner: start at personality param (#31788)
start at param
2024-03-07 19:56:22 -08:00
Adeeb Shihadeh
158e36976b fix old route sorting (#31787)
* fix old route sorting

* cleanup

* Update system/loggerd/uploader.py

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-03-07 19:22:06 -08:00
Adeeb Shihadeh
fd51bfb27b tools: update replay route parsing for timeless format 2024-03-07 18:57:59 -08:00
Shane Smiskol
90442e3597 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>
2024-03-07 18:57:15 -08:00
Adeeb Shihadeh
428397a18b cgpsd: check checksums and log some accuracies (#31784)
* check checksum

* some accuracy

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-03-07 17:24:29 -08:00
Justin Newberry
6de71bcddb better comment 2024-03-07 17:02:11 -08:00
Adeeb Shihadeh
fbe6b2c73b cgpsd (#31781)
* cgpsd

* latlong is good

* more sentences

* little more

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-03-07 16:40:13 -08:00
Justin Newberry
5d710ecf57 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>
2024-03-07 15:30:31 -08:00
Justin Newberry
257db40d57 ruff: Exclude body and cereal (#31782) 2024-03-07 14:58:36 -08:00
Justin Newberry
9f0201bdd4 vscode: remove non-symlinked openpilot directories from python analysis (#31780)
anaylsis
2024-03-07 14:41:58 -08:00
Justin Newberry
8ba5d660f3 common PlatformFlags base class + test for < 32 bits (#31779)
* add 32 bit check

* space

* this is not required

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

* fix

* fix
2024-03-07 12:09:07 -08:00
Justin Newberry
a919d27afc fix car test routes typing (#31773)
* Fix typing

* and fix test_car_model

* fix
2024-03-07 11:33:40 -08:00
Justin Newberry
9cb256891f test_updated: add test for no update (#31772)
no update test
2024-03-07 11:01:33 -08:00
Justin Newberry
ca79e3ec0b and controlsd (#31769) 2024-03-07 11:34:03 -05:00
Jason Wen
7f11517257 Nissan: Remove unused code (#31768) 2024-03-07 07:28:52 -08:00
Shane Smiskol
cec9f59113 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
2024-03-07 03:53:41 -08:00
Alexandre Nobuharu Sato
c4ef17ac28 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>
2024-03-07 02:03:39 -08:00
Cameron Clough
98a491b1f2 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.
2024-03-07 01:54:33 -08:00
Shane Smiskol
2e0a4a8574 Hyundai: remove Sorento and G80 CAN fingerprints (#31758)
* Add FW

* rm can fp
2024-03-07 01:23:05 -08:00
Shane Smiskol
66680515a7 Hyundai Genesis: remove CAN fingerprints (#31757)
We already have the FW from 1bc85e3b0b53e1ad, 1b85fa0a357240ac, and cb5df08e7b5d0633
2024-03-07 01:09:08 -08:00
Shane Smiskol
9f7c577564 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)
2024-03-07 00:53:31 -08:00
Shane Smiskol
4624bb3d7c Sonata LF: remove CAN fingerprint (#31754)
add FW from 7ae1c131629d96e5
2024-03-07 00:24:50 -08:00
Shane Smiskol
2a29778ae2 HKG: test platform codes per platform (#31753)
* test

* clean up
2024-03-07 00:14:56 -08:00
Shane Smiskol
28b4e9962d Hyundai Palisade: allow fingerprinting without comma power (#31752)
* Palisade gets camera, radar, eps

* Add versions from d23a555519923793

* add FW from 0af43ba62cc3ffc4

* remove CAN fingerprints!
2024-03-06 23:39:11 -08:00
Michel Le Bihan
b4c8e0834d Simulator: Add world status reporting (#31740) 2024-03-06 19:16:21 -08:00
Clark934
997bb65e54 ruff: set tab size and quote style (#31749) 2024-03-06 19:15:14 -08:00
Adeeb Shihadeh
84797482e9 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>
2024-03-06 16:19:08 -08:00
Shane Smiskol
78a46ce724 car values formatting (#31747)
values formatting
2024-03-06 15:47:44 -08:00
Justin Newberry
ac77129041 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
2024-03-06 15:24:46 -08:00
Justin Newberry
ba068a0f58 with_processes: add standalone context manager (#31746)
helpers
2024-03-06 15:22:07 -08:00
Adeeb Shihadeh
7331b3cc95 it's called esim now 2024-03-06 13:39:49 -08:00
Robbe Derks
7177ec0631 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>
2024-03-06 21:14:48 +01:00
Justin Newberry
25ccb2426c cars: remove CAR_INFO map (#31739)
* no carinfo map

* smaller diff

* not on mock
2024-03-06 11:22:12 -08:00
Justin Newberry
233f0437d9 add get_car_interface helper (#31738)
add helper
2024-03-06 10:56:46 -08:00
Adeeb Shihadeh
e399136cb6 don't build cabana on device (#31736) 2024-03-06 09:26:36 -08:00
Shane Smiskol
079b713097 Lexus: add missing IS 2023 FW versions (#31729)
* ahh it has a different engine!

* flip
2024-03-06 02:40:31 -08:00
James
a2de0115b3 Toyota TSS2: parse distance button (#31722)
* Enable the distance button to switch personalities for Toyota/Lexus

* Default to the "standard" personality for now

* only parsing first

* only parse

* no personality in card

* safe

* comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-06 01:06:06 -08:00
Shane Smiskol
1644572be2 run_process_on_route: print log location 2024-03-06 01:04:31 -08:00
Shane Smiskol
0da9a1ea75 [bot] Fingerprints: add missing FW versions from new users (#31682)
Export fingerprints
2024-03-06 00:46:12 -08:00
Shane Smiskol
1b9df8aca6 Toyota: move stop and go cars to one tuple (#31726)
* One tuple!

* rm
2024-03-05 23:23:47 -08:00