Commit Graph

2250 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
b92eb543ca output clang compile database with test build 2020-12-14 00:46:13 -08:00
Adeeb Shihadeh
15ae9d714f mask off cores 2-3 from RPS (#2692) 2020-12-13 19:30:00 -08:00
Adeeb Shihadeh
5ba7276118 model timing benchmark script 2020-12-13 19:08:49 -08:00
Adeeb Shihadeh
48306360a1 adb over smays 2020-12-12 19:21:45 -08:00
Dean Lee
d6eead25d0 convert loadyuv.c to loadyuv.cc (#2754) 2020-12-12 17:10:51 -08:00
Dean Lee
3d63b3d414 covert rgb_to_yuv.c to rgb_to_yuv.cc (#2757) 2020-12-12 16:52:15 -08:00
Adeeb Shihadeh
a96857f1aa fix camerad not exiting cleanly (#2768)
Co-authored-by: Comma Device <device@comma.ai>
2020-12-12 13:55:24 -08:00
Adeeb Shihadeh
6a151dcd9c oneplus deprecation (#2748)
* oneplus deprecation

* lowercase

* too long

* no udpates
2020-12-12 12:51:12 -08:00
Adeeb Shihadeh
1520dd4c96 Revert "More Rav4 fw"
This reverts commit cb52326790.
2020-12-12 01:20:10 -08:00
Adeeb Shihadeh
dc371f951a more robust fingerprint test 2020-12-12 01:19:38 -08:00
Adeeb Shihadeh
1e78469fba better debug msg for fw fingerprinting test 2020-12-12 00:29:14 -08:00
Dean Lee
0fcfb07f1f transform.h: remove extern "C" (#2755) 2020-12-12 00:00:07 -08:00
Comma Device
44bedaa73b add LOGW 2020-12-11 21:12:51 -08:00
komma zwei
41bc3c558e increase startup timeout for camera malfunction 2020-12-11 20:07:27 -08:00
Igor
d3c2a0e6c1 Parametrize stoppingBrakeRate (#2745)
* Parametrize stoppingBrakeRate

* ref_commit updated
2020-12-11 16:30:35 +01:00
Willem Melching
31568461aa bump cereal: add stoppingBrakeRate 2020-12-11 13:57:20 +01:00
Willem Melching
646e257aa9 bump panda: nissan altima support 2020-12-11 13:41:43 +01:00
Dean Lee
3c08d0f1f7 clutil refactor (#2733)
* cleaup clutil.h

* clutil.c -> clutil.cc

* std::hash

* try simplify functions

* using namespace group help functions

* continue

* add function get_platform_info

* continue

* remove caching

* struct CLContext

* std::cout & CL_ERR_TO_STR

* remove CLU_NO_CACHE

* Revert "struct CLContext"

This reverts commit 882e413f227e4c1ba4bb83f956cc67739a189221.

* cl_get_error_string : remove undefied error codes

* replace all printf with std::cout

* util::read_file

* cleanup

* revert CL_ERR_TO_STR

* simplify

* add macro CL_ERR_TO_STR

* cl_get_error_string: fix undeclared errors

* log_size should not +1

* use std::stirng log

* apply review
2020-12-11 13:05:32 +01:00
Willem Melching
7b998a7c21 Add thumbnails to camera_frame_stream 2020-12-11 13:02:45 +01:00
Dean Lee
f0d240a7e3 camerad: fix memory leak in create_thumbnail (#2743)
* fix memory leak in create_thumbnail

* free memory returned from jpeg_mem_dest

* OMG
2020-12-11 13:02:16 +01:00
Dean Lee
1e9e31d6e1 destroy rgb_to_yuv_state (#2702) 2020-12-10 19:39:46 -08:00