Commit Graph

3654 Commits

Author SHA1 Message Date
Dean Lee
7b9555df75 camera_qcom2: refactor open_v4l_by_name_and_index (#22067)
* refactor

* small cleanup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: cf4ad99554ddbc7a96984f8876c733b4ee379656
2021-08-30 17:12:22 -07:00
Dean Lee
0fac38e34f 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
old-commit-hash: 935cbd3139993eac84f7936dfdb191deb86114f1
2021-08-30 17:12:09 -07:00
Dean Lee
467348f803 Params::put: fixed the wrong call to Params::remove instead of global ::remove (#21974)
* fix bug

* use unlink
old-commit-hash: 6be8520a84f7d43d1df5bc529a75be40be5f805b
2021-08-30 16:31:27 -07:00
Willem Melching
33c50f5ea6 revert ioctl changes to thneed
old-commit-hash: 813ddb0c18464ff2e8a62357cb621415b7edab88
2021-08-30 16:30:50 -07:00
Dean Lee
073898d8fd retry ioctls while errno == EINTR (#22054)
old-commit-hash: 31230e5b60aac7a7968a80d14e96f0a6fc9a9222
2021-08-30 16:07:34 -07:00
Dean Lee
6d054a0012 camera_qcom2: remove req_mgr_session_info from CameraState (#22059)
* remove req_mgr_session_info from CameraState

* handle should be int32_t
old-commit-hash: 37dda3d6bf98e86304bf19e88530cff60204fa45
2021-08-30 15:32:31 -07:00
Dean Lee
92627760de camera_qcom2: fix memory leaks in camera_open (#22061)
old-commit-hash: 7a80bf7fcc05b6955dd26dbbc1f6b44721f90781
2021-08-30 14:59:04 -07:00
HaraldSchafer
39aa741c32 Treat ILX braking like other Nidec hondas (#22078)
old-commit-hash: 68066168bed76ee99e0adfea6881e528ebd9d8fe
2021-08-30 13:47:13 -07:00
HaraldSchafer
a73a820338 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>
old-commit-hash: 1ac89f14aa7c45c56049e8dbb0d6c5bb83a0fc6b
2021-08-30 09:32:52 -07:00
Dean Lee
75f686f728 camera_qcom2.cc : fix wrong LOGD order (#22072)
old-commit-hash: 862f93f7f13ea8d4a3fabf30f97f7f624358b22b
2021-08-30 09:21:35 -07:00
kingkwok444
95e913f994 Toyota Corolla 2021 FW versions (#22074)
old-commit-hash: d859e326315a3001b72405e7431fcca9dd0953c2
2021-08-30 09:20:59 -07:00
ambientocclusion
488f3b2624 Fixed build issues on macOS (#22075)
* Fixed deprecated enum value

* Changed to build Qt replay on macOS
old-commit-hash: ed271911c218e37eb4eac8bca4e0e7b3f8acce06
2021-08-30 09:18:14 -07:00
Adeeb Shihadeh
b3e3708dbc Revert 2021 Accord (#22063)
* bump panda

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

This reverts commit b305a94049606c7a92aebf0e50dc21eda58aa017.

* revert release notes

* bump panda
old-commit-hash: 4be956f8861ecbb521ef9503a3c87b07c9d36721
2021-08-28 21:28:14 -07:00
Willem Melching
6f92abc815 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>
old-commit-hash: dddab597bcee0a103895509b7909743f97cbdf83
2021-08-28 18:25:05 -07:00
Dean Lee
88878cc2cd qcom2/enqueue_buffer: use macro CAM_MEM_FLAG_HW_READ_WRITE (#22060)
old-commit-hash: 0f4227f42b2a3610d6e26d5ad4f249fbf77f7dda
2021-08-28 17:43:50 -07:00
Adeeb Shihadeh
d0dce9a166 don't check cpu usage in simulation mode
old-commit-hash: 9afa0eec6451a37a0dc0c39bf4837edd2ad53531
2021-08-28 14:55:12 -07:00
Dean Lee
2658ef5243 camera_qcom2.cc: use V4L_EVENT_CAM_REQ_MGR_EVENT (#22057)
old-commit-hash: ffb1dd019ecad9f2230cea501cec9007229ab102
2021-08-28 14:49:56 -07:00
Dean Lee
eb17b4403e camera_qcom2: remove unused variables from MultiCameraState (#22058)
old-commit-hash: df6432c8cda96b0fe2d8e7d81a23295552fbc482
2021-08-28 14:44:30 -07:00
Adeeb Shihadeh
8cbf48b550 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>
old-commit-hash: 86a73497de4618c7a83bfa5038fa2d27e0aadec2
2021-08-28 13:08:48 -07:00
Dean Lee
ea344bb52f panda_state_thread: replace stoi with atoi (#21981)
old-commit-hash: 3b0b20ba4bab2a32d28145000a4f260ad38ea402
2021-08-27 14:25:24 -07:00
jonjander
6c2ea83efe 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>
old-commit-hash: 8e38844ab5039ce78ea6cfdecd2741081454cde6
2021-08-27 14:11:49 -07:00
Adeeb Shihadeh
9de66112fb remove deprecated mpc logging code
old-commit-hash: 9be7cf2cdaa4c274cc4fd55797ac5d6421fc9652
2021-08-26 13:33:43 -07:00
Adeeb Shihadeh
de3bb92025 installer: add cache path on userdata (#22045)
* installer: add cache path on userdata

* keep legacy as is

* only copy

* print cache path

* comment
old-commit-hash: 6c25b44369228915c825bbd1b178dc32f8505395
2021-08-26 10:43:47 -07:00
Adeeb Shihadeh
8a381a11db remove duplicate fw
old-commit-hash: 822e93af3af3d2de591624f4a6c73f102e4ef417
2021-08-25 22:42:07 -07:00
J4CY
3aac0a21c3 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>
old-commit-hash: f5e35aa0b627dac134f46ffeccfd9c8578af25b9
2021-08-25 22:25:11 -07:00
Jason Young
aa69c26fb6 VW MQB: Add FW for 2020 Volkswagen Tiguan (#22046)
old-commit-hash: 530ef872c5009dd282f3d16907bcfe43454d8329
2021-08-25 19:58:55 -07:00
Adeeb Shihadeh
e18d4064b8 bump version to 0.8.9
old-commit-hash: 26b74dd31d0ea92e510c8cf16fbcecb70c4d2ab4
2021-08-25 14:35:17 -07:00
Jafar Al-Gharaibeh
3e093adc60 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>
old-commit-hash: a949a49d5efaaf2d881143d23e9fb5ff9e28e88c
2021-08-25 11:16:26 -07:00
Adeeb Shihadeh
e4bd887f5c UI: show thermal status instead of ambient temp (#22041)
* no number

* space evenly
old-commit-hash: 084b932eebe41d94ab21055b79429c9aab05e551
2021-08-25 11:01:04 -07:00
Dean Lee
b558bbabab Alert::equal: pass Alert by const reference (#22044)
old-commit-hash: dec9addce019adde560f3b4bb2ca2f29ea502f32
2021-08-25 09:33:27 -07:00
Chad_Peng
3ae93f1d2f Add Skoda Kodiaq 2019 fw (#22039)
Co-authored-by: Chad2_Peng <chad2_peng@askey.com.tw>
old-commit-hash: 82169da74c4e02b8a9337f201482f2c5f405134b
2021-08-24 10:03:56 -07:00
Adeeb Shihadeh
af87a0b1a3 agnos 1.4 (#22029)
old-commit-hash: dde69fb933fb180f182ea27820dc7ac214510fd5
2021-08-23 20:35:04 -07:00
Jason Young
0d367eaaf3 VW MQB: Add FW for 2019 Audi A3 (#22032)
old-commit-hash: c59437d1312beab98476c0c83a2f6418e7b6ab8e
2021-08-23 20:13:13 -07:00
Jason Young
0642a7e0ce VW MQB: Add FW for 2020 Volkswagen Golf (#22034)
old-commit-hash: 5f8cd6a0f798a407c33031d7d7ce1c777e29766a
2021-08-23 20:13:02 -07:00
Adeeb Shihadeh
2dd317bb03 UI: use rcc on all platforms (#21966)
old-commit-hash: 9c7c4657f09a18293fef153612ff40d28ca6a848
2021-08-23 20:12:40 -07:00
Adeeb Shihadeh
80ca5b355f unify agnos/neos installers (#22023)
* c2 installer

* remove old installer

* move to its own dir

* die immediately

* fix that

* init app
old-commit-hash: 1ebe06d1c2339680452a8d9c08cc76bd38ee0949
2021-08-23 16:01:21 -07:00
Adeeb Shihadeh
88067d0cf3 count valids
old-commit-hash: 3179c64f44872dc02f062c166310e005b63d09ee
2021-08-23 12:02:08 -07:00
Adeeb Shihadeh
277bd43b15 Revert "tici: give loggerd rt priority (#21503)"
This reverts commit 0a50cf851e79342cf3db01033bc91516c504cbea.

old-commit-hash: 54a4eeb0fccd92c3b2f872175cfedf136a1cfc71
2021-08-22 16:57:53 -07:00
Adeeb Shihadeh
3b2a83e377 Add corolla fw from #21991
old-commit-hash: 78027b471fdaa0df87f9398d51214caf551f2af0
2021-08-22 16:40:32 -07:00
Dean Lee
496c0af226 Params: set ParamKeyType: ALL to 0xFFFFFFFF (#21978)
old-commit-hash: 4bbbbe5175f78eae660e7385c644f4f1392e6bdc
2021-08-22 13:09:14 -07:00
Adeeb Shihadeh
3c4005ed10 Car Port: 2021 Accord 2.0 Touring & Hybrid Touring (#22007)
* Add 2021 Accord 2.0 Touring & Hybrid Touring

- Create the HONDA_BOSCH_EXT set for HONDA_BOSCH cars that utilize the new extended IDs for LKAS_HUD

* Remove ids added to the wrong car

* add comment

* fix undefined signal

* fix tests

Co-authored-by: Chris Souers <csouers@gmail.com>
old-commit-hash: 7e53a42984b38eb45cad8628c225ded3f843d4bb
2021-08-22 12:50:58 -07:00
Adeeb Shihadeh
760cdcd896 Honda cleanup (#22008)
* cleanup magic numbers

* long tuning

* indentation

* remove noqa

* little more
old-commit-hash: 9e03aa0b92fd846bc643040fa8b8d4ab06ee2855
2021-08-22 00:27:48 -07:00
Adeeb Shihadeh
5c1d1ebe76 tici: give loggerd rt priority (#21503)
* give loggerd rt priority

* assert

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7e2752c878a9e8c38639e4caa234bcabb979db2e
2021-08-20 21:27:31 -07:00
Erich Moraga
fe6ef87073 Add missing LEXUS_RX engine f/w (#22001)
`fcong#3882` 2018 RX350 b890f95486961646|2021-08-20--22-47-35
old-commit-hash: 51ed2c6116b8f4df1417ebb38da0c7f7477456fa
2021-08-20 21:07:50 -07:00
Dean Lee
29ec7b83bf params: remove persistent params (#21975)
* cleanup constructors

* remove persistent_param

* remove test_persist_params_put_and_get
old-commit-hash: 3b752a307f167ad536eb53cceac76f7034f2faf9
2021-08-20 16:57:45 -07:00
Sergei Evdokimov
815079c220 Add toyota highlander hybrid 2020 fw (#21992)
old-commit-hash: b5bc5f748c3fb4540c89e56c81867cc6fda66431
2021-08-20 14:47:35 -07:00
Jason Young
16e837e853 VW MQB: Add FW for 2018 Škoda Octavia (#21994)
old-commit-hash: 3e049d9f946d51d589acaadb20b30c099d2dcd3c
2021-08-20 11:29:38 -07:00
ZwX1616
eb850bb0fc c3 dm tweak with latest data (#21982)
old-commit-hash: 904f140a6d40c661c00e9bd3498fc673ad907131
2021-08-20 10:34:01 -07:00
Adeeb Shihadeh
ac8b08fa0c alert for per-core cpu usage (#21983)
* thermald: per-core cpu usage

* add alert

* better alert text

* list

* fix process replay
old-commit-hash: fc8b571a847f1a89abb331eef8f85f310453fd77
2021-08-19 19:14:51 -07:00
Igor Biletskyy
b82c83ccae Add argument to Panda to connect by serial number (#21905)
* Add list() to panda.cc

* add default

* change var names

* comments

* advices

* revert

* ...

* ..

* connect by serial

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fc56ae70ee147c8665a818b95cbd3d2b7a5fd80b
2021-08-19 19:06:24 -07:00