Commit Graph

4624 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh ff4c816abd update release build (#21482)
* update master-ci

* move to /data

* fix tests

* fix source dir

* prune

* trailing slash

* compile
old-commit-hash: 3a51a5c0f05c3274b8af7e5c2befa412156b597e
2021-07-04 20:26:38 -07:00
Adeeb Shihadeh 2293b4bcae update speedTooHigh alert sound (#21484)
old-commit-hash: 8dce135279c846a5f960e3d30dfe0afcc3f9ed0b
2021-07-04 19:23:09 -07:00
sshane 52c951e797 Tethering: Edit password while enabled (#21457)
* restart tethering if password is edited

* fixes

* connect straight to WifiManager

* revert
old-commit-hash: f96b3cc597b5b700edd2e81fdaee34e01895bc97
2021-07-04 18:17:46 -07:00
Willem Melching c266cffa97 nav: improve logging (#21477)
* nav: add logging

* handle errors in route reply
old-commit-hash: 32d5239912b592078faf50628e0f08b07a0eb755
2021-07-04 15:34:25 +02:00
kennedyshead 9999af4d91 EAC_INHIBITED is not an actual error, when this is removed all "LKAS fault" errors are fixed. (#21469)
old-commit-hash: d4713946f234a302f939d5a8e23659ad384e31e8
2021-07-03 23:55:54 +02:00
Adeeb Shihadeh 19bc1b7397 fast jenkins (#21472)
* speed up setup

* speedup onroad test

* .git doesn't like inplace

* tici2

* no inplace

* revert

* fix

* that one too
old-commit-hash: 0bfd994f73a73b321f0ac45e1f3f5d1e907e6962
2021-07-02 16:29:57 -07:00
sshane 8256cd7564 Networking: use active AP signal (#21461)
* use active ap signal

* working
old-commit-hash: d2d1aaad0859dafe9c9acb39925dc319da775315
2021-07-02 13:30:42 -07:00
sshane 9754cf991f Clean up Hyundai gear parsing (#21410)
* Use can definitions and refactor gear Hyundai parsing

* comment

* auto detect gearbox message

auto detect gearbox message

remove todos

remove todos

* comment

* Revert "comment"

This reverts commit 4b5129004ee3f65dc85808dc710ec461ce5eb418.

* Revert "auto detect gearbox message"

This reverts commit bcdf7c452da50066a22fd7d051d275b18ee62114.

* no longer needed

* bump
old-commit-hash: 02772c69eb3c704b2059cfef56ed601d361a39ca
2021-07-02 13:19:44 -07:00
Willem Melching 9d4829523d nav: don't set FBO, render when not loaded and resize once (#21468)
* nav: don't set FBO and resize once

* always update

* when visible
old-commit-hash: 06acd76d6d9583429b1c0977a6d18586997e3623
2021-07-02 15:19:33 +02:00
Willem Melching 34678fb7fb Qt logging through cloudlog (#21452)
* Qt logging through cloudlog

* sort imports

* rename to swaLogMessageHandler

* move to util

* info is high enough

* smaller diff
old-commit-hash: 54b6a9f121aa7af0920016d7288b0037beca1260
2021-07-02 14:01:59 +02:00
Willem Melching 3c5a97251f tici: Switch to 1D dead pixel correction (#21467)
old-commit-hash: 8d075048b30ea00a9d202165f63445d389426814
2021-07-02 14:01:43 +02:00
Adeeb Shihadeh 82731ecb31 UI: faster offroad transition (#21466)
old-commit-hash: 30683e62910125e8a35205a2e3ac8f958f84e4d1
2021-07-02 00:37:30 -07:00
Adeeb Shihadeh 88eab8b0a8 check submodule commits on master (#21446)
old-commit-hash: ccf278045679d4b3aca1201455a3370f0d0b41c4
2021-07-01 23:12:39 -07:00
sshane 6755365476 Networking: populate tethering password (#21455)
* populate password from hotspot connection

move to setup()

populate tethering password

fix password editing

setup tethering when editing password or enabling

fix

* fixes

* last fix, don't activate when adding

* check before

* if not
old-commit-hash: 146973da7faace08cc49f4edde4b01377cf4f6bb
2021-07-01 19:59:02 -07:00
sshane 1226f91637 Networking: refresh once in background (#21453)
clean up

move to setup()
old-commit-hash: 07d393499661cbac94e4d13c6b9258f56cfb436a
2021-07-01 18:32:55 -07:00
sshane c110154869 Networking: Use common header (#21456)
old-commit-hash: 4cdd26596e83470e4213b4c024d95d7d65b3e996
2021-07-01 15:33:51 -07:00
sshane d28d90818d Wait for adapter to setup WifiManager (#21432)
* wait for adapter to initialize wifimanager

* clean up

* formatting

* don't try to use adapter when not available

* Revert "don't try to use adapter when not available"

This reverts commit 3887fc87ebfea2e8acc6b440b4c7a49b0feb1975.

* only tetheringEnabled for now

* request scan once adapter is up (prev behavior)

* populate introspection cache when we need it

populate introspection cache when we need it
old-commit-hash: 924e8d5c28ad88b8180cdee5ea296d6bb13d3647
2021-07-01 14:01:29 -07:00