Commit Graph

10097 Commits

Author SHA1 Message Date
Adeeb Shihadeh e6d8a84578 for those who want to live in the moment 2022-01-31 14:30:40 -08:00
Jafar Al-Gharaibeh 1c31c9b7a3 Mazda: alert when LKAS is disabled (#23288)
* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* update refs

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-30 21:04:07 -08:00
Adeeb Shihadeh af33998335 update refs 2022-01-30 20:46:40 -08:00
Adeeb Shihadeh 602f92fc0e controlsd: only add startup event until initialized (#23671)
* controlsd: only add startup event until initialized

* update refs

* update again
2022-01-30 20:38:05 -08:00
VAHAMAISEN 9ec99b5230 Toyota: add COROLLA_TSS2 fw (#23661)
* Update values.py

Added Toyota Corolla fingerprint.

* a
2022-01-30 20:04:36 -08:00
Adeeb Shihadeh 8d9afa7171 Log panda signature to param (#23670) 2022-01-30 13:07:05 -08:00
Adeeb Shihadeh c8429f913e test car models improvements (#23668)
* run on all routes

* min segment length

* invalid

* revert that
2022-01-30 11:17:51 -08:00
Willem Melching 96743c1067 Honda Pilot, Passport, Ridgeline: increase user brake threshold (#23641) 2022-01-30 19:45:24 +01:00
Adeeb Shihadeh d2735d73fc test car models: fix all panda safety mismatches (#23616)
* remove tolerance

* fix nissan mismatches

* warm up

* remove additional bosch check

* another honda exception

* little more

* Update selfdrive/test/test_models.py
2022-01-29 22:14:27 -08:00
Adeeb Shihadeh 36a3ec04be sim: fix bridge after default values removed from CANParser 2022-01-29 18:22:14 -08:00
Adeeb Shihadeh 52d4189e96 don't show registration error on pc 2022-01-29 18:10:41 -08:00
Adeeb Shihadeh 5219554b85 Honda: fix controls mismatch for stock PCM configs (#23662)
* Honda: fix controls mismatch for stock PCM configs

* ready to remove

* bump panda
2022-01-29 17:01:26 -08:00
Shane Smiskol a584436328 Honda: use common DBC for PILOT and others (#23659)
* use common dbc

* bump

* remove from files common
2022-01-28 22:26:18 -08:00
Adeeb Shihadeh 661d47325a Volkswagen: no actuation while pre-enabled 2022-01-28 19:14:14 -08:00
Adeeb Shihadeh 72e00a0768 No actuation while in pre-enabled state (#23658)
* No actuation while in pre-enabled state

* update refs
2022-01-28 16:03:44 -08:00
Adeeb Shihadeh 8eb6a6a535 Honda: no actuation while in pre-enabled state (#23657)
* Honda: no actuation in pre-enabled state

* Honda: no actuation while in pre-enabled state
2022-01-28 15:28:17 -08:00
Adeeb Shihadeh 2aa2031352 Honda: minor carState cleanup 2022-01-28 14:29:40 -08:00
Adeeb Shihadeh e9cd0a059c setup: add OS version to user agent (#23656) 2022-01-28 14:21:37 -08:00
Shane Smiskol 95caa5f399 CANParser: consistent style for adding signals/checks (#23646)
* consistent style, like toyota

* typo
2022-01-28 13:20:13 -08:00
Dean Lee fa3a787e9a replay: fix wrong logging for local route (#23652) 2022-01-28 12:03:19 -08:00
Dean Lee 520c99a050 replay: add test case for local route (#23650)
* add test for local route

* retry download on network error

* sleep 500ms before retry

* read 100 frames

* read more segments from route

* add REQUIRE
2022-01-28 12:02:29 -08:00
Dean Lee 2f91441382 replay: cleanup functions (#23655)
* cleanup function seek

* cleanup signals&slots

* use false

* add comment back
2022-01-28 12:02:11 -08:00
vanillagorillaa 06541abddc Honda: Merge Passport interface (#23651) 2022-01-27 20:16:13 -08:00
Adeeb Shihadeh bf5ee1d628 bump panda 2022-01-27 19:36:54 -08:00
Dean Lee a901104a96 log error on avcodec_receive_frame (#23649) 2022-01-27 19:35:18 -08:00
Adeeb Shihadeh 9dca040ed9 boardd: get health struct from panda (#23648) 2022-01-27 19:22:44 -08:00
Adeeb Shihadeh 43c6ea8e73 boardd: add blocked msg cnt (#23647)
* boardd: add blocked msg cnt

* bump panda

* bump panda
2022-01-27 17:48:24 -08:00
Shane Smiskol 3645186d7c CANParser: remove default values (#23642)
* draft

* remove rest

* bump

* update radar interfaces

* do rest and formatting

* bump

* fix mising check

* try this

* Revert "try this"

This reverts commit 0d26d9a072f87dbc897ed525b70fb1db9cb04a06.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-27 17:06:18 -08:00
Shane Smiskol 220877fb60 bump 2022-01-27 17:02:43 -08:00
Adeeb Shihadeh fe5056ffd8 Toyota: merge IS and RC params 2022-01-27 16:20:57 -08:00
【TIM】 eaebf01e58 Toyota: Prius V fixups (#23640)
* Fine tune Prius-V control parameter

* Adjust DBC file and enable SNG support

*Adjust the DBC file to CT200H, the parameters of this model are closer to PRIUS V
*Add PRIUS V to NO_STOP_TIMER_CAR list to enable SNG support

* Update interface.py

remove spaces

* Update values.py

Mod DBC to toyota_rav4_2017_pt_generated

* Update values.py

The file has been updated to resolve the conflict and can be directly merged

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-27 15:33:18 -08:00
Dean Lee 3ca8e3653b replay: ncurses GUI (#23608)
* initial version

* print all message's in ncurses window

* show download progress bar

* move all to class ConsoleUI

* timeline

* improve timeline&stats

* fix logMessage

* add warning indicator

* continue

* cleanup

* cast type to int

* simplify seekToFlag

* more

* <=

* handle enter

* add box to logging window

* fix multiple threads problem

* fix concurrency issues

* draw indicator

* many improvements

* more

* fix multipe threads logging

* stop replay before exit

* use lambda instead of std::bind

* cleanup

* small cleanup

* use carFingerPrint

* don't emit signal in replay::stream

* merge car_events into timeline

* cleanup DonloadStats

* cleanup

* rename carname to carFingerprint

* improve alert

* add comments

* add help functions

templete function

* handle term resize

* display replaying status

* rename to INSTANT

* helper function pauseReplay

* more

* cleanup

use rDebug

* no template

* less colors

* remove function mv_add_str

* use BORDER_SIZE

* tune colors

* add spaces

* apply reviews

use /
2022-01-27 13:17:41 -08:00
Adeeb Shihadeh 036c1799d4 Toyota: DBC rename 2022-01-27 11:44:57 -08:00
Adeeb Shihadeh 4c765acb6e Toyota: use common DBC for IS and RC 2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 9a211ee14b Toyota: remove Prius DBC 2022-01-27 08:59:16 -08:00
Adeeb Shihadeh 2f01bf3b6f Toyota: unify TNGA-K platform DBCs 2022-01-27 08:52:24 -08:00
Adeeb Shihadeh b321d65cac Toyota: CT200H DBC merged into Rav4 2022-01-27 08:43:40 -08:00
Robbe Derks 6366d1303f Statlog in C (#23596)
* statlog in C

* fix swaglog and the test

* add missing files

* fix context initialization todo

* speed up test
2022-01-27 17:14:38 +01:00
Willem Melching ee71fd2fcc clip steer saturation counter to steerLimitTimer (#23638)
* clip steer saturation counter to steerLimitTimer

* update ref
2022-01-27 12:31:36 +01:00
Willem Melching 6a9a573296 tesla: fix actuatorsOutput logging (#23637) 2022-01-27 11:46:35 +01:00
Adeeb Shihadeh 2240b802be Toyota: Prius V 2017 support (#23636)
* Add Toyota Prius Alpha support

* Fix opendbc link

* Update interface.py

* v

* revert opendbc

Co-authored-by: CT921 <tim.chen242@gmail.com>
Co-authored-by: 【TIM】 <90225659+CT921@users.noreply.github.com>
2022-01-26 22:57:26 -08:00
Adeeb Shihadeh 33c8468e02 Toyota: rav4 DBC is same as corolla now 2022-01-26 22:13:51 -08:00
Shane Smiskol 3c62d9da09 Toyota: Move EPS torque factor to openpilot (#23635)
* use scaling

* or we can do it this way

* define default in one place

* just specify

* Revert "just specify"

This reverts commit 40b7b28f8416497cd1337784d336c1dd4f5dd6e3.
2022-01-26 22:08:04 -08:00
George Hotz cb6a68373b Prepare for using the ISP (#23621)
* parse out isp packet with structs

* dsp mode

* support only driver / comments for yuv

* minor touchups

* DEBUG_FRAMES

Co-authored-by: Comma Device <device@comma.ai>
2022-01-26 19:25:05 -08:00
Adeeb Shihadeh 013cccf6a8 update refs 2022-01-26 17:46:12 -08:00
Shane Smiskol 14133069e1 Toyota: use common gear packet signal (#23634)
* Toyota: remove nodsu hybrid dbc

* bump

* no longer exists
2022-01-26 17:10:32 -08:00
Igor Biletskyy 703efb9275 Panda: check libusb_open status (#23622) 2022-01-26 11:50:05 -08:00
Adeeb Shihadeh 8b5b0ae341 sentry improvements (#23627)
* sentry: filter out unregistered devices and PC

* add daemon name
2022-01-26 11:44:10 -08:00
Willem Melching cf9eee4272 INDI: replace internal rate limit by actuatorsOutput (#23243)
* INDI: replace internal rate limit by actuatorsOutput

* update ref
2022-01-26 17:45:05 +01:00
Willem Melching 5ac32705d0 compare_logs: catch typeError (#23632) 2022-01-26 17:13:32 +01:00