Commit Graph

16653 Commits

Author SHA1 Message Date
Harald Schäfer d9fcd2887f Bump laika (#27618)
* Laika on master

* use constellation id
old-commit-hash: 4718fa5748
2023-03-17 16:39:44 -07:00
Dean Lee 3d2066272b cabana: set min-max values from size when creating a new signal. (#27589)
old-commit-hash: 741d26b025
2023-03-17 16:18:38 -07:00
Adeeb Shihadeh 388613c0c3 manager: log time with exit param (#27615)
* manager: log time with exit param

* fix double brackets
old-commit-hash: 455d76cdb6
2023-03-17 16:17:42 -07:00
Dean Lee 13aad29d76 ui: remove lupdate warnings: "Qualifying with unknown namespace" (#27616)
old-commit-hash: d8a55de166
2023-03-17 16:14:43 -07:00
Dean Lee 35e5b4d927 cabana: group CAN events by message id to reduce the time complex from O(N) to O(1) (#27601)
* refactor streams

* helper function xLessThan

* fix fill gaps
old-commit-hash: 74db5a4b42
2023-03-17 10:16:14 -07:00
Shane Smiskol 472d08fc2c 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>
old-commit-hash: 57c4d78869
2023-03-17 00:03:21 -07:00
Shane Smiskol 1e9bbbd4c6 bump panda (#27612)
old-commit-hash: 2f95148a67
2023-03-16 23:16:11 -07:00
Kay Oh 9633a8f6e9 Add missing FW for 2022 (2023MY) Hyundai IONIQ 5 (#27590)
Update values.py

Korean Ver.
old-commit-hash: b5198f99ea
2023-03-16 23:08:51 -07:00
Harald Schäfer 6d0116ae80 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
old-commit-hash: 204f7d8623
2023-03-16 22:09:05 -07:00
YassineYousfi 10553c0288 upgrade to torch 2.0 cuda 11.8 (#27611)
forgot to lock
old-commit-hash: b0ba79451e
2023-03-16 21:09:21 -07:00
YassineYousfi 160993a413 update to torch 2.0 and cuda 11.8 (#27608)
* wip: update to torch 2.0

* update opencv
old-commit-hash: 4208b74ed8
2023-03-16 19:04:04 -07:00
Adeeb Shihadeh 869a9af32d Revert "LAIKAD: TTFF, and ephemeris statuses in logs (#27591)"
This reverts commit 8324a349b4c267a83d96ff3f3c9d25f0b5bd7fcf.

old-commit-hash: 4cff94366f
2023-03-16 19:01:45 -07:00
Harald Schäfer af464f3b94 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
old-commit-hash: 95216de591
2023-03-16 17:00:54 -07:00
Saber422 1451216370 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>
old-commit-hash: 87f3a658a7
2023-03-16 15:03:22 -07:00
Oxygen 262fe97ee9 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>
old-commit-hash: 61f25b5b95
2023-03-16 14:48:29 -07:00
martinl dee1d69ec0 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>
old-commit-hash: 0d1e272b91
2023-03-16 14:32:22 -07:00
Shane Smiskol c63da0423b test: fix Honda and Hyundai tests (#27606)
test honda and hyundai
old-commit-hash: fe358102f2
2023-03-16 14:31:55 -07:00
Saber422 47821756d8 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>
old-commit-hash: cb5573cbfd
2023-03-16 14:25:31 -07:00
klaw73 e439c582c8 Add missing FW for 2020 Lexus NX Hybrid (#27565)
* Added fw for 2020LexusNXH

* Added fw for 2020LexusNXH

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

* always return msg

* Not all qcom constellations are understood

* call error error
old-commit-hash: 5c38392785
2023-03-16 13:29:02 -07:00
kevinsdev 30ddef446a 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
old-commit-hash: e6c514eb72
2023-03-16 13:24:22 -07:00
Harald Schäfer 10c2efc2bd Bump laika (#27605)
* bump laika

* Update ref_commit
old-commit-hash: 719901b57c
2023-03-16 13:06:30 -07:00
Adeeb Shihadeh aefe0b40ad bump panda
old-commit-hash: c2ec18cb71
2023-03-16 10:43:22 -07:00
Robbe Derks 4f560215ba 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>
old-commit-hash: d26d8b3ba9
2023-03-16 10:59:27 +01:00
Cameron Clough 81745b018e fix tabulate types (#27598)
fix types for tabulate
old-commit-hash: 57d10a26e7
2023-03-15 20:58:08 -07:00
Harald Schäfer 515645da51 LaikaD new cache version (#27596)
old-commit-hash: 38cb42f76a
2023-03-15 20:26:19 -07:00
Harald Schäfer e3b77aef5f Laikad: cleanup time range holder (#27595)
* cleanup time range holder

* update

* unused import

* unused import

* unused import

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

* bump cereal
old-commit-hash: 153ffa3f68
2023-03-15 01:21:18 -07:00
Harald Schäfer 20dfe96afa 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
old-commit-hash: 5c70482761
2023-03-15 00:02:56 -07:00
Adeeb Shihadeh 7bd3d642aa allow running amp config script standalone (#27587)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2749205b4a
2023-03-14 20:55:41 -07:00
Shane Smiskol a623c6bf14 Add CAN fingerprint to qlog (#27574)
old-commit-hash: e2f4a82c03
2023-03-14 14:00:39 -07:00
Dean Lee 2936d72386 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>
old-commit-hash: d5375af2f5
2023-03-14 13:59:22 -07:00
Adeeb Shihadeh a1b574b737 only run rawgpsd without a ublox (#27577)
old-commit-hash: 39cf8c6694
2023-03-14 13:31:49 -07:00
Dean Lee 83290c336b cabana: fix incorrect current ts in live stream mode (#27578)
old-commit-hash: 696cbb3e24
2023-03-14 11:31:57 -07:00
Willem Melching 918bad4847 cabana: DBCManager only expose methods/signals through MessageId (#27540)
old-commit-hash: 0afd3bab34
2023-03-14 11:31:04 -07:00
Willem Melching da54ce208f cabana: show signal values with consistent number of digits (#27556)
old-commit-hash: b591b0c764
2023-03-14 11:29:00 -07:00
Harald Schäfer f05cf4cdf1 Only trust locationd for nav (#27579)
* Only trust locationd for nav

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

* update refs
old-commit-hash: 17b71b477e
2023-03-13 15:30:38 -07:00
Jason Young bb553a2032 VW PQ: Message corrections for ACC_GRA_Anzeige (#27572)
* VW PQ: Correct message name for ACC_GRA_Anzeige

* bump opendbc
old-commit-hash: 9ecf3e7c32
2023-03-13 14:28:45 -07:00
Dean Lee c95ca5a1d5 cabana: fix hang on scrubbing in zommed chart (#27568)
old-commit-hash: d09a9a08fc
2023-03-13 10:25:16 -07:00
AlexandreSato d45e825c56 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>
old-commit-hash: 3eb74d805a
2023-03-13 10:24:30 -07:00
YassineYousfi 0716a1250b update modeld/models readme (#27564)
* update readme with new model design

* typo

* space
old-commit-hash: e146bb1a96
2023-03-11 16:26:39 -08:00
Willem Melching e8105f0413 cabana: extend max chart range to 30 minutes (#27555)
old-commit-hash: fc44ed63d7
2023-03-11 12:47:53 -08:00
Dean Lee 41c03ff406 cabana: split events into chunks and processed concurrently (#27562)
old-commit-hash: dc31c50aa7
2023-03-11 12:47:34 -08:00
Erich Moraga 581dd1a0a1 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
old-commit-hash: eb67deef92
2023-03-10 15:43:18 -08:00