Commit Graph

4641 Commits

Author SHA1 Message Date
sshane 21103f8835 Toyota: handle models with permanent low speed lockout (#21512)
* ignore permanent low speed lockout

* should always check in case not seen

* use cp_cam

* not bus 0

* change signal name according to ref dbc

* bump

* we don't rely on this

* bump

* Revert "Toyota: debug logging for low speed lockout (#21526)"

This reverts commit c0d4c7e69a29e58a13573dab5a88792559b965b6.

* add back

* always add

* pass acc_type through

* Update selfdrive/car/toyota/carstate.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/car/toyota/carstate.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* only update acc_type if not enableDsu

* only add when using

* only for openpilot long cars

* only seen TSS2

* add todo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 16e4f432bf592ad74dcd6085e55c01570d642757
2021-07-09 22:55:47 -07:00
Adeeb Shihadeh 65dc6c3209 fixup timing script
old-commit-hash: 69160375c6d3bc7160948d4339e1b54018328ccf
2021-07-09 21:12:18 -07:00
Adeeb Shihadeh 2445ace577 debug script for checking timings
old-commit-hash: d11b0c06bf3f677c68412fff81eb702a22fc2624
2021-07-09 21:08:16 -07:00
Harald Schafer 0e78640d36 new refs
old-commit-hash: 8c4582c87af00dc9d79d4e511f8543331f957669
2021-07-09 16:38:23 -07:00
Harald Schafer 6e8f439dce upload original
old-commit-hash: f60d169bb4fc56110ffc420395a1fb7d28b45094
2021-07-09 16:32:04 -07:00
Harald Schafer 6aca5f9f38 update
old-commit-hash: 1979005e8215990541170aaf6e1ae8c9f9cdbdbb
2021-07-09 16:31:34 -07:00
Harald Schafer 1ab68e18d3 fix exclude pattern
old-commit-hash: 472442111b6077ff758ad9e46828c7c97925927b
2021-07-09 15:51:08 -07:00
Adeeb Shihadeh 8456f1680c release notes from research
old-commit-hash: b5965400fe7f7ac610e913b8360fc8c9a1f06a85
2021-07-09 15:30:05 -07:00
Harald Schafer f7e3c2eea9 rm debug print
old-commit-hash: 0cbb3b44e2f61f6a450fd4da692e874452edcf34
2021-07-09 15:14:05 -07:00
Adeeb Shihadeh f9a9899fbf send real frames in regen
old-commit-hash: 22a8433a84857c2398ea86a47e5d8af087a3abc4
2021-07-09 15:11:47 -07:00
kennedyshead e49dcd74be Tesla Model S AP1 fingerprint (#21535)
old-commit-hash: ffe4f42b452338cd1a0ac8c479c38fbfe09fd700
2021-07-09 12:29:50 -07:00
HaraldSchafer 56b457207f less np (#21536)
old-commit-hash: 148c202bc4a9d2b5be3c7dfc529da89c62dd7230
2021-07-09 11:34:00 -07:00
Willem Melching 0c30fbbe62 nav: hide ETA on destination reached
old-commit-hash: 35a5aae334e2409c432499a868fae69bd6ceb285
2021-07-09 11:28:53 +02:00
Willem Melching 8155c856f8 nav: cleanup error messages
old-commit-hash: 779d6479b402f3f73d11910adb62547a37d12cc4
2021-07-09 11:16:51 +02:00
Adeeb Shihadeh 0248d8408c Toyota: debug logging for low speed lockout (#21526)
* Toyota: debug logging for low speed lockout

* add to parser

* add car
old-commit-hash: 7f2ad50fed9a4c252f43ee16782ccc4dcca9fffa
2021-07-08 15:40:08 -07:00
Adeeb Shihadeh 7bdf3181b4 bump cereal
old-commit-hash: ae92ce227d82ac32d8ea58df792da3b367790d83
2021-07-08 14:41:49 -07:00
Willem Melching e0378d41cb Refactor camerad exposure logging (#21506)
* simplify gain logging

* clean up metadata

* log grey fractions

* those are not used

* set grey fracs in message

* fix qcom
old-commit-hash: 47be6c751ec69d2f8957c9a1c6f7776a8bde4f7e
2021-07-08 15:22:00 +02:00
Willem Melching c042bbf09c nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
old-commit-hash: 9ea913bcc812ed55d2f8204ced892b81f20af326
2021-07-08 14:33:58 +02:00
Dean Lee cc75e9ba9f UI: remove zoom from struct UIState (#21520)
old-commit-hash: 13b2ce9391ca132a1d4fbeb7e40c32cc1f3264e0
2021-07-08 10:42:34 +02:00
sshane 9c85470a56 Fix active AP (#21511)
* Revert "Qt logging through cloudlog (#21452)"

This reverts commit c8c9177899ab187bc8f6c1216d0d80c37f2a7a28.

* set activeAp after scan so it's not blocking

* Revert "Revert "Qt logging through cloudlog (#21452)""

This reverts commit d9689a55057d53f7afe8e2ea28542eb80175a705.

* clean up

* move to another PR
old-commit-hash: 648639787c318d4d39b64da07f518dc55b6c2f86
2021-07-07 21:48:46 -07:00
Dean Lee 86cc8f615c qt/spinner: reduce CPU usage from 17% to 12% (#21495)
* faster spinner

* initApp

* no brightness

* Update selfdrive/ui/qt/util.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b7f8c6ad03e70b9b73ef67238c7a5946b315483e
2021-07-07 21:19:56 -07:00
Dean Lee 0c59f626c7 input.cc: close dialog when parent is hidden (#21318)
* close dialog when parent is hidden

* Q_OBJECT

* apply reviews

* rebase master

* rebase master

* fix wroing minLength

* merge master
old-commit-hash: 5be75f53541c83f0681e55959023bc03758ac62a
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh b4e26fa46b fix offroad alert precedence (#21517)
old-commit-hash: 5a20cc6cae95f0f3eb7518acbce8fa380fb9ad80
2021-07-07 20:07:27 -07:00
Adeeb Shihadeh c3f5996920 remove unused can fingerprints (#21516)
old-commit-hash: b4278baf8c22895a718f0ce7fd4b8f2a6eb8f4d7
2021-07-07 19:59:17 -07:00
Adeeb Shihadeh 43207720bf add kia niro to release notes
old-commit-hash: 0a06c095392faec89a253bc0f6c4a1dac79cc287
2021-07-07 19:58:33 -07:00
HaraldSchafer 7fcdd04541 New desire model (#21458)
* New model: b822ee32-917c-4639-99f8-25be3e6aabad/900

* Enable keeps

* use new packet

* Send keep pulses once per second

* Updated model_replay_ref_commit

* New model: 0f160bf9-1bce-43e6-9785-564b2453eeac

* Bump model_replay_ref_commit

Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
old-commit-hash: 4230d5d2124577b86e69b136d846ca9cc3ecd746
2021-07-07 19:44:17 -07:00
HaraldSchafer 96d4bfbff3 Refactor long (#21433)
* refactor

* needs casting

* tests pass

* fix that test

* refactor in controls

* lets not go crazy

* change of names

* use constants

* better naming

* renamed

* soft constraints

* compile slack variables

* rm git conflict

* add slack variables

* unused

* new edition

* fcw

* fix tests

* dividing causes problems

* was way too slow

* take a step back

* byeeee

* for another time

* bad idxs

* little more cpu for cruise mpc

* update refs

* these limits seem fine

* rename

* test model timings fails sometimes

* add default

* save some cpu

* Revert "little more cpu for cruise mpc"

This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.

* Revert "test model timings fails sometimes"

This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.

* update refs

* less cpu

* Revert "Revert "test model timings fails sometimes""

This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.

* Revert "less cpu"

This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.

* cleanup

* not too much until we clean up mpc

* more cost on jerk

* change ref

* add todo

* new ref

* indentation
old-commit-hash: be5ddd25cd3f4c8b7e46cdeecf303e2c73301003
2021-07-07 19:42:26 -07:00
Jason Young e306287b27 HKG: 2019 Kia Niro PHEV (#21481)
* Testing addition of 2019 Kira Niro PHEV

* Testing addition of 2019 Kia Niro PHEV

* Fix typos

* Remove bad Optima fw, switch Niro to FPv2

* Set minimum steer speed for 2019 Kia Niro HEV/PHEV

* Add 2019 Kia Niro PHEV to README

* Fix typo

* apparently we get trailing garbage sometimes

* No FCA11 message, also use ELECT_GEAR

* i am not good with alphabet

* Add test route for Niro HEV

* Remove LFA for 2019; no legacy safety

* minSteerSpeed handling

* vehicle disengages SCC below 10mph

* no longer need Genesis specific code for minSteerSpeed

* simplify
old-commit-hash: cfe97fcc49cf59d92ff715b62e98bba014a91f9d
2021-07-07 19:24:13 -07:00
Adeeb Shihadeh c07de2492e issue templates: add note about uploading logs and remove redundant field
old-commit-hash: 6d4307e9f7e2f97560119f9d0ae5a9a91cdd1486
2021-07-07 19:02:44 -07:00
Adeeb Shihadeh dce54b460d improved commIssue logging (#21515)
old-commit-hash: 685e33c067da47699919be86508ea2ac419fcd38
2021-07-07 18:43:41 -07:00
Greg Hogan a637623fa0 upload can only create (#21513)
old-commit-hash: d066b8f7e813894338b2747c74ad089968ff70e9
2021-07-07 18:28:06 -07:00
Adeeb Shihadeh 78408b6460 jenkins: verbose fetch
old-commit-hash: 7d59129c2891f43a15c1f10bc43923de147a36db
2021-07-07 17:32:01 -07:00
HaraldSchafer 098d939428 Remove DM high std alert (#21501)
* cleaner

* no face and high stds is the same

* change test

* final clean

* need to deprecate
old-commit-hash: 2aadf8beb2d69145d182c9e95105d29590935983
2021-07-07 17:08:55 -07:00
Adeeb Shihadeh 30e5122004 terms & conditions (#21504)
* looks pretty good

* little closer

* ugh qml

* margin

* scrollbar

* cleanup

* fix line height

* tighter

* little more
old-commit-hash: 53430f87a0a03e59221e6a4d9157eb958378766f
2021-07-07 16:03:55 -07:00
Adeeb Shihadeh 691ea8553f deprecate CP.enableCamera (#21509)
* deprecate CP.enableCamera

* more removal

* one more

* update refs
old-commit-hash: c72d163e142d90edac5086892c0cd297bdc636fe
2021-07-07 14:59:18 -07:00
Adeeb Shihadeh 9a6fa8aa6b bump opendbc
old-commit-hash: a816206581342fc88ade990364e5c957445bec44
2021-07-07 13:14:58 -07:00
kennedyshead 48cba1bac0 Car port: AP1 Tesla Model S (#21444)
* Adding AP1 for tesla

* Remove safetyparams and added more extensive fingerprint

* merge interface for AP1 and AP2
old-commit-hash: d9c749c1187e0fe5cc838acf20cf1bc77150ff0d
2021-07-07 21:40:10 +02:00
Willem Melching f1fdf6e9c6 nav: add source to route logging
old-commit-hash: d1010008525d5fe4d7e2641f743c3b2e890d56df
2021-07-07 16:22:45 +02:00
Adeeb Shihadeh cba45a5416 fix default tethering password
old-commit-hash: e773749f32065d65604a4213badce8f33eca8ceb
2021-07-06 19:33:08 -07:00
Willem Melching 5c1ba7502f tici: use LSM6DS3 (#21496)
old-commit-hash: 6feafc0042b72a8699d2a613b0505acbd99b57f0
2021-07-06 23:02:54 +02:00
grekiki addd1037bb plotjuggler: add segment_count arg (#21474)
old-commit-hash: b3a792305e981c897f48837ae417a5f2b5dd14b3
2021-07-06 13:57:03 -07:00
Adeeb Shihadeh f725c5dc2a remove modem logging (#21497)
old-commit-hash: a6efe9a6b7b3bd054822c2fe71329939d30d1fef
2021-07-06 13:51:45 -07:00
Ross Fisher 824db68273 Rav4 TSS2 has two different steering racks (#21429)
Split tuning on eps fwVersion \x02 only. See https://github.com/commaai/openpilot/pull/21429#issuecomment-873652891 for findings.

Unify Rav4 & Rav4 Hybrid

Average mass between ICE & Hybrid

Co-Authored-By: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: f40e75edf83e3e0e224583cd9b6cf865c1cb4a2d
2021-07-06 19:48:04 +02:00
Adeeb Shihadeh 45481ab6e0 agnos 0.20 (#21488)
* agnos 0.20

* prod image
old-commit-hash: 266d1bdeacc18932cd4bdcfcacda9a95768bc31e
2021-07-06 10:32:10 -07:00
Dean Lee 1f9a5d6bc3 installer.cc: fix wrong db path (#21494)
old-commit-hash: 41459887560bd25eb600804e2b8e125f977d965b
2021-07-06 10:14:07 -07:00
Adeeb Shihadeh 93461be530 add recover mode to factory resetter (#21492)
* recover mode

* clean up

* less margin

* use inter

* little nicer

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec00e71b643e6bb6abcb1f977cb51df31bd8c058
2021-07-05 23:48:10 -07:00
Jason Young e92ef6adc2 VW MQB: Add FW for 2019 Volkswagen Atlas (#21491)
old-commit-hash: 615ebb9f82b44864d4b09ba1430db5258357c6ac
2021-07-05 19:42:54 -07:00
Adeeb Shihadeh 57cc915aa9 updated: clear overlay on exception (#21489)
old-commit-hash: a44072753d43dc6bb67e3e326438637bc9a62d20
2021-07-05 19:27:06 -07:00
Erich Moraga fa25e8d43c Add missing LEXUS_NX_TSS2 engine & fwdCamera (#21490)
old-commit-hash: 6914e6824dbec21171b6298e3655c45073f5931f
2021-07-05 18:55:39 -07:00
Adeeb Shihadeh be6b9b024c training guide fixups (#21485)
* training images

* wide training guide

* fixup some images

* cleanup

* one more

* release files
old-commit-hash: a334203f7b656a10085e5d4b808a0787b57ce3d1
2021-07-05 01:31:31 -07:00