Commit Graph

2433 Commits (275136aeac316bd56eecc175df146826f3b52e00)

Author SHA1 Message Date
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 882e413f22.

* 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
komma zwei fef8d4093f rhd dm AE sign flip 2020-12-10 19:27:45 -08:00
Chris McCammon cb52326790 More Rav4 fw
* 2021 Rav4 Limited fw from 9363705a7bbefea6
* 2019 Rav4 Hybrid fw from 8b9ff04f758b61ce
2020-12-10 16:49:18 -08:00
grekiki c16c8f3c2c
WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network.
2020-12-11 00:29:31 +01:00
grekiki bffdfd5303
Dynamically colored alert widget. (#2717)
blue background on update
2020-12-10 23:39:15 +01:00
grekiki f96fb625d9
Add label if no network manager is found (#2718) 2020-12-10 19:04:19 +01:00
HaraldSchafer 630c7309a5
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>
2020-12-09 22:48:14 -08:00
George Hotz bbe868d312 Revert "add two dev packages for training"
This reverts commit 3da368247a.
2020-12-09 21:48:38 -08:00
Comma Device 0e84e04539 make qcom2 robust to moving v4l-subdevs 2020-12-10 05:44:59 +00:00
ZwX1616 257c5f9d94
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>
2020-12-09 20:05:47 -08:00
George Hotz 3da368247a add two dev packages for training 2020-12-09 11:07:18 -08:00
alancyau 805bf29206
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
2020-12-09 11:19:21 +01:00
Willem Melching b6e3595b39 Update Sonata year in readme 2020-12-09 11:15:13 +01:00
Eric Dardet 4373e89e65
Update Hyundai firmware in values.py for 2021 Sonata (#2714)
* Update Hyundai values.py for 2021 Sonata

Added firmware versions from a 2021 Hyundai Sonata bought in Southern California

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-09 11:13:47 +01:00
Adeeb Shihadeh 8992639754
add modelV2 to model replay (#2725)
* add modelV2 to model replay

* update refs

* ignore fields for modelv2

* execution time

* fix compare logs

Co-authored-by: Comma Device <device@comma.ai>
2020-12-08 22:01:34 -08:00
Adeeb Shihadeh 90d7331312 fix camerad exiting on pc 2020-12-08 20:20:42 -08:00
Mitchell Goff bbe9accd4d
Added model_replay and fixed some bugs in camera_replay (#2679)
* Added model_replay and fixed some bugs in camera_replay

* Unpack capnp logs on device

* add sync to device

* GPU now also works on PC

* update model ref

* update refs

* dont change this one

* Use pipeline calib instead of rlog calib

* remove that

* update refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-12-08 19:01:59 -08:00
HoverB_SN_11 c6d68d5552 Revert "simplify"
cannot simplify.
2020-12-09 02:13:27 +00:00