Commit Graph

10759 Commits

Author SHA1 Message Date
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
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: 1626017a4d
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: 34b6c56021
2021-05-28 13:53:50 -07:00
Jason Young bf9a2704f6 VW MQB: Add FW for 2018 Volkswagen Atlas (#21068)
old-commit-hash: 0c89ad98e5
2021-05-28 11:45:53 -07:00
Willem Melching 921aa1f0a4 Mazda: remove CAN fingerprints (#21067)
old-commit-hash: 0f13a80e0b
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: 824f93303d
2021-05-28 15:50:58 +02:00
Willem Melching c0984ebb97 cleanup brightness params (#21066)
old-commit-hash: 93424ec6b4
2021-05-28 15:45:41 +02:00
Dean Lee a436b51e84 move c++ framereader to selfdrive/ui/replay (#21053)
old-commit-hash: bb5bcc7e49
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: e7afb26203
2021-05-27 15:29:48 -07:00
Adeeb Shihadeh f53936f904 Revert "updated: fix surfacing exceptions and errors (#20754)"
This reverts commit 07006949d3734b433a8b9de60440523f5e760d88.

old-commit-hash: 967489bdaa
2021-05-27 14:35:52 -07:00
Adeeb Shihadeh 82a82ce9b6 remove test too
old-commit-hash: f7cf66867b
2021-05-27 12:37:52 -07:00
Adeeb Shihadeh e35b30c9dd calibrationd: remove support for json params
old-commit-hash: 95380969ea
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: 997319fac1
2021-05-27 12:20:14 -07:00
Adeeb Shihadeh bf9f1f3871 fix low memory on tici
old-commit-hash: e1d7a1af10
2021-05-26 19:47:10 -07:00
Greg Hogan a86a549b5d athena: version endpoint (#21045)
* athena: version endpoint

* get_version function

* more explicit version validation
old-commit-hash: ea0f7e2797
2021-05-26 18:33:27 -07:00
Ewan e03be02f37 2019 Nissan Altima fingerprint (#20969)
* Update values.py

Add 2019 Altima support (may be specific to VC-Turbo model, do not have NA model to compare to)

* Update README.md

Add 2019 altima

* Update values.py

Combine fingerprint of 2020 + 2019

* Update values.py

* Update values.py

Sort fingerprint values numerically by key
old-commit-hash: a844c60f14
2021-05-26 17:54:44 -07:00
Adeeb Shihadeh 39d83ba32c remove oneplus camera params (#21047)
* remove oneplus camera params

* align
old-commit-hash: 8fdbbdef73
2021-05-26 17:46:43 -07:00
ShaneSmiskol 75b1c7c4ba Improve focus when using snapshot (#21031)
old-commit-hash: a457144357
2021-05-26 17:17:04 -07:00
Jason Young f86abe47ce VW MQB: Škoda Octavia Mk3 (#21013)
* Add Skoda Octavia (cben, Saber422)

* Add Skoda Octavia to README

* Add to test_routes.py

* Remove non-viable test route

* Add test route for Octavia
old-commit-hash: 4de1655d20
2021-05-26 17:08:33 -07:00
Jason Young 24a9b9248c Update CI tests for CAN fingerprinting deprecation (#21043)
* Start refactor of CI tests for FPv1 deprecation

* Fix test_car_interfaces

* Touch up comment

* Smaller diff
old-commit-hash: 182b00896c
2021-05-26 14:02:42 -07:00
Willem Melching 6afdeb58f1 Compute on-road screen brightness based on camera exposure (#21024)
* Compute screen brightness based on camera exposure

* fix up scaling

* remove light sensor completely

* fix gain calculation

* cleanup

* remove comment

* bump offroad brightness
old-commit-hash: 23789c9d4e
2021-05-26 12:21:11 -07:00
Willem Melching 9b54578c9a LSM6DS3 fix gyro scale (#21040)
old-commit-hash: 79a2f06760
2021-05-26 15:44:51 +02:00
Willem Melching c81ffbf34b bmx055 magnetometer fix reference frame (#21026)
old-commit-hash: 6340c2a996
2021-05-25 21:53:15 -07:00
Adeeb Shihadeh 5a80518b52 tici, it's just like cici
old-commit-hash: 189ee62d00
2021-05-25 20:36:50 -07:00
Adeeb Shihadeh d67b194790 chrysler pacifica 2020 fingerprint values
old-commit-hash: c736b7e5bb
2021-05-25 14:23:05 -07:00
Adeeb Shihadeh fa82480042 clear more big dirs on jenkins devices
old-commit-hash: 21d4f8743a
2021-05-25 11:44:49 -07:00
Willem Melching a46e3c5cb4 athena: log before trying to connect
old-commit-hash: 8f3e395a1f
2021-05-25 17:47:20 +02:00
Willem Melching 80ec32bcf3 loggerd: put signal in end of route sentinel (#21025)
old-commit-hash: 6e22f16ddb
2021-05-25 17:34:40 +02:00
Willem Melching 9754f9fdc5 manager.py: fix UNREGISTERED_DONGLE_ID check (#21027)
old-commit-hash: ba5d6bbd70
2021-05-25 17:26:25 +02:00
Willem Melching 86ff70a234 fix test_fw_query_on_routes.py
old-commit-hash: 62545f6c2b
2021-05-25 13:25:42 +02:00
dingyf12593 12a114dd6c VW MQB: Add FW values for 2018 Volkswagen Golf (#21020)
old-commit-hash: a6cfe90436
2021-05-25 12:37:23 +02:00
Adeeb Shihadeh bb70ddcbfe Move CAN fingerprinting behind community features (#20993)
* Move CAN fingerprinting behind community features

* fix typo

* fix startup test

* fix
old-commit-hash: 726fb9d501
2021-05-24 19:21:58 -07:00
Jason Young 56612e7152 VW MQB: Rescue some FPv1 stragglers (#21019)
* Add FW, model-year for Audi A3 (Flyer)

* Add FW for 2016 Passat B8 (jwebb)
old-commit-hash: df93263a81
2021-05-24 19:17:51 -07:00
Dean Lee 7b253433f2 Refactor FrameReader (#21002)
* Refactor FrameReader

* decodeThread

* delete frame

* remove joined

* continue

* less diff

* robust cv wait

* cache fist 15 frames

* notify_all

* rename variables

* need call avformat_find_stream_info before dump_format

* get width&height from codec

* use std::string

* delete in removeSegment

* use std::mutex in lockmgr_cb

* fix wrong min/max

* no get in process

* cleanup

* always notify decodeThread to do prefetch
old-commit-hash: 5540dcae78
2021-05-24 17:01:15 -07:00
martinl c2a95c9d2c Fix Subaru Preglobal create_es_throttle_control (#21010)
old-commit-hash: aa0c2a1e7f
2021-05-24 15:36:31 -07:00