Commit Graph

12509 Commits

Author SHA1 Message Date
Shane Smiskol e179c61a4b Hyundai: clean up platform configs (#31677)
* formatting

* should always end with comma

* rest are lower

* to avoid confusion, don't subclass from CAN config -- nothing is common
old-commit-hash: b74e8c91bd5c291408c83be4cbc0fa8d542fe810
2024-03-01 17:17:52 -08:00
Shane Smiskol 46c211d833 Honda: two base platform configs (#31676)
* subclass bosch and nidec

* end with comma

* one line

* remove unused flags

* as a test see what happens if we exceeed CP.flags

* Revert "as a test see what happens if we exceeed CP.flags"

This reverts commit f57a346df5e6f3c6ab19875b843633c0571d16e3.

* Update ref_commit
old-commit-hash: 77d896eb898dd04490862b89bf34434e9d9811c3
2024-03-01 17:16:46 -08:00
YassineYousfi 063623602c Recertified Herbalist Model (#31616)
* dfa8bce2-a445-45ea-a4b8-e63989b8df08/700

* update model replay ref
old-commit-hash: f1cd16e36794093f5bcc4cdd648dde6b245ed93c
2024-03-01 16:56:33 -08:00
Shane Smiskol d3b4577a55 Honda Bosch: fix detection for alternate brake signal bug (#31675)
statically set alt brake for platforms where we don't need detection yet
old-commit-hash: 81bed0aad857ee3ff41192b8cd8d05db7a7d5ecf
2024-03-01 16:37:09 -08:00
Shane Smiskol 22c1d2d100 CI: increase test car interfaces examples (#31641)
* increase

* huh

* Revert "huh"

This reverts commit 1a652cbed06a7c814711db6f2bc6b3146d3aec04.

* no huge fp dicts

* ugh

* try 300

* test

* at least increase a bit
old-commit-hash: bf20358440830106396780464c21ec9b100ebfbc
2024-03-01 16:11:48 -08:00
Comma Device 646861b75a no amp
old-commit-hash: 9616b3f71719785f75bf25acdf51f38f19105a3e
2024-03-01 15:32:33 -08:00
Jason Young fa8e3f1f39 VW PQ: Volkswagen Caddy Mk3 (#31670)
old-commit-hash: 50a754f4707d8b7cd0b9889b56f4b8fb50ccfec9
2024-03-01 16:41:56 -05:00
Justin Newberry b6b2ae1197 can_replay: log fingerprint for hardcoding (#31671)
* log

* quotes
old-commit-hash: b0496d8294b43bc63dc5cf54c19d029ac7857163
2024-03-01 13:28:58 -08:00
Jason Young dd78310f2f VW: Cleanup, migrate center-to-front ratio to CarSpecs (#31668)
* VW: Cleanup after PlatformConfig refactor

* whitespace fix
old-commit-hash: e0c840cd02e643fc3ace803c8a80af34c6218c8a
2024-03-01 12:05:28 -08:00
Justin Newberry e9ca84c95c platformconfig and carspecs are now required, carspecs no longer kwarg (#31667)
* required

* mock can be a platform!

* default is mock

* fix that

* and that one
old-commit-hash: b0eae8c1b7264b2d0c63ee2957689bc1317616f1
2024-03-01 11:31:51 -08:00
Justin Newberry 3ec004d482 Body: move to car specs (#31666)
* specs

* override

* fixes 1

* fix 3

* fixes 4

* fixes

* fixes

* fixc

* fix number 723124

* that too

* fixes

* aa

* do body real quick too

* body too
old-commit-hash: a5ee1638b8d4f7dde23b9160e26d715cd1420202
2024-03-01 10:32:31 -08:00
Justin Newberry 9b6963a00d Hyundai: move car specs to platformconfig (#31661)
* specs

* override

* fixes 1

* fix 3

* fixes 4

* fixes

* fixes

* fixc

* fix number 723124

* that too

* fixes

* aa
old-commit-hash: 2e0db7f8d87457d05fef8156eccb94c949623cf3
2024-03-01 10:31:43 -08:00
Cameron Clough d02888ce23 Ford: use flags for CANFD (#31664)
old-commit-hash: 341b81c0a5c5f378f749a8ba07514f48f0f9faa5
2024-03-01 12:18:03 -05:00
Shane Smiskol 2ac06e8d7d Toyota: use platform config (#31607)
* part 1. Toyota platform config

* more

* everything works now

* no more DBC

* janky but that saves a lot of car lines

* need to init inside values or else it won't be reliable

* no return

* fixes

* minor update

* common flags, no dbc grouping

* some clean up

* some clean up

* rename

* copied wrong :(

* another

* copied specs for easiest ones first

* second easiest

* fix erroneous commas

* more clean up

* do the rest

* bug

* the refactor is so error prone

* huh?!

* static

* fix stiffness factor

* detect unsupported DSU

* Revert "detect unsupported DSU"

This reverts commit 9b72de6c8ef282ce20f6472970874a960761884b.

* fix DBC diff

* test carparams

* test sets

* scratch

* catches this

* Revert "scratch"

This reverts commit de08daa9fb8cc0368c5847b669e87b1b2e577616.

* Revert "test sets"

This reverts commit 62402f9b021cdf16a27fd9fb0883d81169711cbd.

* Revert "test carparams"

This reverts commit b02971659c2a8268d0ac8fdff02231dc36b5a197.

* Update ref_commit
old-commit-hash: 52ee070fe0a6880b7e3a5db408a0453c8310be86
2024-03-01 02:14:33 -08:00
Adeeb Shihadeh c4904800eb simple pyqt ui
old-commit-hash: 9c3f0450bb277a02effdeccbe6e89986ed5678b9
2024-02-29 21:46:35 -08:00
Justin Newberry 3816b6a4b6 basic platform config tests
old-commit-hash: 00f2703bbb70d5d79d3b64cb6b2974efb36cb4d4
2024-03-01 04:01:59 +00:00
Justin Newberry 30429b15f5 VW: use flags for PQ (#31659)
pq use flags
old-commit-hash: e576da1457f2e978f1dbd594b857bff034a359d7
2024-02-29 19:51:20 -08:00
Adeeb Shihadeh 6a5fc2442f build tools on-device (#31658)
old-commit-hash: 2d2ba37b46e355c9784f0450f19470c125232bb6
2024-02-29 19:39:28 -08:00
Justin Newberry 8ba78b778d Honda: move carspecs to platformconfig (#31657)
* first pass

* fix
old-commit-hash: a6a6f7bb50ecbca61dfa44ca23f0cab201439342
2024-02-29 19:14:31 -08:00
Justin Newberry 0ffb29accd HKG: move to platform config (#31649)
* fuck me!

* that kinda makes things pretty nice

* move it down

* and move this comment

* Wip

* more flags :/

* add the debug shit

* add

* lets not break this yet

* MORE flags git add .git add .git add .git add .!

* B

* add mando

* update ref

* possibly better?

* we can use flags here

* formatting

* formatting

* move up

* canfd subclass

* this is more clear

* spacing

* static!

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e341707b0f1b26bc235fb0a3d4a1703723c0e48b
2024-02-29 17:04:54 -08:00
Justin Newberry 3fadc8cd21 Chrysler: fix radar not being enabled (#31655)
fix radar
old-commit-hash: 7014b5259628bf44a7b4fcf0eb5809d2bcdcf3b2
2024-02-29 15:56:11 -08:00
Shane Smiskol 6addeddd6d Car flags: label static flags (#31639)
* comment, consistent source

* no caps not global

* no field

* label rest
old-commit-hash: 690dc55ea26dadb26ed768103baafba47428cda6
2024-02-29 15:36:40 -08:00
Shane Smiskol 03d35a8b09 Subaru: use carParams flags in interface (#31653)
* Subaru: don't use platform flags

* clean up
old-commit-hash: 0fa3445ddb829122fc8d67cd6aab7b9842a6e089
2024-02-29 15:19:31 -08:00
Justin Newberry b3bb450e4a add CAR.print_debug (#31652)
print debug
old-commit-hash: ac16c5518a300df5fa31e088a6e2a03d1a0d1747
2024-02-29 15:01:47 -08:00
Shane Smiskol a254be8fe3 Subaru: group steer rate limited with GEN2 (#31640)
* remove sideways diff

* make a subclass

* fix

* fix
old-commit-hash: 5d291cb64d2ff925a13cbf0f783517642929917f
2024-02-29 14:45:31 -08:00
Justin Newberry 07c5a51338 devcontainer improvements (#31650)
old-commit-hash: 7ec83c42f8229b37fb243d43004bbea22f0247c2
2024-02-29 14:14:24 -08:00
Justin Newberry 1a5b057983 Honda: move to platformconfig (#31637)
* first

* Fixes

* not

* not

* Fixes

* fix

* cleanup + use sets for now

* update ref

* update ref
old-commit-hash: 5734d7c2bf13c217e469d37c4900321cba469121
2024-02-29 11:29:40 -08:00
Justin Newberry 1567508bd4 Mazda: move to platform config (#31647)
* mazda platform config

* update ref
old-commit-hash: e122f1d7498d5964066bcc6b3f63b7d215f6d591
2024-02-29 11:14:00 -08:00
Justin Newberry 1df44de8db Tesla: move to platform config (#31648)
tesla platform config
old-commit-hash: 80807879de395ae87ae3bcd88cd83eaac24ca744
2024-02-29 11:11:37 -08:00
Justin Newberry b17981eced carspecs: add more units (#31646)
more units
old-commit-hash: f775faf26d555a99f43b74f8949aeb463d1d868e
2024-02-29 10:42:11 -08:00
Cameron Clough 220ac6c422 test_processes: fix unclosed file (#31644)
old-commit-hash: 251eee46644c7975d732cb557af419d211532895
2024-02-29 11:17:13 -05:00
eFini 1aeceb60d6 CHS/CHT translation update (#31642)
update ZH translations
old-commit-hash: 8e82bce17ae10b5df8c87ee77135ac556c4c1aac
2024-02-29 02:47:32 -08:00
Shane Smiskol d8c7b75973 Platform config small cleanup (#31638)
no field, label mass, correct spacing
old-commit-hash: 85150c0289605c86f6aaeceebfc2376cd6027cf7
2024-02-28 23:54:41 -08:00
Adeeb Shihadeh 5b69d84a7e Revert "Ford: remove unnecessary __init__"
This reverts commit 65283c3439a4d8316d3d644415f651371fedaeb8.

old-commit-hash: b8c9d3bd09171a5b9a30cb91a262e9c089d28cfd
2024-02-28 21:13:26 -08:00
Shane Smiskol 88c941a097 Ford: remove unnecessary __init__
old-commit-hash: 7687cafe8cc805a8be139c4d8a797bffd0df3fc8
2024-02-28 20:47:49 -08:00
vanillagorillaa 70580d7979 Honda: add CanBus class (#31528)
* init canbus class

* zero

* put back after rebase

* cmt

* ordering

* fix bsm bus

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e0a80d34d993fb4e7f2247ed3fc853d6e925f08e
2024-02-28 20:45:48 -08:00
Adeeb Shihadeh efaff82190 bump panda
old-commit-hash: 7e7a6b1526ef8e3628a8125ca8f95919993fa6f6
2024-02-28 20:34:44 -08:00
Adeeb Shihadeh 9713edb8d9 bump cereal
old-commit-hash: e4e9243f8d25711627bb4490ebb5255770e5f92c
2024-02-28 20:23:40 -08:00
Shane Smiskol d35f01464a move CarControllerBase up with other car classes
old-commit-hash: f20bfacb9434d5f9d2a6692352c1f686dec9327f
2024-02-28 20:23:09 -08:00
Justin Newberry b20ddc8f14 pr comments: only on external prs (#31635)
only on external prs
old-commit-hash: 851df7458fc13e15244a7d83196d70c71e56d712
2024-02-28 20:22:54 -08:00
Justin Newberry 9ccd7f15f9 Subaru: move to flags within PlatformConfig (#31584)
* flags

* update ref

* use the flags directly

* use post_init (don't freeze)

* we can maintain frozen with custom class

* not preglobal

* move to common

* cleanup
old-commit-hash: 3a6c3315ab181bf7390ae1faa6e87c93b1a97338
2024-02-28 20:12:14 -08:00
Harald Schäfer add26a5d1f GpsLocation: Rename accuracy to horizontal accuracy (#31629)
* Rename accuracy to horizontal accuracy

* typo in cereal
old-commit-hash: 85eb221e4c9344a5c135789691e8e0500aa51482
2024-02-28 19:55:57 -08:00
Alexandre Nobuharu Sato ae2cfa285a Multilang: update pt-BR translations (#31634)
update pt-BR translations
old-commit-hash: 3ae151635d829ce432c13d72b0b075ced892f704
2024-02-28 19:33:37 -08:00
Shane Smiskol 477e4253f6 GM: add more FW logging (#31633)
* add more DIDs

* one more

* update refs

* rm

* btr

* Update selfdrive/car/gm/values.py
old-commit-hash: ec9856b784e6cda8f02e012076666aebe7476650
2024-02-28 18:01:58 -08:00
Justin Newberry c3f35c3fbd add CarControllerBase base class to all CarControllers (#31630)
just base class for now
old-commit-hash: d4c497d82674126103118a4d5bb7a39db2823609
2024-02-28 17:13:44 -08:00
Shea_D 67c8dc043c Ford - Add OBDC Cable Length to CarPartList (#31608)
* Update comma cable requirement for Ford CANFD

* Adding Long_Cable to part list

* Moving cable info into doc_definitions under CarHarness

* Updating parts for ford_q4

* Updating Q3 info

* Updated MachE with USBC coupler

* fix typo

* updating docs/cars.md

* Add 3X angled no cable

* Adding in nocable device package

* Add missing )

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* Generating new Docs.MD

* Added threex_nocable for MachE

* Swap MachE to regular mount no cable

* confirmed with Comma Operations all boxes include 1.5ft cable regardless of 9.5ft selection

* Updating CarInfo

* Update USB_Coupler for Q4 Harness

* Remove cable from import

* removed ]

* Disagree with the inconsistency but OK

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

* Update selfdrive/car/ford/values.py

---------

Co-authored-by: sheaduncan <sduncan@Yeti-PC>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 4cec88c02902ff15eafbb497e779c5ca2dc13d8b
2024-02-28 17:07:06 -08:00
Justin Newberry 6f9f45182b disable commaCarSegments tests (#31632)
disable this test too
old-commit-hash: f4a7e8eae6e4102a35c0ba787d61861bd40ed8f4
2024-02-28 16:47:08 -08:00
Justin Newberry 28e9c2ef76 disable notebooks (#31631)
old-commit-hash: 7208e37f8c02c2d5260ed06faf4c531f753811a3
2024-02-28 16:44:10 -08:00
Adeeb Shihadeh 62bbd08492 setup: add openpilot button (#31628)
* setup: add openpilot button

* rename
old-commit-hash: 6cf7599bcd1a0218bb359f72c3d17e15c53bae93
2024-02-28 15:54:21 -08:00
Justin Newberry 44b165575d auto pr review (#31626)
* auto PR comments

* little more

* test

* update action

* cleanup

* ensure it only runs once

* comment that part out

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e9a10ca712c79c51037f5c96b8f8e749c98ce060
2024-02-28 12:05:43 -08:00