Commit Graph

2772 Commits

Author SHA1 Message Date
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
Eric Dardet 26401a7c79 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>
old-commit-hash: 4373e89e65
2020-12-09 11:13:47 +01:00
Adeeb Shihadeh f562fdb059 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>
old-commit-hash: 8992639754
2020-12-08 22:01:34 -08:00
Adeeb Shihadeh 519614d9c0 fix camerad exiting on pc
old-commit-hash: 90d7331312
2020-12-08 20:20:42 -08:00
Mitchell Goff 711d60239a 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>
old-commit-hash: bbe9accd4d
2020-12-08 19:01:59 -08:00
HoverB_SN_11 4020fc5aca Revert "simplify"
cannot simplify.

old-commit-hash: c6d68d5552
2020-12-09 02:13:27 +00:00
Adeeb Shihadeh e90767b031 reliability? (#2722)
old-commit-hash: e715b1ac54
2020-12-08 17:29:06 -08:00
Adeeb Shihadeh 8809fc68e7 log DSP execution time (#2723)
* log dsp execution time

* don't need that
old-commit-hash: b3fd759fe8
2020-12-08 17:28:47 -08:00
ZwX1616 4a064db213 Fix random encoder lockups (#2707)
* gbk

* surrrely not

* finalize

* such nuance, such nuisance

* this is done automatically

* add back

* give back 0

* simplify

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d25cc6f624
2020-12-08 16:12:55 -08:00
Chris McCammon e121f6af32 2017 Civic Bosch engine fw
old-commit-hash: 1a1b4abfb4
2020-12-08 15:41:01 -08:00
Adeeb Shihadeh 9044cba60a remove raw logger (#2719)
* remove raw logger

* no raw_clips

* only remove raw clips

* cleanup
old-commit-hash: 56146d84ce
2020-12-08 15:23:06 -08:00
Adeeb Shihadeh df6abf988e make fingerprint script nice
old-commit-hash: b1a4ec8135
2020-12-08 13:39:22 -08:00
Chris McCammon 2008fbb1bd 2021 Rav4 LE Engine FW
old-commit-hash: a66dc20f7c
2020-12-08 11:33:52 -08:00
HoverB_SN_11 3ea014d35d too wide
old-commit-hash: 18c9e42520
2020-12-08 19:31:38 +00:00
Willem Melching 16bb8fcf54 dont init wifi widget if there is no adapter
old-commit-hash: 3d2fec6c9a
2020-12-08 16:33:00 +01:00
Dean Lee e89e1a185c small cleanup (#2715)
old-commit-hash: 232cb25683
2020-12-08 14:20:06 +01:00
grekiki 2e07e45bed UI style improvements with improved keyboard (#2710)
* fix spaces and make spacebar dynamically sized

* some spaces and a comment

* more spaces

* const

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3e466aa528
2020-12-08 12:00:51 +01:00
Willem Melching 0b60b8eb1b save calibration as JSON again
old-commit-hash: 9803d3fcdc
2020-12-08 11:54:27 +01:00
Chris McCammon e201d36a05 Lexus IS firmware
old-commit-hash: a7bf03305a
2020-12-07 20:08:03 -08:00
Henry Zhuang c4b49b3c2f 2021 Australia Rav4 hybrid FW (#2712)
old-commit-hash: e32e5d98a0
2020-12-07 15:38:50 -08:00
Chris McCammon df5b875793 Rav4 Hybrid engine FW
old-commit-hash: 1c8d3cf4f2
2020-12-07 15:30:09 -08:00
alancyau 9eea853c9f Add fingerprint for EU 2019 Civic Hatch (#2698)
old-commit-hash: 07e74c4260
2020-12-07 13:03:28 -08:00
grekiki c76d239a8e Tethering (#2676)
We can now enable tethering on the device. The user still has to reconnect to the wifi network after disabling tethering, the network manager is lazy. 
old-commit-hash: ec671d4741
2020-12-07 12:55:17 +01:00
Dean Lee fb9298b120 fix fille lead (#2703)
old-commit-hash: 531b85b983
2020-12-06 13:02:23 -08:00
Adeeb Shihadeh 672d0d4727 move offroad alerts to home screen (#2681)
* move offroad alerts to home screen

* offroad aletrs work, but sidebar doesn't look nice

* fix sidebar

* looks better

* cleanup

* little bigger

Co-authored-by: grekiki <gregor1234567890@gmail.com>
old-commit-hash: 8320a153fb
2020-12-04 15:21:55 -08:00
Willem Melching 95e839d6c8 set y offset to zero for now
old-commit-hash: fcb3ed727b
2020-12-04 18:07:51 +01:00
Willem Melching 995950c77b Add y offset to video (#2694)
* add y offset to video

* Also reduce zoom
old-commit-hash: 35baefa72e
2020-12-04 16:29:12 +01:00
Igor 95bb79c51c Parametrize MIN_CAN_SPEED in car interfaces (#2684)
* Parametrize MIN_CAN_SPEED in car interfaces

* fixed instance in planner.py

* fix typo

* var name change

* changed var name to minSpeedCan for consistency with other uses of CAN in the capnproto files

* added default value to get_std_params, removed unneeded instances from car interface files

* Revert PEP8 autoformat corrections

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 093456cc40
2020-12-04 11:09:34 +01:00
Adeeb Shihadeh d309f52c9c bump opendbc
old-commit-hash: 61ec745ffc
2020-12-03 19:55:10 -08:00
Dean Lee 8fd9523ce9 simplify common_camera_process_front (#2470)
* refactor camera_process_front

* improve
old-commit-hash: 24a84b2aff
2020-12-03 16:28:32 -08:00
Harald Schafer f749a2e424 use name
old-commit-hash: 4fafdee9e4
2020-12-03 13:29:58 -08:00