Commit Graph

7421 Commits

Author SHA1 Message Date
Jason Young
30b6c1b506 VW MQB: Add FW for 2014 SEAT Leon (#21166)
* Add FW for 2014 SEAT Leon (loetkolben)

* Update README

* Update RELEASES

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-06 14:32:50 -07:00
Adeeb Shihadeh
f04d6a9b3f log on startup when panda heartbeat is lost (#21151)
* log when heartbeat lost

* bump panda

* bump panda

* add to pandaState

* move that
2021-06-04 23:22:08 -07:00
Adeeb Shihadeh
96271f8bc3 log on startup if onroad flag set (#21150) 2021-06-04 22:04:26 -07:00
eFini
5c450026ef two minor bug fixes (#21134) 2021-06-04 21:20:02 -07:00
Jason Young
3a2893f11a VW MQB: Fix bug with HCA state handling (#21104)
* Improved HCA state and fault handling

* Apparently opendbc does an upper() on everything

* Update EPS HCA init state

* Make initial state "ready"
2021-06-04 19:12:42 -07:00
Adeeb Shihadeh
f2a9b13498 bump cereal 2021-06-04 16:06:57 -07:00
Adeeb Shihadeh
7d8480cffe Update VW process replay route (#21142) 2021-06-04 15:29:13 -07:00
Willem Melching
14f09e4ee1 Various nav improvements (#21133)
* various nav improvements

* use traffic aware routing

* read last position from param

* allow compute without gps when no route

* cleanup

* properly hide route

* set pitch
2021-06-04 13:45:42 +02:00
Willem Melching
72199e60d3 add FW versions 2021-06-04 10:37:00 +02:00
Willem Melching
de34d1a527 Determine lane chane direction in preLaneChange state (#21119)
* Determine lane chane direction in preLaneChange state

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-04 10:03:13 +02:00
Adeeb Shihadeh
2ddfd82913 limit icon flickering in UI (#21132) 2021-06-03 23:06:14 -07:00
Greg Hogan
6e300aaf57 hyundai: disable steering on all steer warnings (#20657)
* hyundai: set CF_Lkas_ToiFlt for wind down

* hyundai: disable steering on all steer warnings

* Revert "hyundai: set CF_Lkas_ToiFlt for wind down"

This reverts commit 065f0a996db9e52511013c7011ed95876966d134.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-03 15:34:25 -07:00
Adeeb Shihadeh
c76c30fa2d disable uploading raw by default (#21128) 2021-06-03 15:24:30 -07:00
Adeeb Shihadeh
66d01bd847 Remove unused CAN fingerprints (#21124)
* toyota

* honda
2021-06-03 15:22:40 -07:00
ShaneSmiskol
36beaf0d68 Add CLEAR_ON_IGNITION_OFF param type (#21121) 2021-06-03 15:21:53 -07:00
ShaneSmiskol
ebc294296a Toyota: Only use gas interceptor under 19 mph (#21101)
* pedal improvements

* pedal tuning under 19 mph, stock tuning above

* Correctly set tuning, and a temporary reference script

* looking good

* use minEnableSpeed

* minEnableSpeed will always be -1 if pedal since it's used for lockout

* add hysteresis around 19 mph for enabling pedal use

* parameterize minAccSpeed (enable speed is -1 when stop and go to allow engage, acc is min limit for acc commands)

* fix Prius later, 5 mph gap around switch speed

* define min_acc_speed in interface and CC

* use pedal gains up to 22 mph, and correctly use hysteresis above the switch speed

* only check this if pedal

* consolidate comment

* Change BP to switch tuning at 19 mph, define global constant

* Start at interceptor status

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

* update releases

* typo

* transition tuning from 19 to +3 mph

* change cmd names and update tuning comment

* Update RELEASES.md

* calculate new pedal gains

* little more clear

* even clearer

* same comment convention and hardcode new pedal tune

* bump cereal

* weird, got added in with the rebase

* three possible long tunings: pedal, improved non-pedal, and default non-pedal

* update refs

* future note: don't add submodules when rebasing!

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-03 15:11:10 -07:00
ShaneSmiskol
bf0e0ae00b Use hyundaiLegacy safety model for Hyundai Elantra (#21108) 2021-06-03 13:48:54 -07:00
ShaneSmiskol
e9e197eb3c Merge Accord trims (#21105)
* Merge unique Accord 1.5 fw versions

* remove all instances of ACCORD_15

* bump opendbc and update dbcs

* Switch between gearbox messages by detecting presence of gearbox msg

* both accord (2t) and accord hybrid use the same gearbox, 1.5t is the outlier

* default to GEARBOX

* add old name to migration

* bump opendbc

* update refs

* change msg name, bump cereal

* Update selfdrive/test/test_routes.py

* update ref

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-03 13:35:23 -07:00
HaraldSchafer
1c926d23da Many localizer resets alert (#21116)
* add excessive reset

* add alert

* add event
2021-06-03 09:26:53 -07:00
Josh Smith
77321dbac4 Add type hints, small cleanups (#21080)
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl

* unpack more efficiently

* minor improvements

* agnos.py match spec better

* manual_ctrl test missing queue arg

* fix incorrect type annotation

* queues are generic

* varname reuse resulting in incorrect type inference

* bytes().hex() rather than bytes.hex(bytes())

* a bit of type hinting stuff
2021-06-03 12:21:04 +02:00
Cruise Brantley
8220056252 Update Elantra 2021 FPv2 values (#21069)
* Updates to fpv2 values

* Removed x00 changes

* Update incorrect value

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Remove possible incorrect duplicate value

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-03 11:31:18 +02:00
Adeeb Shihadeh
a69e1715d4 Honda: cleanup enable logic (#20749) 2021-06-03 01:49:33 -07:00
Adeeb Shihadeh
895c054213 UI: rename developer -> software in settings (#21117) 2021-06-02 19:55:38 -07:00
Jason Young
fcc68d2a74 VW MQB: Add FW for 2017 Volkswagen Golf R (#21110) 2021-06-02 10:43:28 -07:00
Jason Young
83ca5a0d29 Cleanup carstate quoting styles (#21109)
* carstate quoting style: VW

* carstate quoting style: Chrysler

* carstate quoting style: Ford

* carstate quoting style: GM

* carstate quoting style: Honda

* carstate quoting style: Hyundai

* carstate quoting style: Mazda

* carstate quoting style: Nissan

* carstate quoting style: Subaru

* carstate quoting style: Soulless Appliances

* Sorry Honda!
2021-06-02 15:51:54 +02:00
Adeeb Shihadeh
dff92113d1 hyundai elantra test route (#21107)
* fix hyundai elantra

* test route

* not legacy
2021-06-01 22:26:59 -07:00
Adeeb Shihadeh
9876723169 Qt driverview (#21063)
* CameraViewWidget

* continue

* cleanup

* mv DriverViewWindow to ui/qt/offroad

* write IsDriverViewEnabled in showEvent/hideEvnet

* sm.update(0) in onTimeout()

* CameraViewWidget

* use unique_ptr for vipc_client

* virtual draw

* fix viewport

* connected()->frameReceived()

* bg_colors use QColor

* fix draw

* rebase master

* whitespace

* apply reviews

* indent

* like onroad

continue

* white space

* continue

* show == false

* remove border

* use widget's size

* fix shadowed rect

* cleanup driverview

* fix transform

* remove video_rect

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2021-06-01 20:59:41 -07:00
Adeeb Shihadeh
989ffa36e5 fix car params setter script 2021-06-01 20:59:03 -07:00
Adeeb Shihadeh
76d49e8410 fix onroad test 2021-06-01 19:32:50 -07:00
Adeeb Shihadeh
df1756dffa helper script to set car params 2021-06-01 19:30:17 -07:00
Adeeb Shihadeh
9740052378 Kona EV: send LFA MFA message (#20320) 2021-06-01 18:11:46 -07:00
Adeeb Shihadeh
65e1d8f633 UI: add button to check for updates (#21103)
* UI: add button to check for updates

* send signal

* this is better

* that's in the description

* revert that

Co-authored-by: Comma Device <device@comma.ai>
2021-06-01 17:45:04 -07:00
Adeeb Shihadeh
a0dabd94e9 use scons cache by default (#21102)
* always use scons cache

* cleanup
2021-06-01 17:12:32 -07:00
Willem Melching
867f7d39fd show 'failed to fetch update' when UpdateFailedCount is updated (#21096)
* show 'failed to fetch update' when UpdateFailedCount is updated

* update text
2021-06-01 17:03:37 -07:00
Adeeb Shihadeh
6fa573a2d6 fix camera error indices 2021-06-01 16:56:33 -07:00
Adeeb Shihadeh
c985291e16 show upload toggle on tici 2021-06-01 16:53:03 -07:00
Adeeb Shihadeh
2183582216 fix missing semicolon 2021-06-01 15:58:26 -07:00
Robert Hanna
6d8c985801 Add LEXUS_ESH_TSS2 to improved longitudinal tune (#21016)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-01 15:52:16 -07:00
Greg Hogan
1a7b0dfb3c athenad: send log files one at a time (#21092) 2021-06-01 15:49:01 -07:00
Erich Moraga
43fd045a3e Add several missing PILOT_2019 f/w (#21097)
* Add several missing PILOT_2019 f/w

`@Abu ali#8344` 2019 Honda Pilot DongleID/route 1631748f51929063|2021-05-30--00-12-43

* Update selfdrive/car/honda/values.py

Ah yeah, got distracted ;-)

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Properly sorted the f/w

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-01 15:47:09 -07:00
Adeeb Shihadeh
2680537b4b Merge Lexus UXH into TSS2 Corolla Hybrid (#21100) 2021-06-01 14:56:53 -07:00
jbates9011
909b848fa3 Car Port: Toyota Avalon Hybrid 2019 (#21082)
* Add 2019 Avalon Hybrid

* Rename variable

* Update values.py

Remove AVALONH fingerprint due to pending deprecation

* Add Avalon Hybrid 2019

* Add Avalon Hybrid 2019

* Update test_routes.py for Avalon Hybrid 2019

Co-authored-by: ShaneSmiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-01 14:51:28 -07:00
Willem Melching
129c760e4f deleter.py: delete boot and crash folders last (#21028) 2021-06-01 14:08:08 -07:00
ShaneSmiskol
07e4129edc Split Avalon 2016-18 and Avalon 2019+ (#21058)
* start to separate Avalon 2019+

* reverts #20824 (2020)...

and removes fw from a 2020 avalon

* revert 2020 fw from #20241

* revert 2021 fw from #19790

* bump opendbc, add smartDsu

* Add only removed fw from listed PRs above and from jryan's 2020

* bump opendbc to master

* comment out any non-original avalon fw

* new fw

* these 2016 (5 byte EPS_STATUS msg) Avalon fws are correct. comment out any 2019+ fw I haven't seen yet

* Add to release files

* these are good too

* nothing on 7e0 yet

* both have their engines on one address

* validated remaining fws! some from adeeb's, chris's, and kumar's PRs

* Add test route for Avalon 2019

* horrible

* Duplicate

* use nodsu dbc. Only difference is the addition of some signals that don't work, and max of BRAKE_PRESSURE is different

* Enablem 2019 Avalon test route
2021-06-01 12:41:24 -07:00
Jason Young
b12637d782 VW MQB: Add FW for 2015 Audi A3 (#21095)
* Add FW for 2015 Audi A3 (iamhtoo)

* Maintain sorting

* Maintain sorting
2021-06-01 18:11:02 +02:00
Dean Lee
65e0b1e699 Cleanup util.h (#20849)
* cleanup util.h

* fix build error:omx_encoder.cc:408: undefined reference to do_exit

* fix build error

* rebase master

* move helper functions back to util

* ExitHandleHelper->ExitHandlerHelper

* std::clamp

* struct ExitHandlerHelper to class

* rebase master

* cleanup

* restore ExitHandler

* prefer cassert
2021-06-01 16:53:12 +02:00
Willem Melching
f184bae8e0 ui: offroad -> while car is off 2021-06-01 14:41:58 +02:00
Willem Melching
e66bbec52b Update UI fixes/improvements (#21089)
* Show latest update time

* utc

* make work more than once

* cleanup

* whitespace

* only while offroad
2021-05-31 15:33:49 +02:00
Willem Melching
6fe7fcd6e9 Ensure Athena is not running during onroad tests (#21088)
* ensure Athena is not running during onroad tests

* do from unittest
2021-05-31 14:55:20 +02:00
robbederks
4a24d389c4 Add harness connection as requirement for powerdown (#21087)
* add harness connection as requirement for powerdown

* fix unittests
2021-05-31 13:32:26 +02:00