Commit Graph

4201 Commits

Author SHA1 Message Date
Adeeb Shihadeh 89c42041ec keyboard improvements (#21502)
* design

* period

* one more

* blue

* cleanup
2021-07-11 22:30:33 -07:00
Adeeb Shihadeh 49e316a34b more athena logging (#21558) 2021-07-11 21:18:28 -07:00
Adeeb Shihadeh 6d9dc9945a Honda: keep braking after PCM disables cruise (#21510)
* Honda: keep braking after PCM disables cruise

* update refs
2021-07-11 19:31:09 -07:00
Adeeb Shihadeh a2f9259ebf sidebar: indicator for GPS fix (#21556)
* sidebar: indicator for GPS fix

* fix cutoff
2021-07-11 15:26:28 -07:00
Adeeb Shihadeh 86c255e3e8 nav: restore zoom and position on double click (#21551) 2021-07-11 00:32:11 -07:00
Jafar Al-Gharaibeh ff704e18b7 Car Port: Mazda CX-9 2021 (#20864)
* Mazda CX-9 no steer lockout, and newer cars can use more torque

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-9 2021 test route

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* cleanup

* more cleanup

* don't show community features alert if dashcam only

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 23:50:03 -07:00
Adeeb Shihadeh d8411e7a62 fix qlog decimation calculation in loggerd tests 2021-07-10 23:20:15 -07:00
Adeeb Shihadeh bec054116f nav: scroller for recents (#21549)
* nav: scroller for recents

* stretch

* one more stretch
2021-07-10 22:56:18 -07:00
Adeeb Shihadeh 3adfd1d53b clamp gpu usage to fix thermald crash (#21548) 2021-07-10 22:29:38 -07:00
sshane eb37e409ee networking: clean up refreshing (#21537) 2021-07-10 22:28:24 -07:00
Erich Moraga 8fcbc29309 Add missing CAR.CAMRY_TSS2 engine f/w (#21547) 2021-07-10 18:20:09 -07:00
Adeeb Shihadeh 0f6bb5ae62 UI: fix mismatch between checked button and panel when dragging 2021-07-10 17:19:09 -07:00
Adeeb Shihadeh 4738fe0e45 increase yuv buffer count to hold 5s (#21528)
* increase yuv buffer count to hold 5s

* bump cereal
2021-07-10 14:46:20 -07:00
Adeeb Shihadeh 8b6cf406ab remove gps accuracy from sidebar 2021-07-10 14:40:11 -07:00
Dean Lee e836ed7f6e OffroadHome: separate the update and alert buttons (#21326)
* refactor

* better loop

* remove stretch

* only refreshed by timer

* fix wrong bg color

* descending sort alert labels  by severity

* remove duplicate stylesheet

* Update selfdrive/ui/qt/widgets/offroad_alerts.cc

* rebase master

* qt best pratice

* split offroadAlerts

* only show first time

* short variable name

* space

* don't do refresh in every showEvent

* Revert "don't do refresh in every showEvent"

This reverts commit 2b0032fb0af7138e9d9df1ad052c589fd96d2e05.

* cleanup

rename name to key

cleanup

* add stretch back

* hide alert widgets when not alerts

* rebase master

* fix flash on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 14:09:05 -07:00
Adeeb Shihadeh cb7e96f99d rename enableCruise -> pcmCruise (#21546) 2021-07-10 13:56:11 -07:00
Dave c0e25a8f29 Add Acadia Denali 2018 fingerprint (#21545) 2021-07-10 13:23:55 -07:00
Adeeb Shihadeh b4fc208166 move fuzzy fingerprinting out of community features (#21542) 2021-07-10 13:23:39 -07:00
Jafar Al-Gharaibeh e0ed92c03f Mazda: Latest FP2 FW roundup (#21529)
* Mazda CX-5 2020 FW

dongle-id: 7158b1c81c34b73a

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-9 2018 fw

dongle-id: b7ac84ce9191f3cb

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-9 2019 fw

dongle id: 30453440af4c0a5a

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-5  2019 FW

dongle-id: a9a9badda9265c17

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-07-10 13:16:14 -07:00
Adeeb Shihadeh 092c728e76 fix unnecessary harsh steering unavailable alerts (#21541) 2021-07-10 01:53:14 -07:00
Dean Lee aee2b893a7 Qt: new class ElidedLabel (#21277)
* shorten ssid

* truncate with ellipsis

* rename to trancate

* truncate 22 characters

* elidedLabel

* trimmed

* remove function elidedString

* cache elidedTest

* rebase master

* minimizeSizeHint

* add sizeHint

* cleanup

* revert

* inherit from QLabel

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 01:43:47 -07:00
sshane 16e4f432bf 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 7f2ad50fed.

* 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>
2021-07-09 22:55:47 -07:00
Adeeb Shihadeh 69160375c6 fixup timing script 2021-07-09 21:12:18 -07:00
Adeeb Shihadeh d11b0c06bf debug script for checking timings 2021-07-09 21:08:16 -07:00
Harald Schafer 8c4582c87a new refs 2021-07-09 16:38:23 -07:00
Harald Schafer f60d169bb4 upload original 2021-07-09 16:32:04 -07:00
Harald Schafer 1979005e82 update 2021-07-09 16:31:34 -07:00
Harald Schafer 472442111b fix exclude pattern 2021-07-09 15:51:08 -07:00
Harald Schafer 0cbb3b44e2 rm debug print 2021-07-09 15:14:05 -07:00
Adeeb Shihadeh 22a8433a84 send real frames in regen 2021-07-09 15:11:47 -07:00
kennedyshead ffe4f42b45 Tesla Model S AP1 fingerprint (#21535) 2021-07-09 12:29:50 -07:00
HaraldSchafer 148c202bc4 less np (#21536) 2021-07-09 11:34:00 -07:00
Willem Melching 35a5aae334 nav: hide ETA on destination reached 2021-07-09 11:28:53 +02:00
Willem Melching 779d6479b4 nav: cleanup error messages 2021-07-09 11:16:51 +02:00
Adeeb Shihadeh 7f2ad50fed Toyota: debug logging for low speed lockout (#21526)
* Toyota: debug logging for low speed lockout

* add to parser

* add car
2021-07-08 15:40:08 -07:00
Willem Melching 47be6c751e 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
2021-07-08 15:22:00 +02:00
Willem Melching 9ea913bcc8 nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
2021-07-08 14:33:58 +02:00
Dean Lee 13b2ce9391 UI: remove zoom from struct UIState (#21520) 2021-07-08 10:42:34 +02:00
sshane 648639787c Fix active AP (#21511)
* Revert "Qt logging through cloudlog (#21452)"

This reverts commit 54b6a9f121.

* 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
2021-07-07 21:48:46 -07:00
Dean Lee b7f8c6ad03 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>
2021-07-07 21:19:56 -07:00
Dean Lee 5be75f5354 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
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh 5a20cc6cae fix offroad alert precedence (#21517) 2021-07-07 20:07:27 -07:00
Adeeb Shihadeh b4278baf8c remove unused can fingerprints (#21516) 2021-07-07 19:59:17 -07:00
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 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