Commit Graph

2291 Commits (263d23ff3ccc827af9e11797f81600ddcadbf3c6)

Author SHA1 Message Date
Adeeb Shihadeh 263d23ff3c fix up waste script 2020-12-18 16:12:58 -08:00
Adeeb Shihadeh 97b2eae01f tici: implement sound check 2020-12-18 15:00:12 -08:00
Adeeb Shihadeh 71d317872a
fix startup spinner for non-C2 (#19536)
* limit build progress

* cleanup

* types

* comment
2020-12-18 14:47:25 -08:00
Adeeb Shihadeh 5bd6533864 bump cereal 2020-12-18 13:46:29 -08:00
Adeeb Shihadeh 2882c6ac6b apk gets built in CI now 2020-12-18 13:31:04 -08:00
Adeeb Shihadeh d61b664785 more external cleanup 2020-12-18 13:28:50 -08:00
Adeeb Shihadeh a4cec444eb bump version to 0.8.2 2020-12-18 12:23:59 -08:00
Willem Melching cd6f26664c Add timeout to dbus calls 2020-12-18 14:06:49 +01:00
Willem Melching dbd7b10bae Add exception handlers to dbus network stats 2020-12-18 13:42:35 +01:00
grekiki 5b26c97141
Qt Offroad stats (#19498)
* probably broke a lot, need the commit though

* finally works

* make it work...

* ...

* kind of works

* better styling

* all should work

* tiny cleanup

* temp

* looks nicer

* create JWT in C++

* kilometers -> km

* use correct free methods

* dont put code in assert statement

* Build JWT payload dynamically

* get dongle id once

* include cleanup

* Remove qDebug

* Update drive_stats.cc

Github is a nice editor :)

* swap week and all and fix sconscript

* install openssl

* openssl include dirs on mac

* is this where openssl is?

* It's here

* small cleanup

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-18 13:29:20 +01:00
Willem Melching 00620575d9
Only register when needed (#19526)
* only register when needed

* block for imei

* Api already imports jwt, so no need for late import

* Small cleanup

* oneliner

* Add spinner to regestering

* Keep trying
2020-12-18 13:17:23 +01:00
Adeeb Shihadeh b276881fcd
agnos updater (#2600)
* agnos updater

* add manifest

* fix path

* get manifest from overlay

* update manifest

* remove merge markers

* add streaming decompressor

* dont need read all

* Unsparsify

* Fix output filename

* Optimization

* cleanup

* Small cleanup

* Read manifest from merged overlay

* Write hash at end of partition

* Sync before writing hash

* Write bytes in file

* add manifest with image sizes

* Fix manifest path

* File was closed already

* Format string

* Put raw hash

* Read hashes in launch script

* update launch script

* should be agnos version

* fix slot

* Make sure we clear the hash

* Verify partition size

* move updated

* Standalone flasher

* Don't rely on ordering

* Get path

* Debug log

* Download agnos

* Info is enough

* update manifest

* Remove f

* Check downloader return code

* Exit on wrong manifest

* Fix typos

* Set pythonpath before hardware init

* move agnos into hardware folder

* remove comments

* Fix abstractmethod

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-18 13:17:12 +01:00
Willem Melching 8039361567 Add toyota creep to release notes 2020-12-18 11:54:08 +01:00
Adeeb Shihadeh 782859502b remove simg2img from external 2020-12-18 01:01:24 -08:00
Adeeb Shihadeh 6a0e9044c1 fix unkillable reboot logging on tici 2020-12-17 17:53:03 -08:00
Comma Device 717e49019f increase controls alert timeout 2020-12-17 15:22:55 -08:00
Adeeb Shihadeh 3023ccc7ff update release notes 2020-12-17 13:43:16 -08:00
Adeeb Shihadeh 402d401e12
Car Port: 2021 Toyota Camry (TSS 2.5) (#2721)
* 2021 camry port

* tss2 adas

* test route
2020-12-17 13:29:50 -08:00
Willem Melching 776a67ad2e remove commIssueWarning from events 2020-12-17 22:25:22 +01:00
Adeeb Shihadeh 8fb93c1e2a bump cereal 2020-12-17 13:12:13 -08:00
Chris McCammon 58a4302f41
fix supported years on Ioniq Electric 2020-12-17 12:30:07 -08:00
Adeeb Shihadeh 40a4bd9fc7 disable updater for oneplus EONs 2020-12-17 12:20:07 -08:00
Adeeb Shihadeh 0f0efb0be2 bump cereal 2020-12-17 12:18:51 -08:00
Adeeb Shihadeh 220853730d
manager cleanup (#2634)
* start cleanup

* add uninstall to hw abstraction layer

* cleanup

* litte more

* don't build at import time

* fix tests

* don't build by default

* sync
2020-12-17 11:45:41 -08:00
Dean Lee bc1cfa6d4f
cleanup qcom2 (#19506)
* cleanup qcom2

* define DEBAYER_LOCAL_WORKSIZE in camera_qcom2.h
2020-12-17 11:43:50 -08:00
baldwalker 43c05aa2c6
Separate Hyundai Ioniq Hybrid and EV 2020 Premium SE (#19500)
* Update carcontroller.py

* Update hyundaican.py

* Update interface.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update README.md

* Update test_car_models.py

* cleanup interface
2020-12-17 11:25:56 -08:00
Robbe Derks 91c760a9e5 Revert MCLK change 2020-12-17 18:08:58 +01:00
robbederks 18ab822213
Move MCLK freq on tici (#19494)
* Move MCLK freq

* change PLL settings to compensate

* messed that up

* undo extclk change, move the internal freq. Does mean pixclk is decreased from 88MHz to 80MHz though

Co-authored-by: Comma Device <device@comma.ai>
2020-12-17 11:29:34 +01:00
Adeeb Shihadeh 8674b023ba
HW abstraction layer (#19530)
* start hw refactor

* move that

* pins

* put that back
2020-12-16 21:30:23 -08:00
Adeeb Shihadeh 3b8ca39554 already prepped 2020-12-16 20:41:08 -08:00
HaraldSchafer 78176c79ad
0b6e45f8-21c1-408a-b61d-3dce02a69d23/500 (#19528) 2020-12-16 19:26:46 -08:00
Harald Schafer c09dfdf244 new ref 2020-12-16 18:56:25 -08:00
Igor d93f07f5e6
Fix TSS2 creep issue, no need to send standstill request (#2716)
* Fix TSS2 creep issue, no need to send standstill request

* Forgot to add import

* Changed set to look in from TSS2_CAR to NO_STOP_TIMER_CAR
2020-12-16 17:40:52 -08:00
Shane Smiskol 89a6008841
don't wait for 4 seconds before it starts steering again after steering fault (#19520) 2020-12-16 12:24:42 -08:00
Adeeb Shihadeh 421c494237 fixed fingerprint for cpu usage test 2020-12-16 12:14:18 -08:00
Igor 717bc747c3
Parametrize startingBrakeRate (#19511)
* Parametrize startingBrakeRate

* new ref_commit
2020-12-16 20:58:07 +01:00
Chris McCammon 1872d28739
2020 RDX fw (#19523) 2020-12-16 11:46:56 -08:00
Adeeb Shihadeh d62e0aa092 remove per-branch build caching for CI builds 2020-12-16 11:39:30 -08:00
Chris McCammon 3f7484df9e
Rav4 and Rav4 Hybrid FW (#19501)
* Rav4 Limited [9363705a7bbefea]
* Rav4 Hybrid [8b9ff04f758b61ce]
2020-12-16 10:53:10 -08:00
andrewcopenpilot 4fcf8678f6
Fix to allow brakes to release on resume press (#2709) 2020-12-16 18:29:52 +01:00
Willem Melching 3e8619ff64 bump cereal: add startingBrakeRate 2020-12-16 12:19:58 +01:00
jcak d3d57b0744
Add Forester 2020 fingerprint (#2763)
* Add Forester 2020 fingerprint

* Update selfdrive/car/subaru/values.py

* combined Forester 2019 & 2020 fingerprints

2020 model had some additional fingerprints than the 2019 model. Merged rather than adding separately.

* Added Forester 2020 to readme

* Updated to include forester touring as well

added additional messages as per #19499 (updating same fingerprint)

* Delete Forester 2019 sport - duplicate fingerprint

* Update values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-16 11:58:07 +01:00
Greg Hogan 7a121862a8
athenad: add getNetworkType (#19517) 2020-12-15 23:25:52 -08:00
HaraldSchafer c89ec883cc
Early model 081 (#19510)
* c91b82af-c0b0-4378-8431-3e6efc26b084/325

* 0b6e45f8-21c1-408a-b61d-3dce02a69d23/200

* update model ref
2020-12-15 22:21:30 -08:00
Adeeb Shihadeh a2c6fdd14c Revert "Handle python-dbus not installed"
This reverts commit 25054cdc05.
2020-12-15 20:29:24 -08:00
Chris McCammon 4428c96d08
2021 Toyota Highlander / Highlander Hybrid fw (#2729)
* Highlander TSS2.5 fw versions

* 2021 Highlander Hybrid fw - not yet confirmed

* update model years
2020-12-15 19:51:20 -08:00
Adeeb Shihadeh c57ee16e86
Set GPU priorities + improved modeld priorities (#2691)
* give gpu threads rt priority

* modeld gets highest prio on core 2

* fix frame stream

* lower prio of cal thread

Co-authored-by: Comma Device <device@comma.ai>
2020-12-15 19:22:03 -08:00
Chris McCammon bf8ef0251d
Rav4 2021 fw (#19514) 2020-12-15 17:33:43 -08:00
Dean Lee d31a87cd21
qcom: make camera_process_frame more readable (#2765)
* more readable

* rgb_addr

* offset

* speed up if statement

* --self_recover

* rgb_addr_offset

* x_offset&y_offset

* static rgb_roi_buf & conv_result

* remove variables from struct

* simplify read sensorEvents

* use i for loop

* split to functions

* make it works

* y_offset should be ROI_Y_MAX-ROY_Y_MIN+1

* std::size is better than ARRAYSIZE

* rebase master

* shorter variable name

* Revert "shorter variable name"

This reverts commit 47612e3a74.

* std::fill_n

* reday for merge

* Revert "y_offset should be ROI_Y_MAX-ROY_Y_MIN+0"

This reverts commit 1f8526fb1c.
2020-12-15 16:39:38 -08:00
Comma Device 1ea307a299 factory reset -> system reset 2020-12-15 23:35:55 +00:00