Commit Graph

12534 Commits

Author SHA1 Message Date
Justin Newberry
2e0db7f8d8 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
2024-03-01 10:31:43 -08:00
Cameron Clough
341b81c0a5 Ford: use flags for CANFD (#31664) 2024-03-01 12:18:03 -05:00
Shane Smiskol
52ee070fe0 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
2024-03-01 02:14:33 -08:00
Adeeb Shihadeh
9c3f0450bb simple pyqt ui 2024-02-29 21:46:35 -08:00
Justin Newberry
00f2703bbb basic platform config tests 2024-03-01 04:01:59 +00:00
Justin Newberry
e576da1457 VW: use flags for PQ (#31659)
pq use flags
2024-02-29 19:51:20 -08:00
Adeeb Shihadeh
2d2ba37b46 build tools on-device (#31658) 2024-02-29 19:39:28 -08:00
Justin Newberry
a6a6f7bb50 Honda: move carspecs to platformconfig (#31657)
* first pass

* fix
2024-02-29 19:14:31 -08:00
Justin Newberry
e341707b0f 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>
2024-02-29 17:04:54 -08:00
Justin Newberry
7014b52596 Chrysler: fix radar not being enabled (#31655)
fix radar
2024-02-29 15:56:11 -08:00
Shane Smiskol
690dc55ea2 Car flags: label static flags (#31639)
* comment, consistent source

* no caps not global

* no field

* label rest
2024-02-29 15:36:40 -08:00
Shane Smiskol
0fa3445ddb Subaru: use carParams flags in interface (#31653)
* Subaru: don't use platform flags

* clean up
2024-02-29 15:19:31 -08:00
Justin Newberry
ac16c5518a add CAR.print_debug (#31652)
print debug
2024-02-29 15:01:47 -08:00
Shane Smiskol
5d291cb64d Subaru: group steer rate limited with GEN2 (#31640)
* remove sideways diff

* make a subclass

* fix

* fix
2024-02-29 14:45:31 -08:00
Justin Newberry
7ec83c42f8 devcontainer improvements (#31650) 2024-02-29 14:14:24 -08:00
Justin Newberry
5734d7c2bf Honda: move to platformconfig (#31637)
* first

* Fixes

* not

* not

* Fixes

* fix

* cleanup + use sets for now

* update ref

* update ref
2024-02-29 11:29:40 -08:00
Justin Newberry
e122f1d749 Mazda: move to platform config (#31647)
* mazda platform config

* update ref
2024-02-29 11:14:00 -08:00
Justin Newberry
80807879de Tesla: move to platform config (#31648)
tesla platform config
2024-02-29 11:11:37 -08:00
Justin Newberry
f775faf26d carspecs: add more units (#31646)
more units
2024-02-29 10:42:11 -08:00
Cameron Clough
251eee4664 test_processes: fix unclosed file (#31644) 2024-02-29 11:17:13 -05:00
eFini
8e82bce17a CHS/CHT translation update (#31642)
update ZH translations
2024-02-29 02:47:32 -08:00
Shane Smiskol
85150c0289 Platform config small cleanup (#31638)
no field, label mass, correct spacing
2024-02-28 23:54:41 -08:00
Adeeb Shihadeh
b8c9d3bd09 Revert "Ford: remove unnecessary __init__"
This reverts commit 7687cafe8c.
2024-02-28 21:13:26 -08:00
Shane Smiskol
7687cafe8c Ford: remove unnecessary __init__ 2024-02-28 20:47:49 -08:00
vanillagorillaa
e0a80d34d9 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>
2024-02-28 20:45:48 -08:00
Adeeb Shihadeh
7e7a6b1526 bump panda 2024-02-28 20:34:44 -08:00
Adeeb Shihadeh
e4e9243f8d bump cereal 2024-02-28 20:23:40 -08:00
Shane Smiskol
f20bfacb94 move CarControllerBase up with other car classes 2024-02-28 20:23:09 -08:00
Justin Newberry
851df7458f pr comments: only on external prs (#31635)
only on external prs
2024-02-28 20:22:54 -08:00
Justin Newberry
3a6c3315ab 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
2024-02-28 20:12:14 -08:00
Harald Schäfer
85eb221e4c GpsLocation: Rename accuracy to horizontal accuracy (#31629)
* Rename accuracy to horizontal accuracy

* typo in cereal
2024-02-28 19:55:57 -08:00
Alexandre Nobuharu Sato
3ae151635d Multilang: update pt-BR translations (#31634)
update pt-BR translations
2024-02-28 19:33:37 -08:00
Shane Smiskol
ec9856b784 GM: add more FW logging (#31633)
* add more DIDs

* one more

* update refs

* rm

* btr

* Update selfdrive/car/gm/values.py
2024-02-28 18:01:58 -08:00
Justin Newberry
d4c497d826 add CarControllerBase base class to all CarControllers (#31630)
just base class for now
2024-02-28 17:13:44 -08:00
Shea_D
4cec88c029 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>
2024-02-28 17:07:06 -08:00
Justin Newberry
f4a7e8eae6 disable commaCarSegments tests (#31632)
disable this test too
2024-02-28 16:47:08 -08:00
Justin Newberry
7208e37f8c disable notebooks (#31631) 2024-02-28 16:44:10 -08:00
Adeeb Shihadeh
6cf7599bcd setup: add openpilot button (#31628)
* setup: add openpilot button

* rename
2024-02-28 15:54:21 -08:00
Justin Newberry
e9a10ca712 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>
2024-02-28 12:05:43 -08:00
Justin Newberry
7cf2b28b78 scons: fix race condition with opendbc (#31621)
* fix race condition

* add to release

* fix for now

* bump
2024-02-28 11:41:42 -08:00
Shane Smiskol
2c247ea2c6 Honda Civic (Nidec): allow fingerprinting without comma power (#31501)
* civic: FP with no OBD port

* non essential ecus
2024-02-27 22:12:00 -08:00
Shane Smiskol
a5fa419fbd Volkswagen: log camera ECU FW 2024-02-27 21:48:40 -08:00
Shane Smiskol
ce6637cd8f Honda Accord: allow fingerprinting without comma power (#31477)
* Do Accord

* add comment

* good test

* this catches the accord/accordh issue!

* as expected, only if both radar&camera have in common FW does the test fail

* cmt

* clean up

* better

* Use HondaFlags

* detect alt brake

* for test

* hypothesis isn't installed

* test failure

* works

* Revert " works"

This reverts commit bfc0d808abe548630e6507431f13b01e8a1316cb.

* Revert "test failure"

This reverts commit 10ab6eb63ccd411740751b742f31fd610397fe8e.

* Revert "hypothesis isn't installed"

This reverts commit d474cc3f0ed7e84fe8bd24f452b3315fd2b8d47c.

* Revert "for test"

This reverts commit 98e039f4fc0189ccb57c1dae6b344209ef15eb1c.

* this is important too

* clean up

* merge accord fingerprints, test

* remove duplicates

* accordh doesn't have these

* rm

* no unknown

* start over, merge platforms

* add cmt

* note non-essential ecus

* add non essential obd ecus

* combine FW

* format fingerprints (remove dups)

* migrate test models segs

* cmt

* Update ref_commit

* clean up
2024-02-27 20:09:02 -08:00
Shane Smiskol
56e343b3f1 Honda Accord: label non-essential ECUs (#31624)
* note non-essential ecus

* do accordh
2024-02-27 17:41:52 -08:00
Justin Newberry
262b328ad7 ban pytest.main (#31623)
ban it!
2024-02-27 14:17:01 -08:00
Justin Newberry
19db56b1f6 tici tests: remove pytest.main (#31622)
pytest.main is bad!
2024-02-27 14:06:18 -08:00
Harald Schäfer
c05b37979d Wheeled body (#31614)
* Wheeled body

* 100hz only for balance

* No carparams in locationd no more

* Update ref
2024-02-27 13:23:04 -08:00
Justin Newberry
f293f7bad4 scons: move cereal library exports to cereal submodule (#31617)
* cleanup-cereal

* bump
2024-02-27 13:17:56 -08:00
Adeeb Shihadeh
47013fd0a4 Revert "auto PR comments (#30675)"
This reverts commit 402ac424d9.
2024-02-27 12:06:53 -08:00
Justin Newberry
dc37281340 typo (#31618)
dataset
2024-02-27 11:55:19 -08:00