Commit Graph

10097 Commits

Author SHA1 Message Date
Dean Lee 8008cf5547 boardd: remove global panda (#21962) 2021-08-31 07:25:53 -07:00
Dean Lee 0d3eec385c camera_qcom2: new functions device_acquire & device_config (#22077)
* new function device_acquire & device_config

* add space

* apply reviews

* use the specified struct for each command

* fix typo

* apply review

* remove static

* revert device_control
2021-08-31 07:21:40 -07:00
Dean Lee 1786416e3c ui: clickable ElidedLabel (#21773)
* ElidedButton

* rename to ClickableLabel

* move to ElidedLabel
2021-08-30 22:16:48 -07:00
Jafar Al-Gharaibeh cb63a89dd0 Mazda 3/CX-5 FW (#22087)
* Mazda 3 2017 FW

dongle-id: 2f26dfe847d7c138

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* CX-5 fw

dongle id: 769d87694463b543

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-08-30 22:14:49 -07:00
Adeeb Shihadeh b4e9ab9343 Update Honda HRV DBC (#22086)
* update honda hrv dbc

* fix release files
2021-08-30 22:14:35 -07:00
Dean Lee ee5ef4dab2 camera_qcom2: use macros for link control operations (#22088) 2021-08-30 22:10:18 -07:00
Adeeb Shihadeh 0e3462e051 fix boardd reconnect loop (#22081)
* fix boardd reconnect loop

* add that back
2021-08-30 21:25:48 -07:00
Dean Lee 784b3a2ac9 dmonitoring: improve yuvframe2tensor (#21996)
* use Y,U,V

* use a pre-calculated table

* add variable use_snpe_model

* .dlc

* remove if
2021-08-30 21:23:01 -07:00
Dean Lee 383ff35790 Params: faster atomic clearAll (#21973)
* faster clearAll

* use unlink

* fsync_dir if removed > 0

* remove macro ERR_NO_VALUE

* always fsync

* keep call to unlink

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 19:47:47 -07:00
Dean Lee d9baaf7eb9 loggerd: create encoder threads from cameras_logged (#21875) 2021-08-30 19:33:00 -07:00
Igor Biletskyy 603ad435be add function to list connected pandas to panda.cc (#21989)
* add list() to panda.cc

* std:size instead of sizeof

* refactor usb init

* change serial length to 26 to get null terminated

* safer char to string

* forgot variable

* initialize descriptor array

* ...

* move init usb out of class

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 19:20:50 -07:00
HaraldSchafer aa8da039fb Update RELEASES.md 2021-08-30 18:44:33 -07:00
HaraldSchafer 22c8564413 Libraries for acados (#22079)
* libs

* build specific commit
2021-08-30 18:43:33 -07:00
Dean Lee cf4ad99554 camera_qcom2: refactor open_v4l_by_name_and_index (#22067)
* refactor

* small cleanup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 17:12:22 -07:00
Dean Lee 935cbd3139 LoggerState: test cases (#21855)
* test multiple threads writing to log

* fix typo

* use util::getenv

* check INIT_DATA and SENTINEL

* test END_OF_SEGMENT

* add comment

* test multiple threads logging and rotation

* cleanup

* update

* LoggerHandle:quick fix

* cleanup

* revert test_loggerd.py

* refactor test case

* check lock file

* check refcnt after close

* test_runner.cc

d

* int eixt_signal
2021-08-30 17:12:09 -07:00
Dean Lee 6be8520a84 Params::put: fixed the wrong call to Params::remove instead of global ::remove (#21974)
* fix bug

* use unlink
2021-08-30 16:31:27 -07:00
Willem Melching 813ddb0c18 revert ioctl changes to thneed 2021-08-30 16:30:50 -07:00
Dean Lee 31230e5b60 retry ioctls while errno == EINTR (#22054) 2021-08-30 16:07:34 -07:00
Dean Lee 37dda3d6bf camera_qcom2: remove req_mgr_session_info from CameraState (#22059)
* remove req_mgr_session_info from CameraState

* handle should be int32_t
2021-08-30 15:32:31 -07:00
Adeeb Shihadeh 92cf5264ce Revert "disable tici camerad test while device is down for maintenance"
This reverts commit 6b1119274b.
2021-08-30 15:08:16 -07:00
Dean Lee 7a80bf7fcc camera_qcom2: fix memory leaks in camera_open (#22061) 2021-08-30 14:59:04 -07:00
HaraldSchafer 68066168be Treat ILX braking like other Nidec hondas (#22078) 2021-08-30 13:47:13 -07:00
HaraldSchafer 1ac89f14aa Change car controller interface from gas/brake to acceleration (#21911)
* retune civic

* seems smooth

* back to normal

* new ref

* fix conflict

* runs

* rm

* accel scale is 4

* toyota should be good

* more cleanup

* fixup

* better naming

* update ref

* deprecated

* sending brake when not enable causes a fault

* rm gas and brake

* unused

* update ref

* acura logic is no more

* wrong before

* revert tuning cleanup

* adress comments

* update ref

* already on master

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-30 09:32:52 -07:00
Willem Melching 2764e59362 bump cereal 2021-08-30 09:28:09 -07:00
Dean Lee 862f93f7f1 camera_qcom2.cc : fix wrong LOGD order (#22072) 2021-08-30 09:21:35 -07:00
kingkwok444 d859e32631 Toyota Corolla 2021 FW versions (#22074) 2021-08-30 09:20:59 -07:00
ambientocclusion ed271911c2 Fixed build issues on macOS (#22075)
* Fixed deprecated enum value

* Changed to build Qt replay on macOS
2021-08-30 09:18:14 -07:00
Willem Melching 346cab9544 pylint: ignore unspecified-encoding 2021-08-30 09:15:55 -07:00
Adeeb Shihadeh 6b1119274b disable tici camerad test while device is down for maintenance 2021-08-30 00:16:43 -07:00
Adeeb Shihadeh 553b2eb4c3 bump cereal 2021-08-29 22:18:05 -07:00
Adeeb Shihadeh 4be956f886 Revert 2021 Accord (#22063)
* bump panda

* Revert "Car Port: 2021 Accord 2.0 Touring & Hybrid Touring (#22007)"

This reverts commit 7e53a42984.

* revert release notes

* bump panda
2021-08-28 21:28:14 -07:00
Willem Melching dddab597bc Less open file permissions (#21922)
* Less open file permissions

* add test back

* remove params test for permissions

* remove umask

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-28 18:25:05 -07:00
Dean Lee 0f4227f42b qcom2/enqueue_buffer: use macro CAM_MEM_FLAG_HW_READ_WRITE (#22060) 2021-08-28 17:43:50 -07:00
Adeeb Shihadeh 9afa0eec64 don't check cpu usage in simulation mode 2021-08-28 14:55:12 -07:00
Dean Lee ffb1dd019e camera_qcom2.cc: use V4L_EVENT_CAM_REQ_MGR_EVENT (#22057) 2021-08-28 14:49:56 -07:00
Dean Lee df6432c8cd camera_qcom2: remove unused variables from MultiCameraState (#22058) 2021-08-28 14:44:30 -07:00
Adeeb Shihadeh 86a73497de add fit to widget option to camera view (#22056)
* add fit to widget option to camera view

* add clicked signal

* cleanup

* use release for driverview

Co-authored-by: Comma Device <device@comma.ai>
2021-08-28 13:08:48 -07:00
Dean Lee 3b0b20ba4b panda_state_thread: replace stoi with atoi (#21981) 2021-08-27 14:25:24 -07:00
jonjander 8e38844ab5 Add Kia Niro EV 2020 FW (#22047)
* Added esp fw for Kia Niro EV 2021

* Added Niro EV 2021 to README

* fixed end of line

* Update README.md

* Update README.md

Co-authored-by: Jon Jander <jon.jander@ptj.se>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-27 14:11:49 -07:00
Adeeb Shihadeh 9be7cf2cda remove deprecated mpc logging code 2021-08-26 13:33:43 -07:00
Adeeb Shihadeh 6c25b44369 installer: add cache path on userdata (#22045)
* installer: add cache path on userdata

* keep legacy as is

* only copy

* print cache path

* comment
2021-08-26 10:43:47 -07:00
Adeeb Shihadeh 822e93af3a remove duplicate fw 2021-08-25 22:42:07 -07:00
J4CY f5e35aa0b6 2021 Hyundai Sonata Additional FW (#22033)
* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update selfdrive/car/hyundai/values.py

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

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-25 22:25:11 -07:00
Jason Young 530ef872c5 VW MQB: Add FW for 2020 Volkswagen Tiguan (#22046) 2021-08-25 19:58:55 -07:00
Adeeb Shihadeh 26b74dd31d bump version to 0.8.9 2021-08-25 14:35:17 -07:00
Jafar Al-Gharaibeh a949a49d5e Batch of Mazda FW (#22037)
* Mazda CX-9 2021 fw

dongle-id: 09190764dd71c810

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda CX-5 2017 FW

dongle-id: ec9d14ccafd6a5bd

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda 6 2021 FW

dongle-id: afdcf7eee0222886

* Mazda CX-5 2019 Diesel FW

dongle-id: a90d564521cb048e

Co-authored-by: Shubham Arora <shubhama1903@gmail.com>
Co-authored-by: srbaumruk205 <72043516+srbaumruk205@users.noreply.github.com>
2021-08-25 11:16:26 -07:00
Adeeb Shihadeh 084b932eeb UI: show thermal status instead of ambient temp (#22041)
* no number

* space evenly
2021-08-25 11:01:04 -07:00
Dean Lee dec9addce0 Alert::equal: pass Alert by const reference (#22044) 2021-08-25 09:33:27 -07:00
Chad_Peng 82169da74c Add Skoda Kodiaq 2019 fw (#22039)
Co-authored-by: Chad2_Peng <chad2_peng@askey.com.tw>
2021-08-24 10:03:56 -07:00
Adeeb Shihadeh dde69fb933 agnos 1.4 (#22029) 2021-08-23 20:35:04 -07:00