Commit Graph

4052 Commits (4230d5d2124577b86e69b136d846ca9cc3ecd746)

Author SHA1 Message Date
HaraldSchafer 4230d5d212
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>
2021-07-07 19:44:17 -07:00
HaraldSchafer be5ddd25cd
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
2021-07-07 19:42:26 -07:00
Jason Young cfe97fcc49
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
2021-07-07 19:24:13 -07:00
Adeeb Shihadeh 6d4307e9f7 issue templates: add note about uploading logs and remove redundant field 2021-07-07 19:02:44 -07:00
Adeeb Shihadeh 685e33c067
improved commIssue logging (#21515) 2021-07-07 18:43:41 -07:00
Greg Hogan d066b8f7e8
upload can only create (#21513) 2021-07-07 18:28:06 -07:00
Adeeb Shihadeh 7d59129c28 jenkins: verbose fetch 2021-07-07 17:32:01 -07:00
HaraldSchafer 2aadf8beb2
Remove DM high std alert (#21501)
* cleaner

* no face and high stds is the same

* change test

* final clean

* need to deprecate
2021-07-07 17:08:55 -07:00
Adeeb Shihadeh 53430f87a0
terms & conditions (#21504)
* looks pretty good

* little closer

* ugh qml

* margin

* scrollbar

* cleanup

* fix line height

* tighter

* little more
2021-07-07 16:03:55 -07:00
Adeeb Shihadeh c72d163e14
deprecate CP.enableCamera (#21509)
* deprecate CP.enableCamera

* more removal

* one more

* update refs
2021-07-07 14:59:18 -07:00
Adeeb Shihadeh a816206581 bump opendbc 2021-07-07 13:14:58 -07:00
kennedyshead d9c749c118
Car port: AP1 Tesla Model S (#21444)
* Adding AP1 for tesla

* Remove safetyparams and added more extensive fingerprint

* merge interface for AP1 and AP2
2021-07-07 21:40:10 +02:00
Willem Melching d101000852 nav: add source to route logging 2021-07-07 16:22:45 +02:00
Adeeb Shihadeh e773749f32 fix default tethering password 2021-07-06 19:33:08 -07:00
Willem Melching 6feafc0042
tici: use LSM6DS3 (#21496) 2021-07-06 23:02:54 +02:00
grekiki b3a792305e
plotjuggler: add segment_count arg (#21474) 2021-07-06 13:57:03 -07:00
Adeeb Shihadeh a6efe9a6b7
remove modem logging (#21497) 2021-07-06 13:51:45 -07:00
Ross Fisher f40e75edf8
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>
2021-07-06 19:48:04 +02:00
Adeeb Shihadeh 266d1bdeac
agnos 0.20 (#21488)
* agnos 0.20

* prod image
2021-07-06 10:32:10 -07:00
Dean Lee 4145988756
installer.cc: fix wrong db path (#21494) 2021-07-06 10:14:07 -07:00
Adeeb Shihadeh ec00e71b64
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>
2021-07-05 23:48:10 -07:00
Jason Young 615ebb9f82
VW MQB: Add FW for 2019 Volkswagen Atlas (#21491) 2021-07-05 19:42:54 -07:00
Adeeb Shihadeh a44072753d
updated: clear overlay on exception (#21489) 2021-07-05 19:27:06 -07:00
Erich Moraga 6914e6824d
Add missing LEXUS_NX_TSS2 engine & fwdCamera (#21490) 2021-07-05 18:55:39 -07:00
Adeeb Shihadeh a334203f7b
training guide fixups (#21485)
* training images

* wide training guide

* fixup some images

* cleanup

* one more

* release files
2021-07-05 01:31:31 -07:00
Adeeb Shihadeh 3a51a5c0f0
update release build (#21482)
* update master-ci

* move to /data

* fix tests

* fix source dir

* prune

* trailing slash

* compile
2021-07-04 20:26:38 -07:00
Adeeb Shihadeh 8dce135279
update speedTooHigh alert sound (#21484) 2021-07-04 19:23:09 -07:00
sshane f96b3cc597
Tethering: Edit password while enabled (#21457)
* restart tethering if password is edited

* fixes

* connect straight to WifiManager

* revert
2021-07-04 18:17:46 -07:00
Willem Melching 32d5239912
nav: improve logging (#21477)
* nav: add logging

* handle errors in route reply
2021-07-04 15:34:25 +02:00
kennedyshead d4713946f2
EAC_INHIBITED is not an actual error, when this is removed all "LKAS fault" errors are fixed. (#21469) 2021-07-03 23:55:54 +02:00
Adeeb Shihadeh 0bfd994f73
fast jenkins (#21472)
* speed up setup

* speedup onroad test

* .git doesn't like inplace

* tici2

* no inplace

* revert

* fix

* that one too
2021-07-02 16:29:57 -07:00
sshane d2d1aaad08
Networking: use active AP signal (#21461)
* use active ap signal

* working
2021-07-02 13:30:42 -07:00
sshane 02772c69eb
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 4b5129004e.

* Revert "auto detect gearbox message"

This reverts commit bcdf7c452d.

* no longer needed

* bump
2021-07-02 13:19:44 -07:00
Willem Melching 06acd76d6d
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
2021-07-02 15:19:33 +02:00
Willem Melching 54b6a9f121
Qt logging through cloudlog (#21452)
* Qt logging through cloudlog

* sort imports

* rename to swaLogMessageHandler

* move to util

* info is high enough

* smaller diff
2021-07-02 14:01:59 +02:00
Willem Melching 8d075048b3
tici: Switch to 1D dead pixel correction (#21467) 2021-07-02 14:01:43 +02:00
Adeeb Shihadeh 30683e6291
UI: faster offroad transition (#21466) 2021-07-02 00:37:30 -07:00
Adeeb Shihadeh ccf2780456
check submodule commits on master (#21446) 2021-07-01 23:12:39 -07:00
sshane 146973da7f
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
2021-07-01 19:59:02 -07:00
sshane 07d3934996
Networking: refresh once in background (#21453)
clean up

move to setup()
2021-07-01 18:32:55 -07:00
sshane 4cdd26596e
Networking: Use common header (#21456) 2021-07-01 15:33:51 -07:00
sshane 924e8d5c28
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 3887fc87eb.

* 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
2021-07-01 14:01:29 -07:00
Adeeb Shihadeh 9b9a2d7b89 increase dmonitoringmodeld execution time threshold 2021-06-30 19:02:21 -07:00
Adeeb Shihadeh 7d04be39cb CI: fix hanging if build failed 2021-06-30 17:58:28 -07:00
Adeeb Shihadeh c0012892da remove unnecessary scons clean 2021-06-30 17:55:32 -07:00
ShaneSmiskol a680d0cea1 Fix logging unsupported empty ssid networks 2021-06-30 17:28:06 -07:00
sshane 4000d4a8d2
Networking: Only refresh when visible (#21445)
* only refresh when visible

* catch other case
2021-06-30 17:24:44 -07:00
Adeeb Shihadeh a74b9dc94f bump cereal 2021-06-30 16:13:19 -07:00
HaraldSchafer 6838e1c82c
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>
2021-06-30 14:19:39 -07:00
ShaneSmiskol f1ee79ef14 Revert "debugging"
This reverts commit 67e32b4a3c.
2021-06-30 12:39:15 -07:00