* 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
old-commit-hash: 63c9b56063
* 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>
old-commit-hash: ff704e18b7
* 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>
old-commit-hash: e836ed7f6e
* 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 c0d4c7e69a29e58a13573dab5a88792559b965b6.
* 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>
old-commit-hash: 16e4f432bf