Commit Graph

6401 Commits

Author SHA1 Message Date
Adeeb Shihadeh d17f80fa2d don't show registration error on pc
old-commit-hash: 52d4189e96e827d85ede52a557f7a8e940945a11
2022-01-29 18:10:41 -08:00
Adeeb Shihadeh a96bed88da Honda: fix controls mismatch for stock PCM configs (#23662)
* Honda: fix controls mismatch for stock PCM configs

* ready to remove

* bump panda
old-commit-hash: 5219554b850fc4d7628ace10cc4ecbe998d77eea
2022-01-29 17:01:26 -08:00
Shane Smiskol 3ec9266de0 Honda: use common DBC for PILOT and others (#23659)
* use common dbc

* bump

* remove from files common
old-commit-hash: a5844363280ec4bafba9eaf046813f16aba6d6ac
2022-01-28 22:26:18 -08:00
Adeeb Shihadeh 9dc6ad47a0 Volkswagen: no actuation while pre-enabled
old-commit-hash: 661d47325a17574c88c9e6bf8c76880ac3973f15
2022-01-28 19:14:14 -08:00
Adeeb Shihadeh 71da8d1250 No actuation while in pre-enabled state (#23658)
* No actuation while in pre-enabled state

* update refs
old-commit-hash: 72e00a07686fa112dde7928fa48ab4a56ed7a7f5
2022-01-28 16:03:44 -08:00
Adeeb Shihadeh 6e9e095184 Honda: no actuation while in pre-enabled state (#23657)
* Honda: no actuation in pre-enabled state

* Honda: no actuation while in pre-enabled state
old-commit-hash: 8eb6a6a535bb037d375e0f81581bcda8d1f5114a
2022-01-28 15:28:17 -08:00
Adeeb Shihadeh 783779c2d6 Honda: minor carState cleanup
old-commit-hash: 2aa2031352b7727468fc8f433c0b67dd5a8e8c14
2022-01-28 14:29:40 -08:00
Adeeb Shihadeh 9b9d6ce772 setup: add OS version to user agent (#23656)
old-commit-hash: e9cd0a059c0985e16bdd64eeffb1791c1001088c
2022-01-28 14:21:37 -08:00
Shane Smiskol f443d62f8d CANParser: consistent style for adding signals/checks (#23646)
* consistent style, like toyota

* typo
old-commit-hash: 95caa5f3996dff4ec621d45d3ce6446aff4bd512
2022-01-28 13:20:13 -08:00
Dean Lee 1dae4aef54 replay: fix wrong logging for local route (#23652)
old-commit-hash: fa3a787e9a1294f1d0521d0c4bd27e952bb1d381
2022-01-28 12:03:19 -08:00
Dean Lee 212935863a 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
old-commit-hash: 520c99a050bba537e0b39e311b19f4fe22cf7ee9
2022-01-28 12:02:29 -08:00
Dean Lee d6292e7c08 replay: cleanup functions (#23655)
* cleanup function seek

* cleanup signals&slots

* use false

* add comment back
old-commit-hash: 2f9144138243b18ddd22eb541dd98f0a166e8cb4
2022-01-28 12:02:11 -08:00
vanillagorillaa f8f1ffd0d6 Honda: Merge Passport interface (#23651)
old-commit-hash: 06541abddcd84a6a6f6b4dbe51f036090e725351
2022-01-27 20:16:13 -08:00
Adeeb Shihadeh e229b3180d bump panda
old-commit-hash: bf5ee1d628f53830df7abdfb6bb51a717906e2b1
2022-01-27 19:36:54 -08:00
Dean Lee 99198156e3 log error on avcodec_receive_frame (#23649)
old-commit-hash: a901104a96b3df7131d7ff7b0dac490e230bf6b5
2022-01-27 19:35:18 -08:00
Adeeb Shihadeh e1f383c25a boardd: get health struct from panda (#23648)
old-commit-hash: 9dca040ed93e09e8564c170c39201cdb22f1341b
2022-01-27 19:22:44 -08:00
Adeeb Shihadeh 962c53cad5 boardd: add blocked msg cnt (#23647)
* boardd: add blocked msg cnt

* bump panda

* bump panda
old-commit-hash: 43c6ea8e7319b7ce1defd4a8d7b9e43f62e3f687
2022-01-27 17:48:24 -08:00
Shane Smiskol fadba4b34d 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>
old-commit-hash: 3645186d7cfcbe8889fed14caf5c51a0a84f14bb
2022-01-27 17:06:18 -08:00
Shane Smiskol b45082e61b bump
old-commit-hash: 220877fb6063b078a911832b7cd228e528c35a03
2022-01-27 17:02:43 -08:00
Adeeb Shihadeh 73b4613abf Toyota: merge IS and RC params
old-commit-hash: fe5056ffd8dfb6a8ecb1b008a8c77c2b3b2e7511
2022-01-27 16:20:57 -08:00
【TIM】 64ebc3b4fd 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>
old-commit-hash: eaebf01e581b910763eb23ed3e15af1559e84dc6
2022-01-27 15:33:18 -08:00
Dean Lee c8b528e850 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 /
old-commit-hash: 3ca8e3653b4dd7552c2cca6d3eb6ed76c98240be
2022-01-27 13:17:41 -08:00
Adeeb Shihadeh 31857ee45b Toyota: DBC rename
old-commit-hash: 036c1799d440a0bb8e69e647c18848fe173e303b
2022-01-27 11:44:57 -08:00
Adeeb Shihadeh effdebff11 Toyota: use common DBC for IS and RC
old-commit-hash: 4c765acb6ec834c9721e8c273336750b90ed56b7
2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 0a5779a090 Toyota: remove Prius DBC
old-commit-hash: 9a211ee14b3efe10df16c4aef19744607f0163fd
2022-01-27 08:59:16 -08:00
Adeeb Shihadeh c59e3695db Toyota: unify TNGA-K platform DBCs
old-commit-hash: 2f01bf3b6fa86597c4eeee7748c664e8c65891ac
2022-01-27 08:52:24 -08:00
Adeeb Shihadeh 4ecc611e27 Toyota: CT200H DBC merged into Rav4
old-commit-hash: b321d65cac2c7213ba9377ce8cc57e366e62d6d5
2022-01-27 08:43:40 -08:00
Robbe Derks c69bba9c9c Statlog in C (#23596)
* statlog in C

* fix swaglog and the test

* add missing files

* fix context initialization todo

* speed up test
old-commit-hash: 6366d1303f8f13278422c73078d624e58df3e1a8
2022-01-27 17:14:38 +01:00
Willem Melching 9f202e63f5 clip steer saturation counter to steerLimitTimer (#23638)
* clip steer saturation counter to steerLimitTimer

* update ref
old-commit-hash: ee71fd2fccdca9c311d7912f1fbaae6d50aac27a
2022-01-27 12:31:36 +01:00
Willem Melching 39a5e19e30 tesla: fix actuatorsOutput logging (#23637)
old-commit-hash: 6a9a573296696065c00ac3f9c6af916cd31eadb1
2022-01-27 11:46:35 +01:00
Adeeb Shihadeh ed3eef90b1 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>
old-commit-hash: 2240b802be8f781d52b7c00da54a577612d67330
2022-01-26 22:57:26 -08:00
Adeeb Shihadeh 9363436646 Toyota: rav4 DBC is same as corolla now
old-commit-hash: 33c8468e0278ca7828f3f4b37c7008ed81d8a754
2022-01-26 22:13:51 -08:00
Shane Smiskol 589d720b30 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.
old-commit-hash: 3c62d9da0952dc28fa7315e2ff5beb8e5942089f
2022-01-26 22:08:04 -08:00
George Hotz abfc6de831 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>
old-commit-hash: cb6a68373b52f0bd867bef03d737b3125da7df74
2022-01-26 19:25:05 -08:00
Adeeb Shihadeh c6e3e83a01 update refs
old-commit-hash: 013cccf6a8290a53d43a3ff780e9b7fb136fabde
2022-01-26 17:46:12 -08:00
Shane Smiskol af77fa14a4 Toyota: use common gear packet signal (#23634)
* Toyota: remove nodsu hybrid dbc

* bump

* no longer exists
old-commit-hash: 14133069e1f226b9c981d09653fb74f5020f725e
2022-01-26 17:10:32 -08:00
Igor Biletskyy b294249932 Panda: check libusb_open status (#23622)
old-commit-hash: 703efb9275b80d62dc2cd2de7a192e39238a9aae
2022-01-26 11:50:05 -08:00
Adeeb Shihadeh eac8bd839a sentry improvements (#23627)
* sentry: filter out unregistered devices and PC

* add daemon name
old-commit-hash: 8b5b0ae3415e1ea44a1eecb6e70cec16b0fb1565
2022-01-26 11:44:10 -08:00
Willem Melching 6101a6caca INDI: replace internal rate limit by actuatorsOutput (#23243)
* INDI: replace internal rate limit by actuatorsOutput

* update ref
old-commit-hash: cf9eee4272f4ea3c810c9caf4bbd220f04eb4af2
2022-01-26 17:45:05 +01:00
Willem Melching 179f5ac2e7 compare_logs: catch typeError (#23632)
old-commit-hash: 5ac32705d0b5b461f5f8ef5556679534b5a45e58
2022-01-26 17:13:32 +01:00
Shane Smiskol beeb0442ce base LatControl class (#21967)
* base LatControl class, move sat check out of pid.py

clean up

clean up

* fix

* global variable for min control speed

* nicer name

* unify latcontrol class init arguments

* add to release files

* saturated if close to limit

* move angle mode saturation checks into class

* check_saturation function takes in current saturated status

undo

* apply latcontrol_angle's active checking to all controllers

* clean up

* move those back

* make abstract baseclass

* add test for saturation

* keep clip

* update ref

* fix static analysis

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9de8f8cd8c384596868edf3307da51819b28bb4b
2022-01-26 17:10:41 +01:00
Ryan d947f4ff5b athena: unsuccessful upload handler requests. (#23620)
* Retry unsuccessful upload handler requests.

* test both cases

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1d4191956b117483a32e5fe217ff78a612976a80
2022-01-26 15:23:59 +01:00
Willem Melching 772f394423 Revert "collect C++ code coverage (#23619)"
This reverts commit a97b2e613b275f407576ddb3d7a3bd52b05f612a.

old-commit-hash: a62e9140908f40f6966d977373e9d458bd9a53d2
2022-01-26 10:59:21 +01:00
Shane Smiskol dc20ab6c42 Toyota: add fw for 2020 Lexus UX250h (#23626)
old-commit-hash: 173c3ae3a9ec77493527ccaa2844e2cdf14d651f
2022-01-25 22:20:03 -08:00
Adeeb Shihadeh 543860d318 manager: don't start uploader with dongle id
old-commit-hash: 818d4a0a96cce12d9952c0a111f755fe7ac9fdc1
2022-01-25 15:42:38 -08:00
Willem Melching 6c89b62dd9 collect C++ code coverage (#23619)
* collect cpp coverage

* install llvm

* compile with coverage

* cd to root

* remove broken gcda files

* remove newline

* delete more stuff

* script to collect coverage

* Update tools/collect_coverage.sh

* actually delete
old-commit-hash: 698ab6ac97bef2a00e0a6fa8111a5a0556a064d2
2022-01-25 23:15:24 +01:00
Willem Melching b8c3aab0d8 use codecov action (#23618)
* use codecov action

* convert to xml

* also coverage in longitudinal test

* fix typo
old-commit-hash: ea2da86e81927abfc3ac75d2f7516f501e73b2ae
2022-01-25 14:57:47 +01:00
Shane Smiskol a790a658f8 LateralPlanner: Move lane change logic to another class (#23476)
* should work

* Revert "should work"

This reverts commit dabc2ea17a072a6c835e4bd1c75a2c1e2d10623d.

* move lane change logic to DesireHelper class

* clean up desires

clean up desires

* comments

* Revert "clean up desires"

This reverts commit 7301c921e305fcbd4746b19040631d935d50dfd9.

* Update selfdrive/controls/lib/desire_helper.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* add to files_common

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 6be70a063dfc96b9e9f097f439bdc2e0be54d6d9
2022-01-25 13:40:03 +01:00
Shane Smiskol 183715ccea controlsd: verify unsafe mode consistency (#23563)
* add unsafe mode check to controlsd

bump submodules

forgot to add to health_t struct

bump

ahh forgot to set it!

bump

bump

clean up

clean up

bump

* fix ordering

* move to end

* unsigned

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 31d147dca2ada336d14c08ae35f5af510c309730
2022-01-25 12:09:13 +01:00
Willem Melching 87735a44ba bump panda
old-commit-hash: 4e87b2b5276474b4d11336b54df65464726b603c
2022-01-25 11:50:44 +01:00