Commit Graph

7421 Commits

Author SHA1 Message Date
rickyb82
e98473c399 Add FW versions for 2018 Lexus NX Hybrid (#19645)
New Ecu Engine and Ecu Esp for NX Hybrid My18 European Edition, I'm From Italy
2021-01-07 15:20:08 +01:00
Willem Melching
7c43a60bda Rebuild acado and add scons command to regenerate mpc (#19685)
* rebuild acado and add scons command to regenerate mpc

* update scons help
2021-01-07 15:18:23 +01:00
Dean Lee
61cf81502e sidebar.cc remove prefix for static functions (#19683) 2021-01-07 11:16:47 +01:00
ffhspa
dd9d8bba89 remove double semicolon in paint.cc (#19684) 2021-01-07 11:15:59 +01:00
Dean Lee
8c62b21df1 remove double semicolons (#19682) 2021-01-06 20:57:46 -08:00
Dean Lee
fd4ddb769a remove double semicolons (#19681) 2021-01-06 20:23:33 -08:00
Adeeb Shihadeh
af81190cfc loggerd tests (#19671) 2021-01-06 19:18:35 -08:00
Chris McCammon
07df6956f0 Lexus RX 2020 fw (#19678) 2021-01-06 17:56:59 -08:00
Comma Device
61bc7f73fa logcatd_android: use sleep_for instead of usleep 2021-01-06 13:04:08 -08:00
Adeeb Shihadeh
94b2818b22 only run logcatd while onroad 2021-01-06 12:10:38 -08:00
vanillagorillaa
937aa829a3 Chrysler non-ACC Fix - Only allow openpilot in ACC mode (#19581)
* initial try, needs to be tested

* Chrysler: Add to CAN parser

* Chrysler: move cruise state by other dash message

* fix messed up force push

* whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-01-06 12:06:03 -08:00
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
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
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
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
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
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
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
Dean Lee
0c4e2fadc8 UI:shorten variable name (#19633) 2021-01-03 12:25:24 -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