Commit Graph

4119 Commits (c10d46d336d91b9eb1732477d58351022485ce11)

Author SHA1 Message Date
sshane c10d46d336
ui: fix finish setup button (#21538) 2021-07-13 14:58:54 -07:00
Willem Melching 63c9b56063
tici: improve AE (#21493)
* simplify histogram calculation

* add debug prints

* faster AE

* revert that

* lower log level

* use minimum recomended gains from datasheet

* use define

* fix min gain

* dynamic grey target

* fix build

* add low pass

* more stable rounding

* increase max gain

* always enable HCG

* correctly set min ev

* fix analog gain

* remove unused variable

* fix build

* move recomended gain into cost function

* tweak cost function a bit

* small LPF on desired ev

* fix typo

* lower ts

* clean up defines

* that was used in common

* add cast

* less cost is fine

* fix tests

* whitespace

* filtering is broken

* put back

* clip gain changes instead

* cost function tweaking

* Only go below recomended gain when absolutely necessary

* small penalty on changing gains
2021-07-13 23:33:50 +02:00
HaraldSchafer fd41e9f01b
Lower speed for lowest planned acceleration (#21578)
* 55mph sounds about right

* update refs
2021-07-13 14:22:06 -07:00
Adeeb Shihadeh 7546608eb0 add fw version count to fingerprint cloudlog 2021-07-13 14:00:02 -07:00
robbederks 2f22207ece
Add option to avoid thneed (#21577)
* add option to avoid thneed

* cleaner

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* fix USE_THNEED in modeld

* cleanup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2021-07-13 16:40:20 +02:00
Willem Melching 45d4f8301b
hardware: only create dbus objects when needed (#21576)
* only create dbus objects when needed

* fix typo

* use cached_property
2021-07-13 16:22:22 +02:00
Willem Melching 8eba02e119
MMC5603NJ support (#21564)
* read chip id

* set source

* untested driver

* periodic set

* optional
2021-07-13 15:38:06 +02:00
Dean Lee f554dc0ae6
ui/update_line_data: fix assert when max_idx = TRAJECTORY_SIZE-1 (#21543) 2021-07-13 15:37:19 +02:00
Willem Melching a85b5557ed fix ui.py after longitudinal refactor 2021-07-13 12:01:36 +02:00
Adeeb Shihadeh 88424ede2c
Revert model (#21571)
* Revert "New desire model (#21458)"

This reverts commit 4230d5d212.

* revert rel notes
2021-07-12 19:26:50 -07:00
HaraldSchafer a42d8f3a14
less accel (#21565)
* less accel

* new refs

* Update longitudinal_planner.py

* update refs
2021-07-12 18:30:56 -07:00
Adeeb Shihadeh af9091c8c4 unmount overlay in jenkins setup 2021-07-12 17:32:12 -07:00
Adeeb Shihadeh 21c7981919
fix agnos updater bug + type hints (#21566)
* add type hints

* fix bug

* more hints
2021-07-12 15:22:44 -07:00
Adeeb Shihadeh 6d5fffbbe0 bump cereal 2021-07-12 14:39:49 -07:00
Willem Melching fd47239274
LSM6DS3TR-C support (#21563)
* add chip id

* fix temp scale

* cleanup source
2021-07-12 19:37:30 +02:00
Adeeb Shihadeh b0e3c35edd
agnos 0.21 (#21559)
* agnos 0.21

* update

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-07-12 17:33:45 +02:00
Robbe Derks cbc07d036c bump panda 2021-07-12 16:42:48 +02:00
Willem Melching fb8f0ac092
cloudlog modem version (#21562)
* log modem version

* whitespace
2021-07-12 15:52:09 +02:00
Willem Melching a148bcb3ef
nav: cleanup settings page (#21561) 2021-07-12 13:44:30 +02:00
Willem Melching dd128f5916 loggerd: power failure print sync done 2021-07-12 12:28:07 +02:00
Adeeb Shihadeh 7211a4f6cc sidebar: only show gps indicator while onroad 2021-07-12 01:34:30 -07:00
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
Adeeb Shihadeh b5965400fe release notes from research 2021-07-09 15:30:05 -07:00