Commit Graph

2802 Commits

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

* confirmation

* better ui
old-commit-hash: c4a05ba369a0b8ce5df69727999dd33baf8a0fd0
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: c1f3c3b2df70d7f3fb24f165c2edcf01a1adcde9
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: 1c21fc100d1fcc784805d94585c040ce3d1f3658
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: 5fdda8dbd82954c2b9b5af82a19e599d3b4b5ec2
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: 554ea8f54a699950a9226e1d0808cc41ca4859f0
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: cb238fd2ee22bcc6c02c3556f96439b3e08d9415
2020-12-14 13:59:48 -08:00
Adeeb Shihadeh 33bc5e5f79 add oneplus deprection to release notes
old-commit-hash: 343e38d0cfb69ffd9dfc65d4a4ac84311bfd8c1b
2020-12-14 11:59:27 -08:00
Adeeb Shihadeh f359b4cf49 remove fsck logging in updated
old-commit-hash: 238ac19ba975ffcdbe7b792b30a1409d219541da
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: dfbd658a2f73996b409aacb520ccd96678ac8dbd
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: 9cd7a7c14b1cabaee7ac2af85454f2226ca91aea
2020-12-14 16:11:32 +01:00
Willem Melching d47396f4da Handle python-dbus not installed
old-commit-hash: 25054cdc0538a0324b7f7c1bcc9d6166291b4e10
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: c3b5ef8d4b596cc1463b426a43334a3c53421473
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: 790ad9296a2739e516ef78cd29889d6309a3adee
2020-12-14 14:16:22 +01:00
Willem Melching 79275c08e1 add optional margin to car_space_to_full_frame check
old-commit-hash: 11fb6efba2aa2f9e10ffe3dd35d654662fef5921
2020-12-14 14:09:26 +01:00
Willem Melching 2edf720d53 paint.cc: fix y offset
old-commit-hash: bbc289b6711b958336cbaf87edede10050385867
2020-12-14 13:38:00 +01:00
Adeeb Shihadeh 3ff500dda1 fix aarch64 build
old-commit-hash: b06bc9b6bc798870324b4ceaed351cae0bfe24b3
2020-12-14 01:23:57 -08:00
Adeeb Shihadeh d73b3a030f output clang compile database with test build
old-commit-hash: b92eb543ca956a3d04133e0749dcd689007b8a05
2020-12-14 00:46:13 -08:00
Adeeb Shihadeh 7914d23049 mask off cores 2-3 from RPS (#2692)
old-commit-hash: 15ae9d714fb6b8f141a751f164198fcdd4c28aeb
2020-12-13 19:30:00 -08:00
Adeeb Shihadeh c09d84218d model timing benchmark script
old-commit-hash: 5ba7276118a458c0caf377d34d0c82b58db607bc
2020-12-13 19:08:49 -08:00
Adeeb Shihadeh 83cfbeaf9a adb over smays
old-commit-hash: 48306360a10beeae8868e93dfd0eb245e46a1c77
2020-12-12 19:21:45 -08:00
Dean Lee 75e3d20dac convert loadyuv.c to loadyuv.cc (#2754)
old-commit-hash: d6eead25d0448d11c552d4d56a663e455deae720
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: 3d63b3d4149efb1e597d8d97790fddd28abdbde0
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: a96857f1aa068da241ad8b234addd76b23d1e594
2020-12-12 13:55:24 -08:00
Adeeb Shihadeh 3e6abdd8bd oneplus deprecation (#2748)
* oneplus deprecation

* lowercase

* too long

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

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

* ref_commit updated
old-commit-hash: d3c2a0e6c1e898b08570dd0a9b1eef12934f6c9a
2020-12-11 16:30:35 +01:00
Willem Melching ca0e8a6cde bump cereal: add stoppingBrakeRate
old-commit-hash: 31568461aa8a8d9ef5ddf1e0be31bea773c3532e
2020-12-11 13:57:20 +01:00
Willem Melching 7b95ee35ce bump panda: nissan altima support
old-commit-hash: 646e257aa9eede0a8e72bff2f20e44261f15ad1e
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: 3c08d0f1f7e7c9f376fd69fd46067c6f6ff59d39
2020-12-11 13:05:32 +01:00
Willem Melching df97d4db04 Add thumbnails to camera_frame_stream
old-commit-hash: 7b998a7c21b6a15fa474df5a2c5a0bbd8a6f930c
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: f0d240a7e3d1a91a3d0bac1cc9050c531105d87d
2020-12-11 13:02:16 +01:00
Dean Lee 3f999c44a9 destroy rgb_to_yuv_state (#2702)
old-commit-hash: 1e9e31d6e1167e309660aad49986524d445b19d3
2020-12-10 19:39:46 -08:00
komma zwei d365119d74 rhd dm AE sign flip
old-commit-hash: fef8d4093f1ebf6ad91c6bac95c465c83ee7e396
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: cb52326790d44722f0ea28acefd9ca4149afbf9d
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: c16c8f3c2c0c9cd982dd96c769f760185b837da8
2020-12-11 00:29:31 +01:00
grekiki 55bd34e8a5 Dynamically colored alert widget. (#2717)
blue background on update

old-commit-hash: bffdfd5303879bd70416a2c998ca8a71f3bf674a
2020-12-10 23:39:15 +01:00
grekiki 3bc7286704 Add label if no network manager is found (#2718)
old-commit-hash: f96fb625d929701717670bbe7be8791aa204bf02
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: 630c7309a560e573a9398acd77c96aedcb65dfae
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: bbe868d31248cf304c566dd9ad4e6347f9738464
2020-12-09 21:48:38 -08:00
Comma Device d5a6427330 make qcom2 robust to moving v4l-subdevs
old-commit-hash: 0e84e04539e0fdd767196ba3339690b498ef6338
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: 257c5f9d946b1392ce205140b4bb24843968976e
2020-12-09 20:05:47 -08:00
George Hotz 2c106a1a9a add two dev packages for training
old-commit-hash: 3da368247ab41c0c993df7c337ac1171b0c750ba
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: 805bf29206ef5853a705b42a7d155add487e79e4
2020-12-09 11:19:21 +01:00
Willem Melching 6edd4781ce Update Sonata year in readme
old-commit-hash: b6e3595b393fd585f2dab0d04a0241f43a81a7ce
2020-12-09 11:15:13 +01:00