Commit Graph

12534 Commits

Author SHA1 Message Date
Shane Smiskol 57c4d78869 Toyota: add 2023 RAV4/RAV4 Hybrid as dashcam (#27609)
* test out lta message

* correctly send

* percentage is percentage driver isn't overriding

* closer to stock system

* should be able to send LTA at 100hz, counter is the same as LKA

* small amount of torque towards desired

* Offset commanded torque correctly

* Too little torque

* use car's SETME's

* Revert "use car's SETME's"

This reverts commit c88856969995f97cc5ec4e2b24a5cc4e3ef4721a.

* try cutting steer every second

* Didn't seem to matter

This reverts commit 6923498b2a9eed8beb3998f441899f1df4948f6f.

* steer to 0

* let packer set counter

* add for camry

* log steer faults

* comments

* bump opendbc

* add opParams

* add lta safety

* set safety param

* fix torque control bug

* bump panda

* fix missing signal

* [experiment] apply some rate limiting and anti-windup

* no faults, clip to 90 deg, decent torque blending

* clean up blending

* toyota angle rate limits

* use std angle limits

* assert we only add angle control to TSS2 cars

* clean up carcontroller a bit

* space space

* bump opendbc

* clean up toyotacan from opendbc change

* bump panda

* will tests run?

* steer at zero

* refactor angle to use LatControlPID with zero gains

* stop some faults and tuning

* possibly fix integral wind up at max torque

* Add 2023 rav4

* limit torque inside EPS when overriding (no huge windup in edge cases when overriding)

* fix wind up issue after turns (or prolonged saturation)

* this doesn't work that well

* try these limits

* try this

* log the angle!

* global variable

* Apply suggestions from code review

* clip angle to 3 m/s/s

* some tolerance for roll

* raise limits a bit

* bumppanda

* fix faults

* still not good

* offsetting causing hugging?

* Revert "offsetting causing hugging?"

This reverts commit a42ec0b772ed74a1fd54b7fef2e7c275a3e8333b.

* reduce kp

* class var not needed

* limit up angle delta

* fix saturation check

* feedforward includes offset

* some threshold for roll

* bump panda

* surely we don't need this

* test stuff

* Toyota: Add FW for 2023 RAV4 Hybrid (#27494)

* Toyota: Add FW for 2023 RAV4 Hybrid

* Set RAVH_TSS2_2022 to use angle SteerControlType

* bump panda

* remove extras

* Revert "remove extras"

This reverts commit 87378e734915c107f57f99a5feef4dcb2b2a9a37.

* no max angle limit for now

* add as separate platforms

* remove debug scripts

* revert to master

* remove these FW versions from 2022

* dashcam these cars :(

* fix test

* interface

* add to untested routes

* never send torque with LTA cars

* fix values

* clean up controlsd

* reset lat control files

* use the car param

* add to params

* bump panda to master

* Update selfdrive/car/toyota/carcontroller.py

* don't set torque params if angle control (fixes controlsd bug)

* reset controlsd

* keyword

* in another pr

* simplify test

* rm line

* Update selfdrive/car/toyota/tests/test_toyota.py

---------

Co-authored-by: crispbee <84819466+crispbee@users.noreply.github.com>
2023-03-17 00:03:21 -07:00
Shane Smiskol 2f95148a67 bump panda (#27612) 2023-03-16 23:16:11 -07:00
Kay Oh b5198f99ea Add missing FW for 2022 (2023MY) Hyundai IONIQ 5 (#27590)
Update values.py

Korean Ver.
2023-03-16 23:08:51 -07:00
Harald Schäfer 204f7d8623 Ttff logs (#27610)
* ttff in logs

* More meta info

* cleanup

* passess tests

* unused import

* fix linting

* ttff of 0 is invalid

* ref commit

* bump cereal

* Update ref_commit

* sort ephem status list

* sort ephem status list

* update ref
2023-03-16 22:09:05 -07:00
YassineYousfi b0ba79451e upgrade to torch 2.0 cuda 11.8 (#27611)
forgot to lock
2023-03-16 21:09:21 -07:00
YassineYousfi 4208b74ed8 update to torch 2.0 and cuda 11.8 (#27608)
* wip: update to torch 2.0

* update opencv
2023-03-16 19:04:04 -07:00
Adeeb Shihadeh 4cff94366f Revert "LAIKAD: TTFF, and ephemeris statuses in logs (#27591)"
This reverts commit 95216de591.
2023-03-16 19:01:45 -07:00
Harald Schäfer 95216de591 LAIKAD: TTFF, and ephemeris statuses in logs (#27591)
* ttff in logs

* More meta info

* cleanup

* passess tests

* unused import

* fix linting

* ttff of 0 is invalid

* ref commit

* bump cereal
2023-03-16 17:00:54 -07:00
Saber422 87f3a658a7 VW MQB: Add FW for 2022 Škoda Kodiaq (#27602)
@jyoung8607 I try to do this joy better
I setup my C3 on this car to get information to merge this FPV2
The route name is 0bbe367c98fa1538|2023-03-16--11-41-19--2

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-03-16 15:03:22 -07:00
Oxygen 61f25b5b95 Firmware version for TOYOTA Camry 2.0G, China built 2022.07 (#27558)
Update values.py

Firmware version for Carmy 2.0G, China Build 2022.07

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-03-16 14:48:29 -07:00
martinl 0d1e272b91 Subaru: Add 2019 Forester FPv2 (#27500)
* Subaru: Add 2019 Forester FPv2

* Update selfdrive/car/subaru/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-03-16 14:32:22 -07:00
Shane Smiskol fe358102f2 test: fix Honda and Hyundai tests (#27606)
test honda and hyundai
2023-03-16 14:31:55 -07:00
Saber422 cb5573cbfd VW MQB: Add FW for 2022 Skoda Kodiaq 1.5TSI (#27489)
* VW MQB: Add FW for 2022 Skoda Kodiaq 1.5TSI

carVin': 'TMBJB9NS3N8051692'

* alphabetical order

* add to docs

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-03-16 14:25:31 -07:00
klaw73 d5dfd3f1a6 Add missing FW for 2020 Lexus NX Hybrid (#27565)
* Added fw for 2020LexusNXH

* Added fw for 2020LexusNXH

* Add fw to 2020Lexus NXH
2023-03-16 13:38:02 -07:00
freddiebd a11a5d6231 VW MQB: Add FW for 2016 Golf Mk7 (#27581) 2023-03-16 13:34:52 -07:00
Harald Schäfer 5c38392785 Laikad: always return msg (#27599)
* always return msg

* always return msg

* Not all qcom constellations are understood

* call error error
2023-03-16 13:29:02 -07:00
kevinsdev e6c514eb72 Added firmware for 2021 Lexus NX Base (#27604)
* Update values.py

Added my 2021 Lexus NX 300 Base

* Update values.py

Added 2021 Lexus NX Base
2023-03-16 13:24:22 -07:00
Harald Schäfer 719901b57c Bump laika (#27605)
* bump laika

* Update ref_commit
2023-03-16 13:06:30 -07:00
Adeeb Shihadeh c2ec18cb71 bump panda 2023-03-16 10:43:22 -07:00
Robbe Derks d26d8b3ba9 Improve OX frame timing jitter (#27582)
* frame timing script

* enable vsync output and improve fsin tracking

* increase measurement time

* fix python linting

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-03-16 10:59:27 +01:00
Cameron Clough 57d10a26e7 fix tabulate types (#27598)
fix types for tabulate
2023-03-15 20:58:08 -07:00
Harald Schäfer 38cb42f76a LaikaD new cache version (#27596) 2023-03-15 20:26:19 -07:00
Harald Schäfer 896fa029f9 Laikad: cleanup time range holder (#27595)
* cleanup time range holder

* update

* unused import

* unused import

* unused import

* bump laika
2023-03-15 20:06:29 -07:00
Harald Schäfer 629e5f6bf2 Fix qcom laika caching and test (#27594) 2023-03-15 15:16:47 -07:00
Adeeb Shihadeh 9a6bcba741 UI: remove spammy CameraView log 2023-03-15 14:34:33 -07:00
Dean Lee f00c108acb cabana: eliminate deep copy of events in live stream mode (#27588) 2023-03-15 10:54:22 -07:00
Harald Schäfer 153ffa3f68 Sat info from ublox (#27526)
* squashed

* bump cereal
2023-03-15 01:21:18 -07:00
Harald Schäfer 5c70482761 Use structs in laika (#27585)
* doesnt crash

* New cacher

* unused import

* help linter

* Annotate list

* print error

* fix caching bugs

* wrong name

* small fixes

* fix sum

* wrong brackets

* fix tests

* update ref

* bump submodules
2023-03-15 00:02:56 -07:00
Adeeb Shihadeh 2749205b4a allow running amp config script standalone (#27587)
Co-authored-by: Comma Device <device@comma.ai>
2023-03-14 20:55:41 -07:00
Shane Smiskol e2f4a82c03 Add CAN fingerprint to qlog (#27574) 2023-03-14 14:00:39 -07:00
Dean Lee d5375af2f5 ui: auto detect available streams (#27470)
* auto detect available streams

* no switch if wide cam not available

* clear frames before getAvailableStreams

* warning

* clear at same time

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-03-14 13:59:22 -07:00
Adeeb Shihadeh 39cf8c6694 only run rawgpsd without a ublox (#27577) 2023-03-14 13:31:49 -07:00
Dean Lee 696cbb3e24 cabana: fix incorrect current ts in live stream mode (#27578) 2023-03-14 11:31:57 -07:00
Willem Melching 0afd3bab34 cabana: DBCManager only expose methods/signals through MessageId (#27540) 2023-03-14 11:31:04 -07:00
Willem Melching b591b0c764 cabana: show signal values with consistent number of digits (#27556) 2023-03-14 11:29:00 -07:00
Harald Schäfer d75ee19def Only trust locationd for nav (#27579)
* Only trust locationd for nav

* unused var
2023-03-14 09:25:09 -07:00
Shane Smiskol 4692cf7d1c Chrysler Pacifica 2018: add missing CAN fp (#27576)
new pacifica FPs
2023-03-13 17:07:42 -07:00
Adeeb Shihadeh 17b71b477e plannerd: add frameId to uiPlan (#27573)
* plannerd: add frameId to uiPlan

* update refs
2023-03-13 15:30:38 -07:00
Jason Young 9ecf3e7c32 VW PQ: Message corrections for ACC_GRA_Anzeige (#27572)
* VW PQ: Correct message name for ACC_GRA_Anzeige

* bump opendbc
2023-03-13 14:28:45 -07:00
Dean Lee d09a9a08fc cabana: fix hang on scrubbing in zommed chart (#27568) 2023-03-13 10:25:16 -07:00
AlexandreSato 3eb74d805a Update Directory Structure (#27569)
* Update Directory Structure

Update directory structure to the latest commits [ sensord: move to system/ (#27531) ,  loggerd: move to system/ (#27534) , ubloxd: move to system/ (#27536) ].

* Update README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-03-13 10:24:30 -07:00
YassineYousfi e146bb1a96 update modeld/models readme (#27564)
* update readme with new model design

* typo

* space
2023-03-11 16:26:39 -08:00
Willem Melching fc44ed63d7 cabana: extend max chart range to 30 minutes (#27555) 2023-03-11 12:47:53 -08:00
Dean Lee dc31c50aa7 cabana: split events into chunks and processed concurrently (#27562) 2023-03-11 12:47:34 -08:00
Erich Moraga eb67deef92 Add missing LEXUS_ESH_TSS2 engine f/w (#27506)
`awesome-fu#6174` 2019 Lexus ES300h  DongleID/route e5fc06c3b27fb519|2023-03-05--17-21-28
https://github.com/commaai/openpilot/issues/27501
2023-03-10 15:43:18 -08:00
protonchang dc5a65049e Update CHT translation (#27530)
* Update zh-CHT translation

* Update zh-CHT translation

* Update zh-CHT Translation

* Update to resolve translation consistency issue

* Update zh-CHT translation
2023-03-10 15:39:16 -08:00
Willem Melching 0fb8e97480 cabana: use ID as NEW_MSG_ suffix (#27554)
* cabana: use ID as NEW_MSG_ suffix

* start suffix at _1
2023-03-10 13:29:11 -08:00
Willem Melching ee615a3077 cabana: create autosave file when there are unsaved changes (#27542) 2023-03-10 11:21:34 -08:00
Willem Melching c32a45b5b5 cabana: autocomplete signal names (#27553) 2023-03-10 11:20:59 -08:00
Willem Melching e4d591ecbf cabana: refactor Msg and Signal into dbc.cc (#27552) 2023-03-10 11:19:37 -08:00