Commit Graph

2802 Commits

Author SHA1 Message Date
Comma Device cfce32acb5 fix camerad qcom2 build
old-commit-hash: 536a8c5876
2020-12-15 04:52:40 +00:00
Adeeb Shihadeh ab1b8754dc Qt system reset (#19502)
* qt factory reset

* confirmation

* better ui
old-commit-hash: c4a05ba369
2020-12-14 19:49:01 -08:00
Dean Lee 6ab28556c8 camera_qcom: read SensorEvents in op thread (#2764)
* get acceleration in op thread

* std::atomic last_sag_acc_z

* cleanup
old-commit-hash: c1f3c3b2df
2020-12-14 16:54:49 -08:00
ZwX1616 1f99fdfc50 qcom2 init hevc tier correctly (#19496)
* qcom2 init tier correctly

* need to cast

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1c21fc100d
2020-12-14 16:24:49 -08:00
George Hotz 02a2f9ca15 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>
old-commit-hash: 5fdda8dbd8
2020-12-14 15:46:49 -08:00
Dean Lee 890df06246 refactor imgproc/utils (#2766)
* refactor imgproc/utils

* const

* space

* return value
old-commit-hash: 554ea8f54a
2020-12-14 15:33:40 -08:00
George Hotz 2cedc8715e 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>
old-commit-hash: cb238fd2ee
2020-12-14 13:59:48 -08:00
Adeeb Shihadeh 33bc5e5f79 add oneplus deprection to release notes
old-commit-hash: 343e38d0cf
2020-12-14 11:59:27 -08:00
Adeeb Shihadeh f359b4cf49 remove fsck logging in updated
old-commit-hash: 238ac19ba9
2020-12-14 10:51:03 -08:00
Adeeb Shihadeh 605eecdd18 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>
old-commit-hash: dfbd658a2f
2020-12-14 16:11:54 +01:00
Willem Melching 494353099b set CarState.steeringRateLimited for Hyundai (#19495)
* set CarState.steeringRateLimited for Hyundai

* update ref

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

* most people would call EDGE 2G

* Small cleanup
old-commit-hash: c3b5ef8d4b
2020-12-14 14:19:14 +01:00
DreZee669 91fd5c2dcf Updated FW values for honda civic (#2752)
* Update values.py

Added ecu fw versions for my 2k16 honda civic sedan

* Update values.py
old-commit-hash: 790ad9296a
2020-12-14 14:16:22 +01:00
Willem Melching 79275c08e1 add optional margin to car_space_to_full_frame check
old-commit-hash: 11fb6efba2
2020-12-14 14:09:26 +01:00
Willem Melching 2edf720d53 paint.cc: fix y offset
old-commit-hash: bbc289b671
2020-12-14 13:38:00 +01:00
Adeeb Shihadeh 3ff500dda1 fix aarch64 build
old-commit-hash: b06bc9b6bc
2020-12-14 01:23:57 -08:00
Adeeb Shihadeh d73b3a030f output clang compile database with test build
old-commit-hash: b92eb543ca
2020-12-14 00:46:13 -08:00
Adeeb Shihadeh 7914d23049 mask off cores 2-3 from RPS (#2692)
old-commit-hash: 15ae9d714f
2020-12-13 19:30:00 -08:00
Adeeb Shihadeh c09d84218d model timing benchmark script
old-commit-hash: 5ba7276118
2020-12-13 19:08:49 -08:00
Adeeb Shihadeh 83cfbeaf9a adb over smays
old-commit-hash: 48306360a1
2020-12-12 19:21:45 -08:00
Dean Lee 75e3d20dac convert loadyuv.c to loadyuv.cc (#2754)
old-commit-hash: d6eead25d0
2020-12-12 17:10:51 -08:00
Dean Lee 0066e93b34 covert rgb_to_yuv.c to rgb_to_yuv.cc (#2757)
old-commit-hash: 3d63b3d414
2020-12-12 16:52:15 -08:00
Adeeb Shihadeh 649fe5b34a fix camerad not exiting cleanly (#2768)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a96857f1aa
2020-12-12 13:55:24 -08:00
Adeeb Shihadeh 3e6abdd8bd oneplus deprecation (#2748)
* oneplus deprecation

* lowercase

* too long

* no udpates
old-commit-hash: 6a151dcd9c
2020-12-12 12:51:12 -08:00
Adeeb Shihadeh 492e9ebd96 Revert "More Rav4 fw"
This reverts commit 93bc2efd3bb4a4e25368b0100ce043f836d7ed8b.

old-commit-hash: 1520dd4c96
2020-12-12 01:20:10 -08:00
Adeeb Shihadeh 412fb8c2f2 more robust fingerprint test
old-commit-hash: dc371f951a
2020-12-12 01:19:38 -08:00
Adeeb Shihadeh d84ede9f00 better debug msg for fw fingerprinting test
old-commit-hash: 1e78469fba
2020-12-12 00:29:14 -08:00
Dean Lee 252b63ba15 transform.h: remove extern "C" (#2755)
old-commit-hash: 0fcfb07f1f
2020-12-12 00:00:07 -08:00
Comma Device 4728ad22b0 add LOGW
old-commit-hash: 44bedaa73b
2020-12-11 21:12:51 -08:00
komma zwei 2fd54d6f1b increase startup timeout for camera malfunction
old-commit-hash: 41bc3c558e
2020-12-11 20:07:27 -08:00
Igor faa4c57ee1 Parametrize stoppingBrakeRate (#2745)
* Parametrize stoppingBrakeRate

* ref_commit updated
old-commit-hash: d3c2a0e6c1
2020-12-11 16:30:35 +01:00
Willem Melching ca0e8a6cde bump cereal: add stoppingBrakeRate
old-commit-hash: 31568461aa
2020-12-11 13:57:20 +01:00
Willem Melching 7b95ee35ce bump panda: nissan altima support
old-commit-hash: 646e257aa9
2020-12-11 13:41:43 +01:00
Dean Lee 9be81a6f99 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
old-commit-hash: 3c08d0f1f7
2020-12-11 13:05:32 +01:00
Willem Melching df97d4db04 Add thumbnails to camera_frame_stream
old-commit-hash: 7b998a7c21
2020-12-11 13:02:45 +01:00
Dean Lee fc07703c8f camerad: fix memory leak in create_thumbnail (#2743)
* fix memory leak in create_thumbnail

* free memory returned from jpeg_mem_dest

* OMG
old-commit-hash: f0d240a7e3
2020-12-11 13:02:16 +01:00
Dean Lee 3f999c44a9 destroy rgb_to_yuv_state (#2702)
old-commit-hash: 1e9e31d6e1
2020-12-10 19:39:46 -08:00
komma zwei d365119d74 rhd dm AE sign flip
old-commit-hash: fef8d4093f
2020-12-10 19:27:45 -08:00
Chris McCammon b40fa4049a More Rav4 fw
* 2021 Rav4 Limited fw from 9363705a7bbefea6
* 2019 Rav4 Hybrid fw from 8b9ff04f758b61ce

old-commit-hash: cb52326790
2020-12-10 16:49:18 -08:00
grekiki 99ee2a9459 WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network. 
old-commit-hash: c16c8f3c2c
2020-12-11 00:29:31 +01:00
grekiki 55bd34e8a5 Dynamically colored alert widget. (#2717)
blue background on update

old-commit-hash: bffdfd5303
2020-12-10 23:39:15 +01:00
grekiki 3bc7286704 Add label if no network manager is found (#2718)
old-commit-hash: f96fb625d9
2020-12-10 19:04:19 +01:00
HaraldSchafer 89b03fa2ee Test model refactor (#2720)
* template funcion fill_meta

* add function get_plan_max_idx

* add function get_mdn_max_idx

* remove temp builder variables

* get_mdn_max_idx->get_lead_data

* get_pan_max_idx->get_plan_data

* fill_lane_line

* combine fill_lane_line&fill_path into one function

* fill_lead_vw

* using unique_ptr

* prefer using constexpr

* more constexpr,remove duplicate defined TRAJECTORY_SIZE

* remove suffix _arr from variable name

* misc

* remove extern c

* refactor model_publish

* remove unused paramaters

* traffic_convention to c style array

* c style array:prev_desire&pulse_desire

* fix error&make easy for review

* const mat3 &transform

* move cl_command_queue into ModelState

* use maco LEAD_MHP_SELECTION

* move constexpr from .h to .cc

* remove #define MODEL_NAME

* modeldata.h: contexpr

* remove param temporal from model_init

* helper function get_best_data

* fix probs

* int

Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: 630c7309a5
2020-12-09 22:48:14 -08:00
George Hotz 65d1793bff Revert "add two dev packages for training"
This reverts commit 5d3dc7c4ecc69e593efa5a32a2e06708ad814cf4.

old-commit-hash: bbe868d312
2020-12-09 21:48:38 -08:00
Comma Device d5a6427330 make qcom2 robust to moving v4l-subdevs
old-commit-hash: 0e84e04539
2020-12-10 05:44:59 +00:00
ZwX1616 8ab6ec02ad road camera malfunction alert (#2697)
* camera unresponsive

* blue and remove loge

* simplify

* should override to avoid blank screen

* let it be

* stop sound

Co-authored-by: WXEon <device@comma.ai>
old-commit-hash: 257c5f9d94
2020-12-09 20:05:47 -08:00
George Hotz 2c106a1a9a add two dev packages for training
old-commit-hash: 3da368247a
2020-12-09 11:07:18 -08:00
alancyau 171a30a85f Add fingerprint for 2019 Acura ILX (#2724)
* Add fingerprint for EU 2019 Civic Hatch

* remove fw electricBrakeBooster

* remove extra space

* add 2019 Acura ILX fingerprint

* Add 2019 Acura ILX to README.md
old-commit-hash: 805bf29206
2020-12-09 11:19:21 +01:00
Willem Melching 6edd4781ce Update Sonata year in readme
old-commit-hash: b6e3595b39
2020-12-09 11:15:13 +01:00