Commit Graph

148 Commits

Author SHA1 Message Date
Shane Smiskol
61d0c2d99f Car docs: fix typo
old-commit-hash: c875f540a8
2022-07-20 18:42:28 -07:00
Adeeb Shihadeh
7b6043aea5 car incompatibility docs (#25227)
* car incompatibility docs

* we're getting somewhere

* try the table

* run generator
old-commit-hash: 1f221017cb
2022-07-20 18:33:07 -07:00
Shane Smiskol
5ee051a00b Car docs: update Toyota supported packages (#25218)
These cars have TSS-P standard
old-commit-hash: c50a14a7d3
2022-07-20 13:59:26 -07:00
bnoeldner
2f0b8b0bcd Kia Niro PHEV 2018: add missing FW versions (#25187)
* Kia: Niro PHEV 2018 fingerprint

* Correct formatting

* update years

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8553893e73
2022-07-19 10:43:23 -07:00
Shane Smiskol
e1ff4f9f5b CarInfo: parse out model years (#25208)
* add function

* split model and years

* typing and clean uop

* one function to split into make, model, years

* add test for bad years

* simpler re

* don't match only numbers

* clean up

* we can just use name

* clean up
old-commit-hash: b30871daad
2022-07-18 22:34:50 -07:00
Adeeb Shihadeh
89a11b1ca5 simplify compatibility docs (#25190)
* simplify tiers

* little more

* cleanup

* fix test
old-commit-hash: 500d16622c
2022-07-18 17:53:00 -07:00
Adeeb Shihadeh
9340d0af1b 2021 pacifica is supported
old-commit-hash: 2a5da48a7c
2022-07-18 15:07:56 -07:00
Erich Moraga
399bd8dae1 Update Corolla Cross Hybrid f/w & doc (#25178)
old-commit-hash: 70678bb772
2022-07-14 13:55:08 -07:00
Jason Young
f558243ee7 VW MQB: Update supported models and model-years (#25123)
* updates for Atlas

* updates for Arteon

* regen CARS.md

* consolidate wagons, update Golfs

* update Jetta and Passat

* harness footnotes for Jetta and Passat

* update Polo

* regen CARS.md
old-commit-hash: e203794b2d
2022-07-14 13:41:20 -07:00
Willem Melching
4d924f1b39 camerad: cleanup unused RGB code (#25172)
* camerad: cleanup unused RGB code

* hdr is unused

* more cleanup

* remove envs

* remove from sconsfile

* fix docs
old-commit-hash: f38204ad26
2022-07-14 19:21:40 +02:00
Jafar Al-Gharaibeh
0b96dab412 Mazda: Support CX-9 2022 (#25147)
* Mazda: Support CX-9 2022

dongle-id: 8c6e0e30decb68f7

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* update years

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a7b778c324
2022-07-13 00:31:52 -07:00
Shane Smiskol
c36e2340a8 Corolla Cross: Update minimum enable speed (#25132)
* Update min steer speed for intl. Corolla Cross

27 km/h, thanks to Ale Sato

* update docs
old-commit-hash: 01de46ad82
2022-07-12 19:25:03 -07:00
Adeeb Shihadeh
559da5c2b5 fix accord years
old-commit-hash: ee6dc03118
2022-07-12 17:25:54 -07:00
Adeeb Shihadeh
86c7913d23 update compatibility docs with VIN data (#25134)
* start with genesis

* chrysler

* honda

* toyota

* subaru
old-commit-hash: ecac734160
2022-07-12 13:51:25 -07:00
Adeeb Shihadeh
20746c221c couple more stinger MYs supported
old-commit-hash: 045c881e1f
2022-07-11 21:11:12 -07:00
Adeeb Shihadeh
2f7b2ce4d0 Ship EV6 (#25095)
* Ship EV6

* bump opendbc
old-commit-hash: d08a231774
2022-07-08 22:46:20 -07:00
Adeeb Shihadeh
7d042460a4 Ram 1500 (#24878)
* RamInit

* bump submodules

* lil cleanup

* clean up carstate formatting and platform grouping

make tuple

* give it a gold torque star (looks around 2.4 from rough data)

* Dasm Fault

* bump panda

* more cleanup

* cleanup car state

* more cleanup

* some fixes

* remove more stuff

* fix angle signal scaling and fix lkas control bit

* bump panda

* update those

* same limits as pacifica

* cleanup hud alert building

* better fault logic

* fix rate

* set ahb

* bring that back

* update refs

Co-authored-by: Jonathan <jraycec@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9b0acacf5e
2022-07-06 23:42:07 -07:00
martinl
163599aaad Subaru: XV is supported (#25034)
* Subaru: add XV to supported models

* Update docs
old-commit-hash: eaa8b08510
2022-07-05 16:42:53 -07:00
Shane Smiskol
2bd59d52ae Chrysler Pacifica 2019 is supported (#25010)
19 is secretly supported
old-commit-hash: ab8592187f
2022-06-30 17:55:22 -07:00
Dean Lee
2156e71e7a move replay from selfdrive/ui/replay to tools/replay (#24971)
* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
old-commit-hash: fd5b3d7603
2022-06-28 16:12:42 +02:00
HaraldSchafer
0282b746f4 Refactor torque stuff (#24921)
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
old-commit-hash: 2deaf69789
2022-06-22 15:58:06 -07:00
Shane Smiskol
7f7ea75033 compatibility docs: fixup steering torque star (#24940)
* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs
old-commit-hash: 789f2d195c
2022-06-22 01:03:29 -07:00
Adeeb Shihadeh
8874d12b6d 22 civic hatcback is supported
old-commit-hash: 59055724d6
2022-06-20 20:20:24 -07:00
Adeeb Shihadeh
9ca919d06e Toyota: international corolla cross is supported
old-commit-hash: 5e07131221
2022-06-20 19:16:49 -07:00
Adeeb Shihadeh
d9d83b0225 Move camerad to system/ (#24836)
* mv camerad

* add hardware symlink

* fix unit tests
old-commit-hash: 6123ab3d1c
2022-06-19 14:43:49 -07:00
Adeeb Shihadeh
61e4dc0552 Chrysler: 2022 pacific hybrid is supported
old-commit-hash: d3185a0af0
2022-06-19 14:08:14 -07:00
Shane Smiskol
43bb8dd087 Car Port: 2022 Honda Civic (#24535)
* master 2022 Civic

* bump panda

* bump

* bump cereal

* fix

* needed

* try for now

* maybe

* revert for now

* move to Cam parser

* fix

* move to cam

* need AEB_STATUS too

* bump for debug prints

* bump opendbc and add cruise_params

* bump opendbc and update cruise_params

* bump

* test route

* update ref

* Revert "update ref"

This reverts commit 28345dab63d1919865ccb510265222a4cd4252f4.

* cleanup

* just to test

* bump

* revert

* need to send val 12 too?

* change bus

* not needed

* update bus

* syntax

* move this to other bus too

* Revert "move this to other bus too"

This reverts commit 770bf4745ee244c8426ac108f44b67777198d0a7.

* test new lane line signal

* needed too

* maybe need both?

* Test new LKAS hud message

* bump

* missing comma

* missing

* maybe

* add frame and idx

* add in hud_lanes

* switch this too

* bump panda

* add this

* I guess need this too

* to match

* also

* wasnt correct

* bump opendbc

* bump panda

* move to cam parser

* missing

* add here too

* bump

* remove from cam parser

* bump

* back to cam parser

* its 5hz

* bump for new checksum function

* bump for correct frequency

* update frame and idx

* bump

* bump and update

* send set me bit

* bump

* pass these values through

* silly atom

* ret

* fix this

* use copy instead

* add these too

* to check keyerror

* switch

* bump submodules

* send too

* proper

* Replace HUD with BOH

* add dashed lanes

* small fix

* clean up

* not needed anymore

* remove and change

* this too

* dont always set

* remove additional LKAS message

* bump

* add

* to test

* add frame

* bump

* rebase

* remove default values

* rename

* clean up some carstate logic

* regenerate docs

* spacing

* simplify more logic

* bump opendbc

* bump opendbc

* only if radarless

* panda at least builds now

* add comment

* bump

* fixes

* bump opendbc

* bump opendbc

fix for new DBC

* bump opendbc

* bump opendbc

* carstate: fix bus, parser signals

* Set safety param

* pt bus is 0, not 1

* Fix SCM_BUTTONS and bump panda and opendbc

* fixes for ACC_CONTROL

* bump opendbc

* bump opendbc

* convert from MPH on HONDA_BOSCH_RADARLESS

move is_metric

* make sure we don't disable if radarless

* don't show incorrect harness on website

don't show incorrect harness on website

* bump panda

* remove/update comments

* bump panda

* Fix harnesses

* one line check

* bump opendbc

* remove this

* Some carstate cleanup

We removed STANDSTILL->WHEELS_MOVING

we don't use CRUISE_PARAMS

add back

add back

* more cleanup

* update docs

* marketing says it has TJA and ACC with low speed follow

* send buttons on bus 0

bump panda

* comment

* camera needs to see buttons on bus 2

comment

* bump panda

* add to releases

* remove comments

* comment

* we don't use stock hud yet

Co-authored-by: vanillagorillaa <ntmccoy@yahoo.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
Co-authored-by: kevinharbin <76784413+kevinharbin@users.noreply.github.com>
old-commit-hash: abcc7338d4
2022-06-19 00:06:23 -07:00
Adeeb Shihadeh
172df03c8d HKG: simplify Kia K5 compatibility (#24810)
LKAS/LFA is standard on the K5
old-commit-hash: 725ccc0179
2022-06-15 18:01:02 -07:00
Shane Smiskol
2be8856e28 Move RAV4 2022 out of bronze
old-commit-hash: a78197ab1a
2022-06-13 21:49:50 -07:00
Adeeb Shihadeh
3c48bc47b7 Move a bunch of stuff to system/ part 3 (#24829)
* move swaglog.py

* timezoned

* logmessaged

* version.py

* fix linter
old-commit-hash: 0fce5d9045
2022-06-11 23:19:27 -07:00
HaraldSchafer
f7edd5f3d3 Car interface: set max lateral torque from table (#24789)
* json

* better naem

* Read from table

* formatting and default to nan

* Generate docs

* Read from table

* this should be the same

* Prius v is full

* test we always set the tunes correctly

add to release files

* Set for all cars

Set for all cars

* Revert tuning changes

Revert tuning changes

* remove that

* fixes

* update ref commit for new maxLateralAccels

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3066ad81a8
2022-06-10 17:57:23 -07:00
Shane Smiskol
68e8173474 docs: adjust steering torque thresholds (#24798)
* Prius has good steering control now

* 1.5 is the threshold for good torque

* get back down there, hondas

* half stars for 1.0-1.5

* show number of cars

* try bigger

* emphasize tiers

balanced

* Add half star

* Update ref_commit
old-commit-hash: 1b402687e4
2022-06-09 18:51:34 -07:00
Shane Smiskol
cc9e67d5ac Hyundai: Tucson 2021 support (#24791)
* add support for 2021 Hyundai Tucson

base configuration and fingerprints

* fix fcw again and don't use mando radar for tucson

* last fixes for working tucson

* Apply suggestions from code review

* add to cars

* increase steerRatio

* missing car info

* one platform

* rename

* add min enable speed

* update releases

Co-authored-by: bluesforte <harry3b9@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 47f80e7add
2022-06-09 17:44:58 -07:00
George Hotz
cc71e68aee EyeSight standard on all 2019+ Ascent and Forester (#24799)
* on all 2019+ Ascent Forester

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c101c61a8
2022-06-09 15:11:32 -07:00
AlexandreSato
db9d0e3bd6 Lexus: NX Hybrid 2020 support (#24796)
* LEXUS: Missing esp and engine FW versions in values.py

DongleId: 09ae96064ed85a14  | testRoute: 09ae96064ed85a14|2022-01-10--01-57-37 |

* Make a new platform for NX Hybrid TSS2

* Update releases

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 074f614f88
2022-06-09 12:01:31 -07:00
Jason Young
d22347a9c6 VW MQB: Add FW for 2019 Volkswagen Passat (#24753)
old-commit-hash: 2a2294662c
2022-06-03 23:59:55 -07:00
Shane Smiskol
1a2bf8412c Car documentation: set steering torque star using car interface (#24709)
* Set good torque using torque controller tuning

* should be equal to

* save lateral accel to car params

* use maxLateralAccel

* always

* same convention

* nan will always evaluate to false

* The great good torque purge

* adjust default friction

* Add data for more cars

* adjust name

* Welcome back, guys. Only adjust good torque if maxLatAccel is set

* Update refs (1.7 is 1.7000001...)
old-commit-hash: c6bc03311c
2022-06-03 17:41:20 -07:00
Adeeb Shihadeh
3dd10e51e1 Create system/ for generic services (#24717)
* Create system/ for generic services

* logcatd joins the party

* fix those up
old-commit-hash: afd16b2ade
2022-06-02 17:02:25 -07:00
Willem Melching
2c343d2fe3 navd: rewrite in python (#24621)
* navd: start python rewrite

* use enum

* send empty instruction packet

* parse banner

* cleanup

* switch to coordinate class

* add segment transition logic

* add recompute logic

* cleanup old navd code

* split out helpers

* cleanup release files

* fix typo

* fix docs

* add typing to helpers

* small fixes

* move outside of ui

* get last pos from param

* add ui restart detection

* check running

* send route

* set navInstruction to invalid with no active route

* whitespace

* do not overwrite response and use ratekeeper

* reuse params object

* remove navd exception
old-commit-hash: e72d6b5689
2022-05-30 15:15:51 +02:00
Jason Young
789c9dbefa VW MQB: Add FW for 2015 Volkswagen Passat (#24653)
old-commit-hash: f414f7ff4e
2022-05-25 11:57:26 -07:00
Shane Smiskol
077a70d80d Support RAV4 2022 with stock longitudinal (#24367)
* support for ICE 2022 RAV4

* add to releases

* swap

* add fingerprints from a5c341bb250ca2f0

* update test route

* update docs

* add test for rav4

* values.py is a comma file
old-commit-hash: bdaf174154
2022-05-18 19:04:11 -07:00
Adeeb Shihadeh
f4675fc260 Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
old-commit-hash: cb8885cffb
2022-05-18 14:11:57 -07:00
Shane Smiskol
7464b42368 CarInfo: Add harness information (#24085)
* Add harness information

* test harness enum

* add harness info for tucson

* update Tucson harness

* get rid of development

* make global enum

* fix

* add harness info

* add harness info to CARS.md (since we need multiple lines per HKG platform)

* revert this

* Actively Maintained means something! (aka, to bronze with select VW)

* fix caravelle

* add harness tooltip on maintained column

fix

* lol tubaru

* always assume harness

* update honda harnesses

* add Ioniq hybrid 2017-19 harness, todo: not sure

* unused import

* hmm, did they really switch to the C for 1 year??

* add comment

* add comments

* adding tooltips should be fine

* fix santa fe harness

* welcome back, vw

* no need for two harness strings

* seems fine

* fix 19-20 Niro EV harness

* these were taking from old database, so assume correct

* could be d

* pass all car info into template

* no more tool tips

* these use j533 harnesses

* accidentally got removed in merge

* also merge issue

* don't need these

* make harness non-optional
old-commit-hash: 433fcc0c71
2022-05-11 18:02:21 -07:00
Shane Smiskol
cb3f733df0 CARS.md: update Honda Ridgeline supported years (#24484)
* update supported ridgeline years

* update supported ridgeline years
old-commit-hash: f9af3ddf4c
2022-05-09 22:00:31 -07:00
Shane Smiskol
fd07fef4c8 CARS.md: clicking stars doesn't change page location (#24482)
old-commit-hash: e2ada3b9a8
2022-05-09 20:29:58 -07:00
Brandon Zimmerman
e9224b83ca Toyota: add missing FW versions for 2022 Lexus ES 300h (#24431)
* Add 2022 Lexus ES Hybrid f/w - LEXUS_ESH_TSS2

2022 Lexus ES Hybrid

* change carinfo

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: da74085d56
2022-05-05 11:20:53 -07:00
Jason Young
95fcd5a4ee VW MQB: Add FW for 2019 Volkswagen Tiguan (#24373)
old-commit-hash: 1810909195
2022-04-29 10:25:34 -07:00
Shane Smiskol
754b93997a Support RAV4 Hybrid 2022 with stock longitudinal (#23969)
* add panda flag for toyota stock long with camera

* clean up

* Add 2022 RAV4 Hybrid from Philly

* fix wrong fw in interface, did this ever work?

* Must be a hybrid

* no radar parsing

* fix can error

* move to own platform

* generate docs

* fix

* Add 2022 Rav4 XSE Australia fingerprint parameters (#24303)

* Update values.py

Add 2022 Rav4 XSE Australia

* add commas

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

* bump panda

* wait, the camera doesn't even send 0x343, right?

* use a set instead, more obvious

* don't test without a parser

* bump panda

* flip panda flag

* bump panda

* add commas

* regen and update refs

* set to none by default

* revert parenthesis

* update comment

* bump panda

* regen and update refs

* add test models and update readme

* bump to master

Co-authored-by: BrettLynch123 <34538435+BrettLynch123@users.noreply.github.com>
old-commit-hash: c1caca104f
2022-04-28 22:37:46 -07:00
Jason Young
8e755ff447 VW MQB: Audi RS3 (#24329)
old-commit-hash: d0a6622342
2022-04-25 21:06:23 -07:00
Adeeb Shihadeh
03e743ab01 Hyundai: update supported Kona EV model years
old-commit-hash: d9683b63df
2022-04-24 09:48:49 -07:00