Commit Graph

12633 Commits

Author SHA1 Message Date
Jason Wen 5bfbd2d0bf Honda: Parse distance button from steering wheel (#31763)
old-commit-hash: 32c0bcec3aee54cae552d500b783c80930f1e204
2024-03-11 21:49:07 -07:00
Jason Wen 136a94637c Hyundai Longitudinal: Display personality in instrument cluster (#31798)
* Hyundai Longitudinal: Display personality in instrument cluster

* Support CAN-FD

* Apply suggestions from code review

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 87cb00203abb4a9ded660cb2e321d3bc79dcf96f
2024-03-11 21:45:52 -07:00
GRIFFIT807 3dc7e1fa13 Add support for 2024 Ford Maverick (#31828)
* Update fingerprints.py

* Update values.py

* 24

* Update CARS.md

* hybrid should match up

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: adc15d69a2b8e8fa7a5ce5c71d4d4f78e87fca68
2024-03-11 21:31:53 -07:00
Cameron Clough e2ed0a06c7 Ford: show longitudinal personality in IPC (#31796)
* Ford: show longitudinal personality in IPC

Adjust the time gap to 2, 3 or 4 bars for openpilot long.

TODO: set AccTGap_D_Dsply when value changes so that the popup appears
with the new time gap

Depends on #31760.

* ACC UI: show time gap popup when distance changes

* Revert "ACC UI: show time gap popup when distance changes"

This reverts commit c4e8e10970078a534d5714ddced92d540e9e3c0c.

* ACC UI: send on distance bars change

* don't need this check - just send on first frame
old-commit-hash: 011eed0daf167a780165ac8d2d2a7768a86a62e7
2024-03-11 20:30:09 -07:00
Adeeb Shihadeh b26565d793 remove RTC time pull (#31829)
* remove RTC time pull

* and syncing

* bump panda

* bump panda
old-commit-hash: 78d72d7dc390984496dd6633fd588bfd06ae1939
2024-03-11 18:23:10 -07:00
Jason Wen 1d014c0892 Params: remove unused key (#31826)
old-commit-hash: 0e92097f7e80b32ba36e7a9eacbdbad9a6d577ef
2024-03-11 13:47:41 -07:00
Shane Smiskol 59cfb02ebb [bot] Fingerprints: add missing FW versions from new users (#31815)
* Export fingerprints

* Update selfdrive/car/toyota/fingerprints.py
old-commit-hash: fb9f31efb703ac525a5f26e3d09c6246fd66cb15
2024-03-11 13:32:00 -07:00
Jason Wen 583c80a417 GM Longitudinal: Display personality in instrument cluster (#31801)
* GM Longitudinal: Display personality in instrument cluster

* Correct value

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

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3d7595dfe3c234e68412526e4aebc27fb90b296b
2024-03-11 13:31:01 -07:00
Justin Newberry f2533f20cd fix simulator device config (#31827)
fix sim
old-commit-hash: 1db30eae3a9ea929e295d1f340476431f400d6fa
2024-03-11 11:58:24 -07:00
Adeeb Shihadeh 04cff2aeb4 [bot] Bump submodules (#31823)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 6768f13f6a9e5df40c438aae7f81b7fefeac8208
2024-03-11 11:36:45 -07:00
Adeeb Shihadeh 7b03aaea80 [bot] Update Python packages and pre-commit hooks (#31824)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 72cab4342f447b96ab006b40fd7b4d41b48050e2
2024-03-11 10:56:38 -07:00
Justin Newberry 52f95cc80f test_updated: ensure symlinks are copied properly (#31825)
test symlink
old-commit-hash: 7779f6875fd14dcd26edea4c9f521feb6414ac7e
2024-03-11 10:40:42 -07:00
Michel Le Bihan 70a649f88b simulator: Correctly handle arrival at destination (#31807)
old-commit-hash: 8a038845003d1a68896c71ea2c2c35455b27b6a0
2024-03-11 10:27:32 -07:00
Adeeb Shihadeh da31ce154a refactor camera transformations (#31818)
* refactor camera transormations

* update users

* more stuff

* more fix

* swap

* tici

* lil shorter
old-commit-hash: e3589e4b5cc783001c95b52cce066647b4ae0c6c
2024-03-10 16:56:50 -07:00
Adeeb Shihadeh 4399424e89 disable that one for now
old-commit-hash: 6a7a99805839a7e2012b55c2282d545ee21bdff4
2024-03-10 16:44:21 -07:00
Adeeb Shihadeh f60cbbb04b modeld: prep for camera transform refactor (#31820)
* modeld: prep for camera transform refactor

* update refs

* add pub

* do setup
old-commit-hash: 7436aa8b053aeccfc9bacb06bfaf4a42b3ec5f78
2024-03-10 16:39:40 -07:00
Adeeb Shihadeh 2f491dce07 thermald: add deviceType to logs (#31819)
* thermald: add deviceType to logs

* fix
old-commit-hash: f6665f8488b9d407a710dda3dce7344acebf5e67
2024-03-10 14:29:50 -07:00
Mauricio Alvarez Leon 790c336218 Add autoconnect support for hidden WiFi networks (#31789)
* add autoconnect to WifiManager::connect

* set wifi/hidden to true

* typo

* add condition to only set connection[wireless][hidden] to true when connecting to a hidden network

* default false value for is_hidden
old-commit-hash: 1b6178a77d723fc4b96c5010f0d37164f98ecd27
2024-03-10 10:11:41 -07:00
Shane Smiskol 2c33c76170 ButtonParamControl: use buttonClicked (#31817)
old-commit-hash: d651bc802b540089acb4c3b9d5d984fb8b554487
2024-03-10 00:12:18 -08:00
Adeeb Shihadeh 050662fdd0 cgpsd: use a real source
old-commit-hash: 4d1b1001526970012364b843cbbb997bfd983842
2024-03-09 23:33:24 -08:00
Adeeb Shihadeh 6a2ddc9df2 fix status -> state typo
old-commit-hash: 1fe61569f720a30db58379b451452b84239c2e37
2024-03-09 23:31:50 -08:00
Jason Wen 8d8984427f GM: Parse distance button from steering wheel (#31762)
old-commit-hash: 5ca733c41525b1c796e00a09518cea74f0bd0436
2024-03-09 21:00:32 -08:00
Cameron Clough b9980e5bcc Ford: fix counter in LateralMotionControl2 message (#31806)
The counter should be between 0-15 inclusive. This only affects CAN FD cars.
old-commit-hash: 682f16d1b5c9c5d618711d864a16efde80af8e14
2024-03-09 20:54:54 -08:00
Shane Smiskol af33a383a5 [bot] Fingerprints: add missing FW versions from new users (#31731)
* Export fingerprints

* Update selfdrive/car/toyota/fingerprints.py
old-commit-hash: a475417220d675fd1d27fd8dac89a2a23334d8ed
2024-03-08 23:28:23 -08:00
Shane Smiskol 632fd1d20b longitudinal personality: display in Toyota instrument cluster (#31760)
* start at param

* start by sending personality

* change to personality

* POC: button changes personality

* what's wrong with this?

* fix

* not really possible but fuzzy test catches this

* there's always a typo

* dang, we're dropping messages

* clean up

* no comment

* bump

* rename

* revert longplan

* revert this

* Fix check

* more appropriate up here

* consistenet

* Update selfdrive/car/toyota/carstate.py

* Update ref_commit
old-commit-hash: 2c353a25a47a5ad6274b982c419ed21be3bfb213
2024-03-08 23:26:01 -08:00
Yasushi Oh 6e3fd403a5 bugfix: add support for Bronco Sport 2023 (#31794)
* bugfix: add support for Bronco Sport 2023

* Apply suggestions from code review

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1589adddf17effbb526aafaaa2b4572542a98759
2024-03-08 21:49:12 -08:00
Shane Smiskol 2fc4b2ebd6 Subaru: log alt request (#31812)
* add alt query (same as Hyundai)

* refs
old-commit-hash: 5be3f0b7dbb1209f8e2543bfb6f0003e3fda01b6
2024-03-08 19:36:33 -08:00
Shane Smiskol e403d1c128 [bot] Fingerprints: add missing FW versions from new users (#31732)
Export fingerprints
old-commit-hash: 3862911ae697ec34f29fae41a434373d258cbc3d
2024-03-08 17:01:31 -08:00
Shane Smiskol ae84cb4fc5 Subaru: extra logging request for camera (#31783)
* 7f - service not supported in active session

* update refs

* rm short

* Apply suggestions from code review

* bus 0
old-commit-hash: 66adf8781eb09631687ca4809e92136cbbdc7f56
2024-03-08 17:00:07 -08:00
ZwX1616 ec2d235c69 camerad: OS04C10 operational (#31674)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* add base comment

* clean up

* make orders clear

* not abcd

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7eb1e958848c6fdb0865da95eaba991252ca9fd6
2024-03-08 16:43:18 -08:00
Justin Newberry f767f65f66 test_updated: check the version and consistency of finalized dir (#31808)
* check finalized

* also check consistent
old-commit-hash: bc81daee8b9d4364e17918196692ea62be20e9c5
2024-03-08 15:31:24 -08:00
Michel Le Bihan 02a16c3eb4 simulator: Increase map size to contain road (#31805)
old-commit-hash: 9c8a27ad2492cf613543103709ae8e3c4a3f5b31
2024-03-08 15:13:02 -08:00
Adeeb Shihadeh 098f5943d0 update cavli config
old-commit-hash: 06ab3de4de18553c8dfba936f9cfb59885899aba
2024-03-08 14:11:08 -08:00
Justin Newberry 85a3c58c1f updated: more common helpers (#31804)
update more helpers
old-commit-hash: 74bf9dcdc7835f427eff132be8d32a86543a0cd4
2024-03-08 13:46:16 -08:00
Adeeb Shihadeh 294e055d8b cgpsd: use hasFix
old-commit-hash: bfd6ab68b5fb65da10b4c5c70c5b5782c998d4fe
2024-03-08 13:29:42 -08:00
Adeeb Shihadeh 777d37b619 much commit
old-commit-hash: 33d1b127c9e7a3d563014a13f174939be202238d
2024-03-08 13:18:55 -08:00
Justin Newberry 52a32bf132 add helper for serving a directory (#31802)
directory http server
old-commit-hash: 358461896c115027a6372504505a4cd9be8dbeb2
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: a0389d7120624b35fb169d680889ae56e1adb10a
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: b93f6ce4f6fd34d33f990e86bde22b5cec49f2da
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: c30688fe3a04fe8a60f6805210e39296bdca825e
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: e964c5944d4342b6e08ca872eacf9d524a49b479
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: 99610c88195301c65c35ba0d4b41ad09d242a269
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: 782b707824b6a0df65db01bd1f4f8533faaa25e7
2024-03-07 20:10:12 -08:00
Shane Smiskol d96e5c520b longitudinal planner: start at personality param (#31788)
start at param
old-commit-hash: fdab60cad733836051fa7af237db50b9f842542e
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: 158e36976b8793610ac1f39f51d82f5eeeb099b2
2024-03-07 19:22:06 -08:00
Adeeb Shihadeh 52eb1aee05 tools: update replay route parsing for timeless format
old-commit-hash: fd51bfb27bbdd089833810bec49e67e4ce7a1800
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: 90442e35971b273d36832bf90188dd010a32507e
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: 428397a18ba734f5ec73c18cfe35d16e2c0b040f
2024-03-07 17:24:29 -08:00
Justin Newberry 8c25973016 better comment
old-commit-hash: 6de71bcddb83510cb48125f4e0440d4328c393a4
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: fbe6b2c73ba854de7f73ff99f0d1502cfeb9ef70
2024-03-07 16:40:13 -08:00