Commit Graph

2963 Commits

Author SHA1 Message Date
Dean Lee 4a137a3f41 remove double semicolons (#19681)
old-commit-hash: fd4ddb769a7b321ada3105ad2511c54ab08b1f63
2021-01-06 20:23:33 -08:00
Adeeb Shihadeh 0d895ad82a loggerd tests (#19671)
old-commit-hash: af81190cfcf96201f59b0461cc3fdd80cf8651a3
2021-01-06 19:18:35 -08:00
Chris McCammon bc23cf8038 Lexus RX 2020 fw (#19678)
old-commit-hash: 07df6956f0c4503a960807baf3b7a662bff3021a
2021-01-06 17:56:59 -08:00
Comma Device e4502623ad logcatd_android: use sleep_for instead of usleep
old-commit-hash: 61bc7f73faf70522dd2c3177d6f53ed3ff3e1af4
2021-01-06 13:04:08 -08:00
Adeeb Shihadeh ee06788cf9 only run logcatd while onroad
old-commit-hash: 94b2818b22a13457d59e7c463516e006c5995576
2021-01-06 12:10:38 -08:00
vanillagorillaa 3af3dc7d76 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>
old-commit-hash: 937aa829a3a4871e46bddfb42e67c37d38884da6
2021-01-06 12:06:03 -08:00
Dean Lee af4b8bb307 paint.cc car_space_to_full_frame less paramaters (#19676)
old-commit-hash: 93cd4eae55a788eb7530fe369db65c7fffc5d931
2021-01-06 16:34:29 +01:00
Willem Melching 1cc43f8d7d 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 c0703a57
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

old-commit-hash: 37cb4bec631197f6b369bf89f94786772bd05336
2021-01-06 11:34:52 +01:00
Willem Melching b56d44bbd2 dont show speed below zero
old-commit-hash: d8e864e33d08c60e9740d7433067382128962f92
2021-01-06 11:25:37 +01:00
Willem Melching 4daa6f05cf 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
old-commit-hash: e4cf43c6fcc2f442318df815fdc38fb26a74bdb7
2021-01-06 11:20:44 +01:00
Dean Lee ff7d537c96 fix problem with drawing path (#19670)
old-commit-hash: d0ba19fedb897443248ad0f096dc6ffdca983872
2021-01-06 11:19:10 +01:00
Adeeb Shihadeh 84255f7c0d fix race condition with encoder thread
old-commit-hash: e3d2f0c88cd04a2292ff4d90e74f38e147225d0c
2021-01-05 23:09:46 -08:00
Greg Hogan a342b68304 hyundai: increase number of resume messages sent at a time (#19634)
* make hyundai resume reliable

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 97bfd91955abc65a34ac4c08f5cef2b41355bb8d
2021-01-05 21:10:21 -08:00
Greg Hogan 6449aa05ac hyundai: update palisade tuning (#19606)
* update palisade tuning

* remove steerRatio change
old-commit-hash: 235172bdb110431673789dc89689b11ac6b2b055
2021-01-05 21:01:02 -08:00
Dean Lee 5e557ed96d 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
old-commit-hash: 86fe2d1697531bebdf5d0d83609e91ed4006f54b
2021-01-05 20:19:53 -08:00
Adeeb Shihadeh 0fdc9af349 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>
old-commit-hash: 54679cea585d1f65a6d8051cf338cb04f8a12319
2021-01-05 16:35:05 -08:00
thn3088 57020473a4 2018 Lexus RX350 fw (#19667)
Added fingerprint ecu values for 2018 Lexus RX350 for engine and esp.
old-commit-hash: 8e6b8cdd4cc85801fd07793607de3f7cca295ad3
2021-01-05 15:35:44 -08:00
Adeeb Shihadeh 3b2d64fddb make android logcat exit cleanly (#19666)
* make android logcat exit cleanly

* clean up cpu usage script

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

* config

* some cleanup

* little more

* remove that

* fix qcom build
old-commit-hash: 87950eb3127e175f0f2b0bb42440f5350c679369
2021-01-05 12:50:23 -08:00
Willem Melching 4861ec6f81 bump opendbc
old-commit-hash: bd8fbe15bfff8c7f31345904ea60d5687cfeafbc
2021-01-05 13:40:37 +01:00
Dean Lee 4765ba9478 cleanup draw alert (#19655)
* cleanup

* use Rect

* Revert "use Rect"

This reverts commit 96d04339a0adc7f7f543828ae8ff8101dd9f5f60.

* remove None from static map
old-commit-hash: 20918d82b689c09c33a0fecef102fc91a65b00d5
2021-01-05 13:27:15 +01:00
Willem Melching e1425ec267 Revert "bump opendbc"
This reverts commit 42e1093fef0c0232518fa7d9b7e39eb3ea67f5de.

old-commit-hash: d71fede2f9f6ba6dc088f9add6f678501c7173ad
2021-01-05 13:19:11 +01:00
Willem Melching f4c0cdd6f2 bump opendbc
old-commit-hash: 91efc11ee59fa3fad1f9440246a33cc8fb6cdf2d
2021-01-05 13:06:24 +01:00
Dean Lee 041db30454 refactor ui_draw_image (#19656)
old-commit-hash: 30c1164287d9ebb7ac3fb9e967d4e1d01bbb23f5
2021-01-05 13:01:32 +01:00
Dean Lee b1b5baf5e9 shorten variable name (#19659)
old-commit-hash: 170ece1ddd28a76ee672becf852defe27287f484
2021-01-05 12:57:31 +01:00
Igor 2e1a48b938 Toyota interface.py refactor. Move default long tune before candidate check. (#19652)
old-commit-hash: d632cddabb9db4cd4e1cc6bc77146148189ad49c
2021-01-05 11:58:53 +01:00
Adeeb Shihadeh 207bc43a9b add camry h port to release notes
old-commit-hash: 793f179322694ff9ba9aaf6f8d670cca173af3b2
2021-01-04 16:00:51 -08:00
alancyau 5363234758 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>
old-commit-hash: ff0be15bbc382d13c565132342cb50f2e3a342da
2021-01-04 16:00:00 -08:00
Adeeb Shihadeh bc9891b651 external cleanup (#19647)
* remove external

* put back ffmpeg for now
old-commit-hash: 1669e4a5d1444c07c31400a23fc42d8f6cccc837
2021-01-04 14:17:14 -08:00
Willem Melching 73e04b8164 Fix macOS CI (#19646)
* fix macOS ci

* no partial matches

* Change key
old-commit-hash: 278a838231d781282d783405a07be9bde47c8efb
2021-01-04 21:34:23 +01:00
Philipp Braun d572cd31cb 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
old-commit-hash: 5ce479cc561f2ba454de67903e79eec07ac3ff04
2021-01-04 19:40:27 +01:00
Willem Melching 8e706e29d6 update CI routes, add back destination key
old-commit-hash: 5b7d7622bf9bd897e7eb1da2a9d557ccd83ad4a9
2021-01-04 19:15:39 +01:00
slavka89 99d981069d Update values.py (#19644)
added new ecu.engine. for highlander_tss2
old-commit-hash: 986c8e063512643b4cab84c97ff0704592cfe77c
2021-01-04 18:30:01 +01:00
Dean Lee bbfb751d69 Replace usleep with util::sleep_for (#19643)
* replace usleep with sleep_for

* sleep microseconds

* sleep nanoseconds

* Trigger Build
old-commit-hash: c1cf0882bd4e0fce5e1a581536f6a0e7afb640e6
2021-01-04 18:03:11 +01:00
Dean Lee df0435c933 simplify logcatd (#19640)
* simplify logcatd

* add assert

* revert opendbc

* revert opendbc
old-commit-hash: 6104e4c09ec277056a345fc1e4a4bfcf5ffe042e
2021-01-04 16:48:04 +01:00
Dean Lee 9864456618 simplify ui_draw_vision_maxspeed (#19642)
if is_curise_set
old-commit-hash: f232f86a73dd635c2601f8da83a494100d2c3039
2021-01-04 15:55:04 +01:00
cydia2020 b63ef5fb93 adaptive cruise can no longer be bypassed on toyota (#2708)
* adaptive cruise can no longer be bypassed on toyota

* remove TODO
old-commit-hash: 378b052343a80a7b29e54276c4ab121138cfeaeb
2021-01-04 14:21:06 +01:00
Dean Lee 9d0efaaccf UI: simplify ui_draw_vision_speed (#19594)
* simplify draw_vision_speed

* use std::nearbyint

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

* helper function sleep_for
old-commit-hash: a4afc03a732ab6438a72bda22911bf4532e9e4cd
2021-01-04 13:59:23 +01:00
Dean Lee f71bf83946 refactor qlog_counter (#19626)
old-commit-hash: 041fbbf7259a62e375d900f2eece309782b52411
2021-01-04 11:33:35 +01:00
Dean Lee 23a52deb5b max_idx should be initialized as -1 (#19625)
old-commit-hash: 37a43124c0c10909e7906c3fd0c124f31f11dd87
2021-01-04 11:29:31 +01:00
Willem Melching 40a74fe136 round close button
old-commit-hash: 493937d2d90ba6ed6512975e9821b777ffe1a65c
2021-01-04 11:28:28 +01:00
Willem Melching 17280ef5ef offroad alerts: put back reboot button
old-commit-hash: 0cf3da17be09b5cb5f3d4ea2aee5e7d927be9281
2021-01-04 11:24:06 +01:00
Willem Melching 9407ec9cfb Nicer blue/red colors offroad alert button
old-commit-hash: 250f285894d2dfb1cd4315e92ee4e7b3c98cfb39
2021-01-04 10:33:43 +01:00
Dean Lee 6d729af2f9 fix thread safety issue in camera focusing (#19576)
old-commit-hash: 06e3b1e445c1a99fb6284beb95ae92c48fb5bade
2021-01-04 10:18:10 +01:00
Dean Lee 3fa5602f75 should not break if poll timeout (#19578)
old-commit-hash: 37826c00324cc8f9c9eae9650cafc0df6c838ebe
2021-01-04 10:17:52 +01:00
Adeeb Shihadeh ce15e58010 add lexus esh port to release notes
old-commit-hash: f6050942b022bba5e12f079b1064756c9ce87dac
2021-01-03 14:15:08 -08:00
Mohammed Nasir de831ae9e3 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
old-commit-hash: 5696880ebea59cdf235227367f7b5509509632d4
2021-01-03 14:13:54 -08:00
Adeeb Shihadeh 9abcc61ddb cleanup mac build CI job
old-commit-hash: 330f34bd0d3b4ff66900bbcdbc92557d28537422
2021-01-03 12:39:31 -08:00