Commit Graph

4201 Commits

Author SHA1 Message Date
Willem Melching
377fe84948 remove loggerd todo about encodeIdx decimation 2021-09-08 12:16:16 -07:00
Adeeb Shihadeh
d4b4204233 updated: move final git reset before finalizing update (#22168) 2021-09-08 10:47:38 -07:00
Adeeb Shihadeh
d5475ba946 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>
2021-09-07 17:39:24 -07:00
vanillagorillaa
bcb8a11d7f 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>
2021-09-07 16:46:44 -07:00
Dean Lee
a077b8a566 panda: call libusb_free_device_list before libusb_exit (#22162) 2021-09-07 15:52:34 -07:00
Dean Lee
c61e7c7898 Panda::list: remove call to libusb_release_interface (#22157) 2021-09-07 15:51:06 -07:00
AlexandreSato
83f5cdb18b 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>
2021-09-07 15:22:34 -07:00
Dean Lee
83cd67ddb5 panda: fix dev_list may be freed twice on failure (#22161) 2021-09-07 15:12:38 -07:00
Adeeb Shihadeh
1c750975fc reduce startup alert duration to 10s (#22163)
* reduce startup alert duration to 10s

* update refs

* update refs

* update refs
2021-09-07 13:40:31 -07:00
Jason Young
251a074b20 Fixes for C3 LTE connection being deleted (#22129)
* Fix for LTE connection being deleted

* also fix newConnection

* simplify
2021-09-07 09:54:12 -07:00
Adeeb Shihadeh
d5face26a8 nav: set map widget parent 2021-09-06 22:51:09 -07:00
HaraldSchafer
449a28b9aa Speed only ACC control for NIDEC Odyssey (#22156)
* speed only nidec control

* mergeable
2021-09-06 21:11:26 -07:00
Adeeb Shihadeh
82bd060a68 Revert "VW MQB: Škoda Karoq Mk1 (#22133)"
This reverts commit 04c50e5c0c.
2021-09-06 20:50:02 -07:00
seven121-ym
67ab1193d0 Subaru: Add Japanese Impreza fingerprint (#22125)
* Update values.py

* crosstrek is a subset of new fp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-06 20:23:32 -07:00
Adeeb Shihadeh
745de33941 agnos 1.5 (#22147)
* agnos 1.5

* bump version
2021-09-06 20:17:37 -07:00
Willem Melching
4f84e1b2ad actually set longControlState in actuators packet (#22155)
* actually set longControlState in actuators packet

* update ref
2021-09-06 20:14:01 -07:00
Jason Young
04c50e5c0c VW MQB: Škoda Karoq Mk1 (#22133) 2021-09-06 19:56:50 -07:00
Adeeb Shihadeh
81006b03c2 handle missing routes better in test car models 2021-09-06 19:21:06 -07:00
Willem Melching
21ae64868e put LongControlState in CarControl.Actuators (#22154) 2021-09-06 18:45:59 -07:00
Willem Melching
b39f6efa3f parameterize longitudinal actuator delay (#22153)
* paremetrize longitudinal actuator delay

* update ref
2021-09-06 17:56:52 -07:00
Willem Melching
f941111dcd 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
2021-09-06 17:29:32 -07:00
Willem Melching
576459ca45 map fixes, #22105 (#22152) 2021-09-06 16:53:09 -07:00
Willem Melching
4c37ea98b5 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
2021-09-06 16:37:04 -07:00
Willem Melching
ec71aa0458 toyota: clean up accel command (#22145)
* toyota: clean up accel command

* revert comment

* fix HYST_GAP
2021-09-06 16:12:58 -07:00
Dean Lee
31c743b40e modeldata.h: cleanup ecam_intrinsic_matrix (#22135) 2021-09-06 15:12:27 -07:00
Shroom
37daec5dee Add Kia Niro EV 2019 fw signature. (#22141) 2021-09-06 15:11:45 -07:00
Adeeb Shihadeh
da1aa27046 updated: log successful update swap (#22144) 2021-09-06 13:48:19 -07:00
Dean Lee
e284f515b9 c3 keyboard: fix button status not updated (#22127) 2021-09-06 12:24:31 -07:00
Dean Lee
8bca70878f loggerd: remove obsolete ethernetsniffer.py (#22139) 2021-09-06 12:11:19 -07:00
Jason Young
4a79692092 VW MQB: Add FW for 2020 Volkswagen Golf GTI (#22136) 2021-09-06 12:10:34 -07:00
Jason Young
387816de6c VW MQB: Add FW for 2020 Volkswagen Tiguan (#22140) 2021-09-06 12:10:23 -07:00
Dean Lee
5a8ca8b449 loggerd: remove obsolete testraw.cc (#22138) 2021-09-06 12:10:12 -07:00
Dean Lee
5fea367fc9 C3: Fix keyboard buttons on the right getting stuck in pressed state (#22050)
* fix keyboard state stuck

* remove popup flag

* update in time
2021-09-03 22:24:37 -07:00
Adeeb Shihadeh
69fd266238 no battery (#22124)
* no battery

* little more

* used for power monitoriong
2021-09-03 22:17:57 -07:00
Robbe Derks
86bceed57d 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>
2021-09-03 17:19:11 -07:00
martinl
d32b1f703c 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>
2021-09-03 16:53:49 -07:00
Adeeb Shihadeh
ee7682ae4a only toggle sidebar visibility when clicking on the onroad widget 2021-09-03 15:45:02 -07:00
Harald Schafer
054c912b9a need to add gas here 2021-09-03 14:01:24 -07:00
John Belmonte
e7c4992900 Honda CarState: clean up unnecessary instance attributes (#22117) 2021-09-03 09:43:30 -07:00
Adeeb Shihadeh
bd79e7f023 remove old can replay script 2021-09-02 16:56:13 -07:00
Adam Boeglin
b5daca3881 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>
2021-09-02 15:12:43 -07:00
martinl
d3113fe01a 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>
2021-09-02 14:21:35 -07:00
Dean Lee
7db04ab0c5 ONNXModel: use the actual model file name (#22084)
* use the actual file name

* use macro

* fix typo

* continue

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:21:15 -07:00
HaraldSchafer
ebf2a2279d Prevent PID windup on Honda NIDEC (#22112)
* add higher set speed

* freeze when close to cruise

* dont bias this

* higher set speed

* start high

* 2mph might be needed

* better condition

* limit accel windup like this

* wrong name
2021-09-02 14:16:44 -07:00
John Belmonte
44c546c92a Honda HR-V: set standstill (#22009)
* fix apparent Honda HR-V bugs

  * CarState.standstill was not set
  * CarState.gas was not derived from GAS_PEDAL/CAR_GAS

* revert gas change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:05:00 -07:00
Adeeb Shihadeh
145fd88deb fetch all branches on internal installer 2021-09-02 12:09:42 -07:00
HaraldSchafer
c93f3b10f7 no more old nidec (#22104) 2021-09-02 12:05:03 -07:00
Jason Young
619beb3942 VW MQB: Mechanical sort of UDS FW values (#22111) 2021-09-02 10:26:48 -07:00
Jason Young
d9e2ecb01c VW MQB: Add FW for 2017 Volkswagen Golf (#22110) 2021-09-02 09:10:21 -07:00
Willem Melching
48035e9535 Disable encoder sync logic if only one rotate camera present (#22107)
* disable sync logic if only one rotate camera

* consistent brackets
2021-09-01 23:08:06 -07:00