Commit Graph

4299 Commits

Author SHA1 Message Date
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: 9876723169ba0fd0c61169699caaa63246473e85
2021-06-01 20:59:41 -07:00
Adeeb Shihadeh dbc269d1a3 fix car params setter script
old-commit-hash: 989ffa36e547fb0f5e4e3ec82bd82911eff80dc1
2021-06-01 20:59:03 -07:00
Adeeb Shihadeh 58769b5550 fix onroad test
old-commit-hash: 76d49e84100269dd7ca75445a56835a3a7fa14ee
2021-06-01 19:32:50 -07:00
Adeeb Shihadeh 71994f4e64 helper script to set car params
old-commit-hash: df1756dffa287823baa11fe294dbb2d214ec383f
2021-06-01 19:30:17 -07:00
Adeeb Shihadeh 31a1fd79bf Kona EV: send LFA MFA message (#20320)
old-commit-hash: 9740052378dcec3d07bc0e8ccebc7aa18d478df3
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: 65e1d8f63345cf78f05a605a52313c6f520cf4a8
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: a0dabd94e9d04fdc772b3cb34b6cd016da29d971
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: 867f7d39fd6d8179d924cbc11ae60f1f628293e9
2021-06-01 17:03:37 -07:00
Adeeb Shihadeh d9026b7660 fix camera error indices
old-commit-hash: 6fa573a2d6e64cd37afd6218e6676acbe625a4c1
2021-06-01 16:56:33 -07:00
Adeeb Shihadeh ddf151dc30 show upload toggle on tici
old-commit-hash: c985291e167b430df2669d2fe1f0e2078a508c52
2021-06-01 16:53:03 -07:00
Adeeb Shihadeh c774eb6b64 fix missing semicolon
old-commit-hash: 21835822168d82dfdc82873bc488c0cfa89bae5b
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: 6d8c9858013e65758e1641b7c52c22d307fbc704
2021-06-01 15:52:16 -07:00
Greg Hogan 0401206b6b athenad: send log files one at a time (#21092)
old-commit-hash: 1a7b0dfb3c90d31668aefcb615cc7d38e03cd61b
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: 43fd045a3ecce82bf4bc4f2be9b58f15da87c80f
2021-06-01 15:47:09 -07:00
Adeeb Shihadeh 7ac7ec2094 Merge Lexus UXH into TSS2 Corolla Hybrid (#21100)
old-commit-hash: 2680537b4bf8f169b0233b88525e9fa8ee85a70f
2021-06-01 14:56:53 -07:00
Adeeb Shihadeh e19f758b91 add 2019 avalon hybrid to release notes
old-commit-hash: 12efe2a3cc9989284b686f7a6c1be12ad29d29fa
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: 909b848fa3a60322112ed5c96fc4b0e0aa15088e
2021-06-01 14:51:28 -07:00
Willem Melching 724e0f6e11 deleter.py: delete boot and crash folders last (#21028)
old-commit-hash: 129c760e4fad558bf3c5d03fb5fb8edfb76bfc8b
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: 07e4129edc5ebb870037c1a44d8a33a2faf8a98a
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: b12637d782e9c6de4db5065374406439e0739453
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: 65e0b1e699092355bfcb1f588a5a2ec949a34b77
2021-06-01 16:53:12 +02:00
Willem Melching f8c5f2f111 ui: offroad -> while car is off
old-commit-hash: f184bae8e0bcb9cb26dc2cdacac3d415f00486ae
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: e66bbec52b88abbf712fdd37be3f80bc00a3c7cf
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: 6fe7fcd6e9a31a0b5101c7b0fe7a2867168738b4
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: 4a24d389c47a6dff4f9524490355a852f701aaaf
2021-05-31 13:32:26 +02:00
Willem Melching 12bc7c529f timezoned: lower log levels
old-commit-hash: 0cd316fb29c0951590a3745f690af77c3c1ce152
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: a065eb694242046c0863ba96a604e63aff2eabbe
2021-05-31 12:15:31 +02:00
Willem Melching 345d9abe7c Disable Sentry exceptions from athena (#21085)
old-commit-hash: 6a04baffc452c808635b145d40099a7e5dc34e05
2021-05-31 11:07:22 +02:00
speedking456 9ffbacdae9 Add Kia Seltos fw versions (#21073)
old-commit-hash: 1a94a2cc8fc5449fbafd038b9fe5a0ca58accfe0
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: 8fbfa6382457df8adff1fbe7066e76731b1791d0
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: 9b213538cf92c8ece59e30fb49b4e053e8b13017
2021-05-30 13:44:07 -07:00
Maxime Desroches 88ae07b37b UI: add missing override identifiers (#21081)
old-commit-hash: 3c058e0b646c7918650c7779928ea67fe1627c9b
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: f50a13035a19f33a8bc6db8fd192ea8d96110eaf
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: 4605625960228044cc7735eeb4710255d579b49a
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: cf6d133638caac0d974209f92be9c200cdbcbf3f
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: e3f6360e45f3cc820c26a2f65e2bf382515db7e0
2021-05-28 21:15:45 -07:00
ShaneSmiskol 1b9a7c7759 Update Honda Fit route (#21065)
* print which car is causing issues, can't reproduce locally

* debug

* Update Fit route

* are there any counter fails now?

* revert
old-commit-hash: 1626017a4d3ff61c226a78458d721e7d212b6164
2021-05-28 18:01:01 -07:00
Jason Young 2531599813 VW MQB: SEAT Leon Mk3 (#21048)
* Add 2020 SEAT Leon (exclamation point ai)

* Add SEAT Leon to README

* Fix Leon model-year

* Add SEAT Leon test route

* thanks me!
old-commit-hash: 34b6c56021c2bc83971c8bd113913c280e24a69c
2021-05-28 13:53:50 -07:00
Jason Young bf9a2704f6 VW MQB: Add FW for 2018 Volkswagen Atlas (#21068)
old-commit-hash: 0c89ad98e5ea3d6226f63e46dc807e7c9d73a625
2021-05-28 11:45:53 -07:00
Willem Melching 921aa1f0a4 Mazda: remove CAN fingerprints (#21067)
old-commit-hash: 0f13a80e0bcad505c7ba4aadf8c3cd36449f505f
2021-05-28 16:53:12 +02:00
Jafar Al-Gharaibeh f108d93bc0 Mazda FP 2.0 support (#20879)
* Mazda FP 2.0 support

ECU FW for CX-5 2017 and Mazda3 2017

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Use standard UDS request/reponse, fix missing arg.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add CX-5 FW test

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* update/add FW FP

Current suported models:
  CX-5 2017/2021
  CX-9 2019/2020
  Mazda3 2017/2018

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add Cx-9 2019 FW FP

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Remove comments, remove TESTER_PRESENT_REQUEST from Mazda

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* add transmission ecu to startup test

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 824f93303d95695a761d10a00b0e9547274db6a9
2021-05-28 15:50:58 +02:00
Willem Melching c0984ebb97 cleanup brightness params (#21066)
old-commit-hash: 93424ec6b4f1fb18db61e27877f28fa0357c5455
2021-05-28 15:45:41 +02:00
Dean Lee a436b51e84 move c++ framereader to selfdrive/ui/replay (#21053)
old-commit-hash: bb5bcc7e49b8a1ae04e951ffc03848432edd8859
2021-05-27 16:00:11 -07:00
ShaneSmiskol fa75ee24f2 Clean up test_routes file (#21056)
* remove no enableCamera routes and add to missing

* use a named tuple

* split makes by \n, fix reference to routes

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e7afb262033b3e7a5bfd05d54e1f63c1840d7428
2021-05-27 15:29:48 -07:00
Adeeb Shihadeh 9b9a9c1c2c no jenkins on hotfix branches
old-commit-hash: 4970e2fba37048971e112131656d16039fab3d34
2021-05-27 15:03:23 -07:00
Adeeb Shihadeh f53936f904 Revert "updated: fix surfacing exceptions and errors (#20754)"
This reverts commit 07006949d3734b433a8b9de60440523f5e760d88.

old-commit-hash: 967489bdaae415aeee3ff73625c16e4b20d7e063
2021-05-27 14:35:52 -07:00
Adeeb Shihadeh 82a82ce9b6 remove test too
old-commit-hash: f7cf66867bff75f5b53b6d0a2919a67e6e22242f
2021-05-27 12:37:52 -07:00
Adeeb Shihadeh e35b30c9dd calibrationd: remove support for json params
old-commit-hash: 95380969ea640c42968546a12133a6ebb8ca03fa
2021-05-27 12:36:42 -07:00
ShaneSmiskol c2b41b8b55 Add missing Hondas and Toyotas to tests (#21044)
* Add new route for Acura ILX

* Add Lexus RXH

* Add CRV Hybrid route

* Add Insight route

* update sync script

* Add Avalon route with rlogs

* Update CRV route

* Update Pilot 2019 route

* Add Camry Hybrid 2018 route

* Add 2017 Highlander

* Add 2018 Highlander Hybrid

* Add TSS2 Highlander Hybrid

* Add Accord Hybrid

* Repalce old Accord

* Update Lexus RXH route with logs, CHR+H, skip Avalon for now (fixup in another PR)

* Add CRV

* How did I miss this!

* add exception for CRV Hybrid

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 997319fac19836a6b528b5b0d73ba6dfe0e3fb7f
2021-05-27 12:20:14 -07:00
Adeeb Shihadeh c8f01a6728 use build.py in build_devel.sh
old-commit-hash: 8d619e8dd2f63411b6f7da57d41724c84915696b
2021-05-26 20:26:43 -07:00