Commit Graph

2371 Commits (1669e4a5d1444c07c31400a23fc42d8f6cccc837)

Author SHA1 Message Date
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 47612e3a741d8b6ddfd72bccbb5337882b369224.

* std::fill_n

* reday for merge

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

This reverts commit 1f8526fb1c59c89d747210eb8bf17a2688a4f2bc.
2020-12-15 16:39:38 -08:00
Comma Device 1ea307a299 factory reset -> system reset 2020-12-15 23:35:55 +00:00
Comma Device 54c6931b5c fix camera malfunction ui timeout 2020-12-15 14:16:47 -08:00
Dean Lee 1ee8287705
cleanup camera malfunction alert (#2751)
* cleanup alert

* move ui_draw_vision_alert out of ui_draw_vision
2020-12-15 13:06:22 -08:00
Willem Melching 93cc7335fc paint.cc: lower y offset 2020-12-15 14:47:53 +01:00
Comma Device 536a8c5876 fix camerad qcom2 build 2020-12-15 04:52:40 +00:00
Adeeb Shihadeh c4a05ba369
Qt system reset (#19502)
* qt factory reset

* confirmation

* better ui
2020-12-14 19:49:01 -08:00
Dean Lee c1f3c3b2df
camera_qcom: read SensorEvents in op thread (#2764)
* get acceleration in op thread

* std::atomic last_sag_acc_z

* cleanup
2020-12-14 16:54:49 -08:00
ZwX1616 1c21fc100d
qcom2 init hevc tier correctly (#19496)
* qcom2 init tier correctly

* need to cast

Co-authored-by: Comma Device <device@comma.ai>
2020-12-14 16:24:49 -08:00
George Hotz 5fdda8dbd8
Thneed refactors for future functions (#2673)
* delete debug

* thneed updates, but it seems slower

* thneed refactor

* refactor touchups

* add back asserts

* fix uaf

* track the size for local args

* final thneed refactor

* switch kgsl_command_object to avoid memory leak

* comments

* unused includes

Co-authored-by: Comma Device <device@comma.ai>
2020-12-14 15:46:49 -08:00
Dean Lee 554ea8f54a
refactor imgproc/utils (#2766)
* refactor imgproc/utils

* const

* space

* return value
2020-12-14 15:33:40 -08:00
George Hotz cb238fd2ee
Set camerad CL priority to 4 (#2747)
* priority 2 get

* add to files_common

* cl_ext_qcom

Co-authored-by: Comma Device <device@comma.ai>
2020-12-14 13:59:48 -08:00
Adeeb Shihadeh 343e38d0cf add oneplus deprection to release notes 2020-12-14 11:59:27 -08:00
Adeeb Shihadeh 238ac19ba9 remove fsck logging in updated 2020-12-14 10:51:03 -08:00
Adeeb Shihadeh dfbd658a2f
log remote and branch in sentry (#16766)
* log remote and branch in sentry

* also add to crash.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-14 16:11:54 +01:00
Willem Melching 9cd7a7c14b
set CarState.steeringRateLimited for Hyundai (#19495)
* set CarState.steeringRateLimited for Hyundai

* update ref

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
2020-12-14 16:11:32 +01:00
Willem Melching 25054cdc05 Handle python-dbus not installed 2020-12-14 15:04:17 +01:00
Willem Melching c3b5ef8d4b
hardware.py: get network info over dbus (#2727)
* Get network stuff using dbus

* most people would call EDGE 2G

* Small cleanup
2020-12-14 14:19:14 +01:00
DreZee669 790ad9296a
Updated FW values for honda civic (#2752)
* Update values.py

Added ecu fw versions for my 2k16 honda civic sedan

* Update values.py
2020-12-14 14:16:22 +01:00
Willem Melching 11fb6efba2 add optional margin to car_space_to_full_frame check 2020-12-14 14:09:26 +01:00
Willem Melching bbc289b671 paint.cc: fix y offset 2020-12-14 13:38:00 +01:00
Adeeb Shihadeh b06bc9b6bc fix aarch64 build 2020-12-14 01:23:57 -08:00