Commit Graph

4313 Commits

Author SHA1 Message Date
ShaneSmiskol ddff72ccea Add CLEAR_ON_IGNITION_OFF param type (#21121)
old-commit-hash: 36beaf0d68
2021-06-03 15:21:53 -07:00
ShaneSmiskol a830c71a03 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>
old-commit-hash: ebc294296a
2021-06-03 15:11:10 -07:00
Adeeb Shihadeh 801db6f615 add inputs package to Pipfile (#21122)
old-commit-hash: 73ea28f7ef
2021-06-03 14:57:56 -07:00
ShaneSmiskol 15a4851969 Use hyundaiLegacy safety model for Hyundai Elantra (#21108)
old-commit-hash: bf0e0ae00b
2021-06-03 13:48:54 -07:00
ShaneSmiskol eca70237fd 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>
old-commit-hash: e9e197eb3c
2021-06-03 13:35:23 -07:00
Willem Melching 277176c2ce bump cereal
old-commit-hash: 73ce8f4c18
2021-06-03 19:55:38 +02:00
HaraldSchafer f0f36a0a06 Many localizer resets alert (#21116)
* add excessive reset

* add alert

* add event
old-commit-hash: 1c926d23da
2021-06-03 09:26:53 -07:00
Josh Smith 2cae3a3799 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
old-commit-hash: 77321dbac4
2021-06-03 12:21:04 +02:00
Cruise Brantley 32139ae377 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>
old-commit-hash: 8220056252
2021-06-03 11:31:18 +02:00
Adeeb Shihadeh d1422c20fc Honda: cleanup enable logic (#20749)
old-commit-hash: a69e1715d4
2021-06-03 01:49:33 -07:00
Adeeb Shihadeh 53be19e8bd UI: rename developer -> software in settings (#21117)
old-commit-hash: 895c054213
2021-06-02 19:55:38 -07:00
Jason Young fd9763b810 VW MQB: Add FW for 2017 Volkswagen Golf R (#21110)
old-commit-hash: fcc68d2a74
2021-06-02 10:43:28 -07:00
Jason Young 51db9216f2 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!
old-commit-hash: 83ca5a0d29
2021-06-02 15:51:54 +02:00
Adeeb Shihadeh c887526e9a hyundai elantra test route (#21107)
* fix hyundai elantra

* test route

* not legacy
old-commit-hash: dff92113d1
2021-06-01 22:26:59 -07:00
Adeeb Shihadeh 56e9dbcf99 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>
old-commit-hash: 9876723169
2021-06-01 20:59:41 -07:00
Adeeb Shihadeh dbc269d1a3 fix car params setter script
old-commit-hash: 989ffa36e5
2021-06-01 20:59:03 -07:00
Adeeb Shihadeh 58769b5550 fix onroad test
old-commit-hash: 76d49e8410
2021-06-01 19:32:50 -07:00
Adeeb Shihadeh 71994f4e64 helper script to set car params
old-commit-hash: df1756dffa
2021-06-01 19:30:17 -07:00
Adeeb Shihadeh 31a1fd79bf Kona EV: send LFA MFA message (#20320)
old-commit-hash: 9740052378
2021-06-01 18:11:46 -07:00
Adeeb Shihadeh 04e5fbe15e 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>
old-commit-hash: 65e1d8f633
2021-06-01 17:45:04 -07:00
Adeeb Shihadeh fb62002e92 use scons cache by default (#21102)
* always use scons cache

* cleanup
old-commit-hash: a0dabd94e9
2021-06-01 17:12:32 -07:00
Willem Melching 387d5b88a0 show 'failed to fetch update' when UpdateFailedCount is updated (#21096)
* show 'failed to fetch update' when UpdateFailedCount is updated

* update text
old-commit-hash: 867f7d39fd
2021-06-01 17:03:37 -07:00
Adeeb Shihadeh d9026b7660 fix camera error indices
old-commit-hash: 6fa573a2d6
2021-06-01 16:56:33 -07:00
Adeeb Shihadeh ddf151dc30 show upload toggle on tici
old-commit-hash: c985291e16
2021-06-01 16:53:03 -07:00
Adeeb Shihadeh c774eb6b64 fix missing semicolon
old-commit-hash: 2183582216
2021-06-01 15:58:26 -07:00
Robert Hanna f7a928ace3 Add LEXUS_ESH_TSS2 to improved longitudinal tune (#21016)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6d8c985801
2021-06-01 15:52:16 -07:00
Greg Hogan 0401206b6b athenad: send log files one at a time (#21092)
old-commit-hash: 1a7b0dfb3c
2021-06-01 15:49:01 -07:00
Erich Moraga 76f49342b4 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>
old-commit-hash: 43fd045a3e
2021-06-01 15:47:09 -07:00
Adeeb Shihadeh 7ac7ec2094 Merge Lexus UXH into TSS2 Corolla Hybrid (#21100)
old-commit-hash: 2680537b4b
2021-06-01 14:56:53 -07:00
Adeeb Shihadeh e19f758b91 add 2019 avalon hybrid to release notes
old-commit-hash: 12efe2a3cc
2021-06-01 14:52:58 -07:00
jbates9011 7bf71a3e3d 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>
old-commit-hash: 909b848fa3
2021-06-01 14:51:28 -07:00
Willem Melching 724e0f6e11 deleter.py: delete boot and crash folders last (#21028)
old-commit-hash: 129c760e4f
2021-06-01 14:08:08 -07:00
ShaneSmiskol 1735252c7d 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
old-commit-hash: 07e4129edc
2021-06-01 12:41:24 -07:00
Jason Young 724323293e VW MQB: Add FW for 2015 Audi A3 (#21095)
* Add FW for 2015 Audi A3 (iamhtoo)

* Maintain sorting

* Maintain sorting
old-commit-hash: b12637d782
2021-06-01 18:11:02 +02:00
Dean Lee 497472932a 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
old-commit-hash: 65e0b1e699
2021-06-01 16:53:12 +02:00
Willem Melching f8c5f2f111 ui: offroad -> while car is off
old-commit-hash: f184bae8e0
2021-06-01 14:41:58 +02:00
Willem Melching 8c3d2ed644 Update UI fixes/improvements (#21089)
* Show latest update time

* utc

* make work more than once

* cleanup

* whitespace

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

* do from unittest
old-commit-hash: 6fe7fcd6e9
2021-05-31 14:55:20 +02:00
robbederks 5441d1f348 Add harness connection as requirement for powerdown (#21087)
* add harness connection as requirement for powerdown

* fix unittests
old-commit-hash: 4a24d389c4
2021-05-31 13:32:26 +02:00
Willem Melching 12bc7c529f timezoned: lower log levels
old-commit-hash: 0cd316fb29
2021-05-31 12:17:52 +02:00
Willem Melching a8c569f2da Add more logging to athena threads (#21086)
* add more logging to athena threads

* add debug to local proxy

* log athena method calls

* data is a json string
old-commit-hash: a065eb6942
2021-05-31 12:15:31 +02:00
Willem Melching 345d9abe7c Disable Sentry exceptions from athena (#21085)
old-commit-hash: 6a04baffc4
2021-05-31 11:07:22 +02:00
speedking456 9ffbacdae9 Add Kia Seltos fw versions (#21073)
old-commit-hash: 1a94a2cc8f
2021-05-30 17:03:16 -07:00
Adeeb Shihadeh 5769be2014 test model timings in CI (#21075)
* test model timings in CI

* fix model packet name
old-commit-hash: 8fbfa63824
2021-05-30 14:10:29 -07:00
Jason Young 3355bc1381 VW MQB: Add FW for 2017 SEAT Leon (#21077)
* Add FW for 2017 SEAT Leon (fodys)

* Extend Leon MY range in README and RELEASES
old-commit-hash: 9b213538cf
2021-05-30 13:44:07 -07:00
Maxime Desroches 88ae07b37b UI: add missing override identifiers (#21081)
old-commit-hash: 3c058e0b64
2021-05-30 10:12:11 +02:00
ShaneSmiskol 39e347a837 Add missing Chrysler routes (#21074)
* Add missing Chrysler models

* always skip problem chryslers for now (above 150 threshold)

* test if chrysler or jeep

* use carName...properly!
old-commit-hash: f50a13035a
2021-05-29 00:02:04 -07:00
ShaneSmiskol 4433f72117 Add some missing Hyundai routes (#21072)
* Add Forte route

* All other Hyundai are mia
old-commit-hash: 4605625960
2021-05-28 23:25:46 -07:00
Adeeb Shihadeh c7c49e8e35 fix up model tests + tools (#21071)
* unlogger: send yuv stream

* fix up model test tools

* fix unlogger

* rename model replay

* bump cereal

* test in actions

* no ci for now
old-commit-hash: cf6d133638
2021-05-28 23:08:08 -07:00
Maxime Desroches 79931cc594 UI: Updated in settings (#21051)
* last update time + release notes

* remove test

* revert to previous constructor

* change label name

* time format for last update check

* cleanup

* add time formatting function

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e3f6360e45
2021-05-28 21:15:45 -07:00