Commit Graph

4615 Commits

Author SHA1 Message Date
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: be5ddd25cd
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: cfe97fcc49
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: 6d4307e9f7
2021-07-07 19:02:44 -07:00
Adeeb Shihadeh dce54b460d improved commIssue logging (#21515)
old-commit-hash: 685e33c067
2021-07-07 18:43:41 -07:00
Greg Hogan a637623fa0 upload can only create (#21513)
old-commit-hash: d066b8f7e8
2021-07-07 18:28:06 -07:00
Adeeb Shihadeh 78408b6460 jenkins: verbose fetch
old-commit-hash: 7d59129c28
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: 2aadf8beb2
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: 53430f87a0
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: c72d163e14
2021-07-07 14:59:18 -07:00
Adeeb Shihadeh 9a6fa8aa6b bump opendbc
old-commit-hash: a816206581
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: d9c749c118
2021-07-07 21:40:10 +02:00
Willem Melching f1fdf6e9c6 nav: add source to route logging
old-commit-hash: d101000852
2021-07-07 16:22:45 +02:00
Adeeb Shihadeh cba45a5416 fix default tethering password
old-commit-hash: e773749f32
2021-07-06 19:33:08 -07:00
Willem Melching 5c1ba7502f tici: use LSM6DS3 (#21496)
old-commit-hash: 6feafc0042
2021-07-06 23:02:54 +02:00
grekiki addd1037bb plotjuggler: add segment_count arg (#21474)
old-commit-hash: b3a792305e
2021-07-06 13:57:03 -07:00
Adeeb Shihadeh f725c5dc2a remove modem logging (#21497)
old-commit-hash: a6efe9a6b7
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: f40e75edf8
2021-07-06 19:48:04 +02:00
Adeeb Shihadeh 45481ab6e0 agnos 0.20 (#21488)
* agnos 0.20

* prod image
old-commit-hash: 266d1bdeac
2021-07-06 10:32:10 -07:00
Dean Lee 1f9a5d6bc3 installer.cc: fix wrong db path (#21494)
old-commit-hash: 4145988756
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: ec00e71b64
2021-07-05 23:48:10 -07:00
Jason Young e92ef6adc2 VW MQB: Add FW for 2019 Volkswagen Atlas (#21491)
old-commit-hash: 615ebb9f82
2021-07-05 19:42:54 -07:00
Adeeb Shihadeh 57cc915aa9 updated: clear overlay on exception (#21489)
old-commit-hash: a44072753d
2021-07-05 19:27:06 -07:00
Erich Moraga fa25e8d43c Add missing LEXUS_NX_TSS2 engine & fwdCamera (#21490)
old-commit-hash: 6914e6824d
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: a334203f7b
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: 3a51a5c0f0
2021-07-04 20:26:38 -07:00
Adeeb Shihadeh 2293b4bcae update speedTooHigh alert sound (#21484)
old-commit-hash: 8dce135279
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: f96b3cc597
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: 32d5239912
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: d4713946f2
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: 0bfd994f73
2021-07-02 16:29:57 -07:00
sshane 8256cd7564 Networking: use active AP signal (#21461)
* use active ap signal

* working
old-commit-hash: d2d1aaad08
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: 02772c69eb
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: 06acd76d6d
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: 54b6a9f121
2021-07-02 14:01:59 +02:00
Willem Melching 3c5a97251f tici: Switch to 1D dead pixel correction (#21467)
old-commit-hash: 8d075048b3
2021-07-02 14:01:43 +02:00
Adeeb Shihadeh 82731ecb31 UI: faster offroad transition (#21466)
old-commit-hash: 30683e6291
2021-07-02 00:37:30 -07:00
Adeeb Shihadeh 88eab8b0a8 check submodule commits on master (#21446)
old-commit-hash: ccf2780456
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: 146973da7f
2021-07-01 19:59:02 -07:00
sshane 1226f91637 Networking: refresh once in background (#21453)
clean up

move to setup()
old-commit-hash: 07d3934996
2021-07-01 18:32:55 -07:00
sshane c110154869 Networking: Use common header (#21456)
old-commit-hash: 4cdd26596e
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: 924e8d5c28
2021-07-01 14:01:29 -07:00
Adeeb Shihadeh c457e9d130 increase dmonitoringmodeld execution time threshold
old-commit-hash: 9b9a2d7b89
2021-06-30 19:02:21 -07:00
Adeeb Shihadeh add0d2d65e CI: fix hanging if build failed
old-commit-hash: 7d04be39cb
2021-06-30 17:58:28 -07:00
Adeeb Shihadeh 893ffa0b89 remove unnecessary scons clean
old-commit-hash: c0012892da
2021-06-30 17:55:32 -07:00
ShaneSmiskol 68ac29452d Fix logging unsupported empty ssid networks
old-commit-hash: a680d0cea1
2021-06-30 17:28:06 -07:00
sshane 90e49777ec Networking: Only refresh when visible (#21445)
* only refresh when visible

* catch other case
old-commit-hash: 4000d4a8d2
2021-06-30 17:24:44 -07:00
Adeeb Shihadeh 237c861b20 bump cereal
old-commit-hash: a74b9dc94f
2021-06-30 16:13:19 -07:00
HaraldSchafer 7e87930a20 Refactor lateral lag compensation (#21334)
* add T_IDXS

* refactor

* fix test

* unused

* typo

* needs casting

* Update selfdrive/controls/lib/drive_helpers.py

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

* deprecate field

* regen all

* new segs

* add todo

* split back

* clean

* bad names

* do in controls

* add arg

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6838e1c82c
2021-06-30 14:19:39 -07:00
ShaneSmiskol 3a6b434870 Revert "debugging"
This reverts commit 66852f118478b5bdc65ce66644b6426b9d3bddac.

old-commit-hash: f1ee79ef14
2021-06-30 12:39:15 -07:00
ShaneSmiskol 098b580197 debugging
old-commit-hash: 67e32b4a3c
2021-06-30 12:38:53 -07:00