Commit graph

3715 commits

Author SHA1 Message Date
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
Willem Melching 0cd316fb29 timezoned: lower log levels 2021-05-31 12:17:52 +02:00
Willem Melching a065eb6942
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
2021-05-31 12:15:31 +02:00
Willem Melching 6a04baffc4
Disable Sentry exceptions from athena (#21085) 2021-05-31 11:07:22 +02:00
speedking456 1a94a2cc8f
Add Kia Seltos fw versions (#21073) 2021-05-30 17:03:16 -07:00
Adeeb Shihadeh 8fbfa63824
test model timings in CI (#21075)
* test model timings in CI

* fix model packet name
2021-05-30 14:10:29 -07:00
Jason Young 9b213538cf
VW MQB: Add FW for 2017 SEAT Leon (#21077)
* Add FW for 2017 SEAT Leon (fodys)

* Extend Leon MY range in README and RELEASES
2021-05-30 13:44:07 -07:00
Maxime Desroches 3c058e0b64
UI: add missing override identifiers (#21081) 2021-05-30 10:12:11 +02:00
ShaneSmiskol f50a13035a
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!
2021-05-29 00:02:04 -07:00
ShaneSmiskol 4605625960
Add some missing Hyundai routes (#21072)
* Add Forte route

* All other Hyundai are mia
2021-05-28 23:25:46 -07:00
Adeeb Shihadeh cf6d133638
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
2021-05-28 23:08:08 -07:00
Maxime Desroches e3f6360e45
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>
2021-05-28 21:15:45 -07:00
ShaneSmiskol 1626017a4d
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
2021-05-28 18:01:01 -07:00
Jason Young 34b6c56021
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!
2021-05-28 13:53:50 -07:00
Jason Young 0c89ad98e5
VW MQB: Add FW for 2018 Volkswagen Atlas (#21068) 2021-05-28 11:45:53 -07:00
Willem Melching 0f13a80e0b
Mazda: remove CAN fingerprints (#21067) 2021-05-28 16:53:12 +02:00
Jafar Al-Gharaibeh 824f93303d
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>
2021-05-28 15:50:58 +02:00
Willem Melching 93424ec6b4
cleanup brightness params (#21066) 2021-05-28 15:45:41 +02:00
Dean Lee bb5bcc7e49
move c++ framereader to selfdrive/ui/replay (#21053) 2021-05-27 16:00:11 -07:00
ShaneSmiskol e7afb26203
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>
2021-05-27 15:29:48 -07:00
Adeeb Shihadeh 4970e2fba3 no jenkins on hotfix branches 2021-05-27 15:03:23 -07:00
Adeeb Shihadeh 967489bdaa Revert "updated: fix surfacing exceptions and errors (#20754)"
This reverts commit 3c9e46d8a2.
2021-05-27 14:35:52 -07:00
Adeeb Shihadeh f7cf66867b remove test too 2021-05-27 12:37:52 -07:00
Adeeb Shihadeh 95380969ea calibrationd: remove support for json params 2021-05-27 12:36:42 -07:00
ShaneSmiskol 997319fac1
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>
2021-05-27 12:20:14 -07:00
Adeeb Shihadeh 8d619e8dd2 use build.py in build_devel.sh 2021-05-26 20:26:43 -07:00
Adeeb Shihadeh e1d7a1af10 fix low memory on tici 2021-05-26 19:47:10 -07:00
Greg Hogan ea0f7e2797
athena: version endpoint (#21045)
* athena: version endpoint

* get_version function

* more explicit version validation
2021-05-26 18:33:27 -07:00
Ewan a844c60f14
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
2021-05-26 17:54:44 -07:00
Adeeb Shihadeh 8fdbbdef73
remove oneplus camera params (#21047)
* remove oneplus camera params

* align
2021-05-26 17:46:43 -07:00
ShaneSmiskol a457144357
Improve focus when using snapshot (#21031) 2021-05-26 17:17:04 -07:00
Adeeb Shihadeh b174843e3a add octavia to release notes 2021-05-26 17:14:27 -07:00
Jason Young 4de1655d20
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
2021-05-26 17:08:33 -07:00
Jason Young 182b00896c
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
2021-05-26 14:02:42 -07:00
Willem Melching 23789c9d4e
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
2021-05-26 12:21:11 -07:00
Willem Melching 79a2f06760
LSM6DS3 fix gyro scale (#21040) 2021-05-26 15:44:51 +02:00
Willem Melching 476ee91845
fix route framereader when using signed urls (#21029) 2021-05-26 11:36:53 +02:00
Willem Melching 6340c2a996
bmx055 magnetometer fix reference frame (#21026) 2021-05-25 21:53:15 -07:00
Adeeb Shihadeh 189ee62d00 tici, it's just like cici 2021-05-25 20:36:50 -07:00
Adeeb Shihadeh debea351fa
NEOS 17 (#21032) 2021-05-25 16:18:18 -07:00
Adeeb Shihadeh 732006b0bc set github username in key setup script 2021-05-25 15:45:29 -07:00
Adeeb Shihadeh c736b7e5bb chrysler pacifica 2020 fingerprint values 2021-05-25 14:23:05 -07:00
Adeeb Shihadeh 21d4f8743a clear more big dirs on jenkins devices 2021-05-25 11:44:49 -07:00
Willem Melching 8f3e395a1f athena: log before trying to connect 2021-05-25 17:47:20 +02:00
Willem Melching f5af6becc8 bump cereal 2021-05-25 17:35:10 +02:00
Willem Melching 6e22f16ddb
loggerd: put signal in end of route sentinel (#21025) 2021-05-25 17:34:40 +02:00