Commit Graph

3742 Commits

Author SHA1 Message Date
HaraldSchafer cb1cd01bdf cleanup old nidec accel override logic (#22181)
* cleanup old nidec accel override logic

* add ref without deprecated fields

* no more override
old-commit-hash: 74b6c872545ac64055a914789a89ccc173168d8b
2021-09-10 10:34:18 -07:00
speedking456 e9ebd076f7 Remove Kia Seltos from Legacy Safety Model (#22179)
old-commit-hash: 1f639e38b2577c9f2db69b9ddc97e31ab926849f
2021-09-10 08:19:58 -07:00
Jason Young 1df072cd3a VW MQB: Fixes for network location detection (#22174)
* VW MQB: Fixes for network location detection

* apply review suggestion

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

* FP back to 100ms; VIN state poll at 50Hz

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a4d03da29b3afe428c8add57b8bfb36b185dd12
2021-09-09 17:49:31 -07:00
Adeeb Shihadeh 52aaad7cad plannerd: remove last of liveMpc
old-commit-hash: da74a6cf73ab94999c6cb17d2598cdad2f1a27e0
2021-09-09 14:09:09 -07:00
Dean Lee 1d5ca75029 FrameReader: do not depend on Qtunit tests (#21379)
* add timeout and test case

* remove useless comment

* reduce to 1s

* fix gotframe fail when Duplicate POC in a sequence

* cleanup

* remove space

* fix
old-commit-hash: 81a128cd764ef74a0d50be464dea653f46f82998
2021-09-09 13:40:12 -07:00
Jason Young 103050b6c5 VW MQB: Fix for rare autoresume problems (#22176)
old-commit-hash: 11730b8077b8fc1e2ab0a850ab2a61c11e95481d
2021-09-09 13:21:04 -07:00
Adeeb Shihadeh c1a7b5dc06 bump version to 0.8.10
old-commit-hash: 0a75a6653754bdf320263ddccca0fd8087596e15
2021-09-08 15:07:55 -07:00
Dean Lee f4d8621be1 Qt/onroad: use CameraViewWidget (#21821)
* use CameraViewWidget

* no timer, updateFrame after frameSwapped

* use QOpenGLShaderProgram

* merge master

* remove that

* new function setStreamType

* continue

* remove showEvent

* cleanup

* cleanup

* little more

* fix black screen on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a034926264cd1025c69d6ceb3fe444965f960b75
2021-09-08 13:13:27 -07:00
Willem Melching 4844f8196d remove loggerd todo about encodeIdx decimation
old-commit-hash: 377fe84948c069c3f00824c06e0ae40f2aa2616e
2021-09-08 12:16:16 -07:00
Adeeb Shihadeh ef7b6016b1 updated: move final git reset before finalizing update (#22168)
old-commit-hash: d4b42042331fe797efa144d7e5646c92925386db
2021-09-08 10:47:38 -07:00
Adeeb Shihadeh 706542a7b2 nav: add button to clear current route (#22167)
* nav: add button to clear current route

* fix scroll

* retab

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d5475ba9462ad9c6a18db05e96a4fa9d3bf9772a
2021-09-07 17:39:24 -07:00
vanillagorillaa 1349e159e7 Honda e Port (#22108)
* Honda e Port

* Test route for Honda e

* remove

* Update README.md

* update values based on logs

* no need for Honda e specific DBC

* fix tests

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bcb8a11d7fe3868535bb7a66fcb767885c21a5e6
2021-09-07 16:46:44 -07:00
Dean Lee 5afeb1e0a3 panda: call libusb_free_device_list before libusb_exit (#22162)
old-commit-hash: a077b8a566c27d3625047c0f165b75906df45cff
2021-09-07 15:52:34 -07:00
Dean Lee 9a1fa559ba Panda::list: remove call to libusb_release_interface (#22157)
old-commit-hash: c61e7c7898256896b44a48a5094125aa542eee4b
2021-09-07 15:51:06 -07:00
AlexandreSato dd675058fc VW: Add FW for Brazilian Tiguan (#22143)
* Fingerprint brazilian VW TINGUAN_MK2

* Fingerprint for 2019 VW TINGUAN_MK2

* Update values.py

* Update values.py

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 83f5cdb18bbbf43e1964a684d9a656c1ab411b55
2021-09-07 15:22:34 -07:00
Dean Lee 31adaa3906 panda: fix dev_list may be freed twice on failure (#22161)
old-commit-hash: 83cd67ddb5a7f8fc649d38aa24130e38f230fe69
2021-09-07 15:12:38 -07:00
Adeeb Shihadeh 7fc6a76f04 reduce startup alert duration to 10s (#22163)
* reduce startup alert duration to 10s

* update refs

* update refs

* update refs
old-commit-hash: 1c750975fc179185b270f2063831431538d075d8
2021-09-07 13:40:31 -07:00
Jason Young 01a10fe8bd Fixes for C3 LTE connection being deleted (#22129)
* Fix for LTE connection being deleted

* also fix newConnection

* simplify
old-commit-hash: 251a074b20432e65d33c803a08d2c61826844737
2021-09-07 09:54:12 -07:00
Adeeb Shihadeh b3f5ad454e nav: set map widget parent
old-commit-hash: d5face26a82b717ce694aa848641b879076dfe1f
2021-09-06 22:51:09 -07:00
HaraldSchafer 745c8ce522 Speed only ACC control for NIDEC Odyssey (#22156)
* speed only nidec control

* mergeable
old-commit-hash: 449a28b9aa0e9307124961958b26c3a6125de023
2021-09-06 21:11:26 -07:00
Adeeb Shihadeh 5bb5760a78 Revert "VW MQB: Škoda Karoq Mk1 (#22133)"
This reverts commit 601b5d15b0e5f6b3af2651d1f3ca0f0e4461aa60.

old-commit-hash: 82bd060a68e454cf4913312504e4fed1dee9dd57
2021-09-06 20:50:02 -07:00
seven121-ym fdae7d1f47 Subaru: Add Japanese Impreza fingerprint (#22125)
* Update values.py

* crosstrek is a subset of new fp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 67ab1193d0b06b74d471e9959fb62a6993e1a6fe
2021-09-06 20:23:32 -07:00
Adeeb Shihadeh edc6f4ba7e agnos 1.5 (#22147)
* agnos 1.5

* bump version
old-commit-hash: 745de33941b8f1b00a0cac3bfc49f793918f2ea9
2021-09-06 20:17:37 -07:00
Willem Melching 83ce6c65bb actually set longControlState in actuators packet (#22155)
* actually set longControlState in actuators packet

* update ref
old-commit-hash: 4f84e1b2ad689fb43b06d28def2bd58abf722748
2021-09-06 20:14:01 -07:00
Jason Young 31f0f101d1 VW MQB: Škoda Karoq Mk1 (#22133)
old-commit-hash: 04c50e5c0c3bd4217605b435a821068ccdba21d7
2021-09-06 19:56:50 -07:00
Adeeb Shihadeh 984fc2008d handle missing routes better in test car models
old-commit-hash: 81006b03c209aa93211e65c2bbbe1376df3522e7
2021-09-06 19:21:06 -07:00
Willem Melching ab7d2f1d08 put LongControlState in CarControl.Actuators (#22154)
old-commit-hash: 21ae64868e2ab2d75cf77fa816087847b0496ade
2021-09-06 18:45:59 -07:00
Willem Melching 977cf8ca02 parameterize longitudinal actuator delay (#22153)
* paremetrize longitudinal actuator delay

* update ref
old-commit-hash: b39f6efa3fc91b3df851a133109ec18f598dce68
2021-09-06 17:56:52 -07:00
Willem Melching 6f5c9d5ad1 Clean up PID controller ACCEL_MIN/ACCEL_MAX (#22148)
* use ISO 15622:2018 limits in PID controller

* allow more for nidec

* limit PID inputs

* CP is not needed

* add GM

* not used

* update ref

* fix honda bosch
old-commit-hash: f941111dcdc9d651fe7169044fb7f52fd70f94ab
2021-09-06 17:29:32 -07:00
Willem Melching 9373ea74be map fixes, #22105 (#22152)
old-commit-hash: 576459ca4595e5baaf7db23a8873a9fb0bddd272
2021-09-06 16:53:09 -07:00
Willem Melching 9257bcf0a5 Extend Toyota braking to 3.5 m/s^2 according to ISO 15622:2018 (#22150)
* Extend toyota braking to 3.5 m/s^2 according to ISO 15622:2018

* bump panda
old-commit-hash: 4c37ea98b53a4df5cba632ca26c8807c09edc62f
2021-09-06 16:37:04 -07:00
Willem Melching c0c308b34e toyota: clean up accel command (#22145)
* toyota: clean up accel command

* revert comment

* fix HYST_GAP
old-commit-hash: ec71aa0458d7f655be1204e1fa7f3060c5d264d3
2021-09-06 16:12:58 -07:00
Dean Lee b1cfdaa5d6 modeldata.h: cleanup ecam_intrinsic_matrix (#22135)
old-commit-hash: 31c743b40ec73815b0b99d99a5e9028a46679488
2021-09-06 15:12:27 -07:00
Shroom 752b38c0ca Add Kia Niro EV 2019 fw signature. (#22141)
old-commit-hash: 37daec5deec72a8216b904836c55ba8aade23353
2021-09-06 15:11:45 -07:00
Adeeb Shihadeh 8b512c4b75 updated: log successful update swap (#22144)
old-commit-hash: da1aa2704603fc15d1a6bbbe1d603c15b6be0cf5
2021-09-06 13:48:19 -07:00
Dean Lee 6e5f390994 c3 keyboard: fix button status not updated (#22127)
old-commit-hash: e284f515b9842a761f2b15b8d2b466d59c722e24
2021-09-06 12:24:31 -07:00
Dean Lee 33b378419a loggerd: remove obsolete ethernetsniffer.py (#22139)
old-commit-hash: 8bca70878fbfeaa18ba7b0bcc17b1ba1baad1eb2
2021-09-06 12:11:19 -07:00
Jason Young d71c5fed45 VW MQB: Add FW for 2020 Volkswagen Golf GTI (#22136)
old-commit-hash: 4a79692092c3e2778c1b8744325f3739edd5f1e1
2021-09-06 12:10:34 -07:00
Jason Young 62df089c25 VW MQB: Add FW for 2020 Volkswagen Tiguan (#22140)
old-commit-hash: 387816de6c8bb0d5308c58a00b303ccf4d05aed2
2021-09-06 12:10:23 -07:00
Dean Lee 2dac83c02b loggerd: remove obsolete testraw.cc (#22138)
old-commit-hash: 5a8ca8b449fb3418d31ca325fb38d393413d83b8
2021-09-06 12:10:12 -07:00
Dean Lee 36839399f2 C3: Fix keyboard buttons on the right getting stuck in pressed state (#22050)
* fix keyboard state stuck

* remove popup flag

* update in time
old-commit-hash: 5fea367fc98dd427497a93a9d1e73b2c2d4a2271
2021-09-03 22:24:37 -07:00
Adeeb Shihadeh 50ea63cb76 no battery (#22124)
* no battery

* little more

* used for power monitoriong
old-commit-hash: 69fd26623846e6b82bfa4cb022bc84a8f2df1771
2021-09-03 22:17:57 -07:00
Robbe Derks a6e6667a3a Thermald thermal state cleanup (#21959)
* dumb controller 'tuned' on a desk

* reduce Ki

* fix prev_time bug

* reset integral on going onroad

* cleanup thermal detection logic

* more minor tuning

* use controls' PI controller

* get rid of bat_temp

* change if once more

* cleanup

* cleanup import order

* add back bat temp in this PR

* cleanup thermal status logic

* use offroad danger temp

* revert that

* use ordered dict for prev/next bands

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 86bceed57da78ff6b182d6dae46556958df28494
2021-09-03 17:19:11 -07:00
martinl bd7c90f233 Subaru: replace stock LKAS alerts with openpilot's (#21993)
* Add stock LKAS alert filters and openpilot LKAS state indicator

* Update ES_LKAS_State signals

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d32b1f703ce9606c46177ba70e4de5082d588d06
2021-09-03 16:53:49 -07:00
Adeeb Shihadeh 4a499114b2 only toggle sidebar visibility when clicking on the onroad widget
old-commit-hash: ee7682ae4a53d8b85872cf1f06e614c740edf9c9
2021-09-03 15:45:02 -07:00
Harald Schafer b7b349529a need to add gas here
old-commit-hash: 054c912b9a7169645f1f45dd95b73bf3876a78ad
2021-09-03 14:01:24 -07:00
John Belmonte 03f3b49f1e Honda CarState: clean up unnecessary instance attributes (#22117)
old-commit-hash: e7c49929009d3d9f443ec1c36f4551b42187c85e
2021-09-03 09:43:30 -07:00
Adeeb Shihadeh ffb5cc5882 remove old can replay script
old-commit-hash: bd79e7f023889b080cc513ef5dda80c04c1a2ced
2021-09-02 16:56:13 -07:00
Adam Boeglin 841091d6d7 Added fingerprint for 2018 Jeep Trackhawk (#21976)
* Added fingerprint for 2018 Jeep Trackhawk

When connecting the Comma3 to my Trackhawk with the latest jvePilot beta, it showed the error "Car Unrecognized: Dashcam Mode".

Obtaining this fingerprint resolved the issue. I don't know if it works with any other model years.

* merge fingerprints

* add missing vals

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b5daca388199b8d295f086a769dcaded471d4252
2021-09-02 15:12:43 -07:00
martinl c3d2766744 Subaru: universal signal for ACC speed units (#21995)
* Change ACC Speed Units signals for Global and Pre-Global

* Use Dash_State UNITS signal for Preglobal

* Change Subaru Preglobal to use Dash_State2 UNITS signal

* bump opendbc

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d3113fe01a16a25ec0c32b00cd53c08d98277dac
2021-09-02 14:21:35 -07:00