Commit Graph

2393 Commits

Author SHA1 Message Date
Dean Lee 93cd4eae55 paint.cc car_space_to_full_frame less paramaters (#19676) 2021-01-06 16:34:29 +01:00
Willem Melching 37cb4bec63 UI: refactor model related functions (#19657)
Squashed commit of the following:

commit 7d7fb15e4cdd0e47fa38f949f79581dc611db015
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Jan 6 11:31:09 2021 +0100

    no extern

commit 901893966e3f908435bceb8777253dfa916a3d91
Merge: 9816e01e d8e864e3
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Jan 6 11:27:29 2021 +0100

    Merge branch 'master' into refactor_model_draw

commit 9816e01e6ff0284521fa18b07ec15b3900577687
Author: deanlee <deanlee3@gmail.com>
Date:   Wed Jan 6 04:02:08 2021 +0000

    fix lead_d

commit 6fa500dbce26544cc3fdeb4d9b0d2d654382a40b
Author: deanlee <deanlee3@gmail.com>
Date:   Tue Jan 5 13:18:20 2021 +0000

    populate model data in update_socket

commit e25db7e28c1b543a04c3e837aa44431c42dbb5b2
Author: deanlee <deanlee3@gmail.com>
Date:   Tue Jan 5 12:59:13 2021 +0000

    update model in function

commit 0834a3ffe7eaa080671f13c32dd6475ae5392d5b
Author: deanlee <deanlee3@gmail.com>
Date:   Tue Jan 5 12:50:21 2021 +0000

    continue

commit 95b08679c2593eb0770a68b3cf1a59f1fb3b74f4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Tue Jan 5 13:26:34 2021 +0100

    Update selfdrive/ui/paint.cc

commit 0eef065ae4f96c2ee5d97b4ccdfdbf0ae4945385
Author: Dean Lee <deanlee3@gmail.com>
Date:   Tue Jan 5 20:11:01 2021 +0800

    Update selfdrive/ui/paint.cc

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

commit 955ad9b03a176174b86b28d5bb6f48d6e2a09281
Author: deanlee <deanlee3@gmail.com>
Date:   Thu Dec 31 04:45:31 2020 +0000

    refactor model related functions
2021-01-06 11:34:52 +01:00
Willem Melching d8e864e33d dont show speed below zero 2021-01-06 11:25:37 +01:00
Willem Melching e4cf43c6fc Move all CarControllerParams into values.py (#19663)
* toyota

* use scale from values.py

* nissan

* subaru

* honda

* gm

* toyota combine into CarControllerParams

* nissan refactor

* chrysler refactor

* mazda refactor

* hyundai refactor

* subaru refactor
2021-01-06 11:20:44 +01:00
Dean Lee d0ba19fedb fix problem with drawing path (#19670) 2021-01-06 11:19:10 +01:00
Adeeb Shihadeh e3d2f0c88c fix race condition with encoder thread 2021-01-05 23:09:46 -08:00
Greg Hogan 97bfd91955 hyundai: increase number of resume messages sent at a time (#19634)
* make hyundai resume reliable

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-05 21:10:21 -08:00
Greg Hogan 235172bdb1 hyundai: update palisade tuning (#19606)
* update palisade tuning

* remove steerRatio change
2021-01-05 21:01:02 -08:00
Dean Lee 86fe2d1697 common exit handler (#19661)
* common signal handle

* fix typo

* rename to ExitHandler

* remove include signal.h

* remove include csignal

* rename variable exit to v

* rebase master
2021-01-05 20:19:53 -08:00
Adeeb Shihadeh 54679cea58 tici loggerd fixes (#19622)
* fix encoder exit when encoder is uninitialized

* cleanup

* more cleanup

* more cleanup

* little more

* ptr

Co-authored-by: Comma Device <device@comma.ai>
2021-01-05 16:35:05 -08:00
thn3088 8e6b8cdd4c 2018 Lexus RX350 fw (#19667)
Added fingerprint ecu values for 2018 Lexus RX350 for engine and esp.
2021-01-05 15:35:44 -08:00
Adeeb Shihadeh a399ec530d make android logcat exit cleanly (#19666)
* make android logcat exit cleanly

* clean up cpu usage script

Co-authored-by: Comma Device <device@comma.ai>
2021-01-05 15:10:55 -08:00
Adeeb Shihadeh 87950eb312 setup clang tidy (#19533)
* setup clang tidy

* config

* some cleanup

* little more

* remove that

* fix qcom build
2021-01-05 12:50:23 -08:00
Willem Melching bd8fbe15bf bump opendbc 2021-01-05 13:40:37 +01:00
Dean Lee 20918d82b6 cleanup draw alert (#19655)
* cleanup

* use Rect

* Revert "use Rect"

This reverts commit 96d04339a0adc7f7f543828ae8ff8101dd9f5f60.

* remove None from static map
2021-01-05 13:27:15 +01:00
Willem Melching d71fede2f9 Revert "bump opendbc"
This reverts commit 91efc11ee5.
2021-01-05 13:19:11 +01:00
Willem Melching 91efc11ee5 bump opendbc 2021-01-05 13:06:24 +01:00
Dean Lee 30c1164287 refactor ui_draw_image (#19656) 2021-01-05 13:01:32 +01:00
Dean Lee 170ece1ddd shorten variable name (#19659) 2021-01-05 12:57:31 +01:00
Igor d632cddabb Toyota interface.py refactor. Move default long tune before candidate check. (#19652) 2021-01-05 11:58:53 +01:00
Adeeb Shihadeh 793f179322 add camry h port to release notes 2021-01-04 16:00:51 -08:00
alancyau ff0be15bbc Car Port: 2021 Camry Hybrid TSS 2.5 (#19649)
* Add 2021 Camry Hybrid FW

* Fixed

* update

* update

* update

* fpv1

* Update README with 2021 Camry Hybrid

* Test route added test_car_models.py

* fix merge conflict

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-04 16:00:00 -08:00
Adeeb Shihadeh 1669e4a5d1 external cleanup (#19647)
* remove external

* put back ffmpeg for now
2021-01-04 14:17:14 -08:00
Willem Melching 278a838231 Fix macOS CI (#19646)
* fix macOS ci

* no partial matches

* Change key
2021-01-04 21:34:23 +01:00
Philipp Braun 5ce479cc56 ui.py: white text on graphs (#19636)
* Improve readability and add automatic size detection

* Fix global variables

* Revert angle scale

* Revert enabled and brake colors

* Fix used colors
2021-01-04 19:40:27 +01:00
Willem Melching 5b7d7622bf update CI routes, add back destination key 2021-01-04 19:15:39 +01:00
slavka89 986c8e0635 Update values.py (#19644)
added new ecu.engine. for highlander_tss2
2021-01-04 18:30:01 +01:00
Dean Lee c1cf0882bd Replace usleep with util::sleep_for (#19643)
* replace usleep with sleep_for

* sleep microseconds

* sleep nanoseconds

* Trigger Build
2021-01-04 18:03:11 +01:00
Dean Lee 6104e4c09e simplify logcatd (#19640)
* simplify logcatd

* add assert

* revert opendbc

* revert opendbc
2021-01-04 16:48:04 +01:00
Dean Lee f232f86a73 simplify ui_draw_vision_maxspeed (#19642)
if is_curise_set
2021-01-04 15:55:04 +01:00
cydia2020 378b052343 adaptive cruise can no longer be bypassed on toyota (#2708)
* adaptive cruise can no longer be bypassed on toyota

* remove TODO
2021-01-04 14:21:06 +01:00
Dean Lee ba4fb80e92 UI: simplify ui_draw_vision_speed (#19594)
* simplify draw_vision_speed

* use std::nearbyint

* use std::to_string
2021-01-04 14:18:38 +01:00
Willem Melching fbc8fc53eb bump opendbc: add pacifica cruise state signal 2021-01-04 14:05:16 +01:00
Dean Lee a4afc03a73 UI: reducing CPU usage from 13% to 4% when offroad (#19575)
* Accurately control the UI frequency

* helper function sleep_for
2021-01-04 13:59:23 +01:00
Dean Lee 041fbbf725 refactor qlog_counter (#19626) 2021-01-04 11:33:35 +01:00
Dean Lee 37a43124c0 max_idx should be initialized as -1 (#19625) 2021-01-04 11:29:31 +01:00
Willem Melching 493937d2d9 round close button 2021-01-04 11:28:28 +01:00
Willem Melching 0cf3da17be offroad alerts: put back reboot button 2021-01-04 11:24:06 +01:00
Willem Melching 250f285894 Nicer blue/red colors offroad alert button 2021-01-04 10:33:43 +01:00
Dean Lee 06e3b1e445 fix thread safety issue in camera focusing (#19576) 2021-01-04 10:18:10 +01:00
Dean Lee 37826c0032 should not break if poll timeout (#19578) 2021-01-04 10:17:52 +01:00
Adeeb Shihadeh f6050942b0 add lexus esh port to release notes 2021-01-03 14:15:08 -08:00
Mohammed Nasir 5696880ebe Car Port: Lexus ESH 2018 (#19624)
* add support for Lexus ES300h 2018

* reusing CT200h DBC

* skipping route test for now

* Update values.py

* Update values.py

* added fingerprint 2.0

* added test route

* disabling test for now

* reenabled route test

* fixes

* readability

* syntax fix

* Update carstate.py

* Update carstate.py
2021-01-03 14:13:54 -08:00
Adeeb Shihadeh 330f34bd0d cleanup mac build CI job 2021-01-03 12:39:31 -08:00
Mayfield cbc25cc0f1 Make macos ci homebrew dep-caching fast (#19632)
* try out /usr/local for homebrew caching

* TEMP: disable non-macos jobs

* TEMP: disable more

* sizes

* temp: nothing change

* more

* try -1

* quotes

* delete existing downloads

* fix ~ expansion

* nothing

* try caching cellar

* move to yaml

* nothing

* nothing

* asdf

* nothing

* fixed cache key

* nothing

* stay in home dir

* keep zstd

* brew link

* fix cleaning?

* brew link in yaml

* fix zstd exclusion

* capnp

* revert mac_setup

* finish up

* done
2021-01-03 12:33:42 -08:00
Dean Lee 0c4e2fadc8 UI:shorten variable name (#19633) 2021-01-03 12:25:24 -08:00
Adeeb Shihadeh 75774b817f fix LGTM C++ extraction (#19630) 2021-01-01 12:55:00 -08:00
Adeeb Shihadeh a01a2ecc24 disable cpu usage test until CAN replay hw is fixed 2020-12-31 15:01:38 -08:00
Adeeb Shihadeh 59d7c5e64a move to github container registry + CI speedup (#19621) 2020-12-31 14:57:01 -08:00
Adeeb Shihadeh 309384e2f7 another update_ci_routes fix 2020-12-31 14:00:30 -08:00