Commit Graph

3593 Commits

Author SHA1 Message Date
Adeeb Shihadeh
f0fcb68bb9 fix up can replay script
old-commit-hash: fd81a5556ba918dbd3079edd955a1512aac0f6d6
2021-08-18 14:06:06 -07:00
Lasse Skov
656867945e Added new fingerprint for Skoda Superb Mk3 (#21954)
* Added values for SKODA SUPERB III (3V3) 1.8 TSI (180Hk)

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4f7840a83c2c7ec8ea3110855a8c33448faa6047
2021-08-18 12:48:18 +02:00
Willem Melching
5bdd6a5165 Write panda heartbeat lost in param (#21957)
old-commit-hash: 2abd288567d849dc52bf664f3c536908f2a183c7
2021-08-18 12:48:01 +02:00
Dean Lee
7d09945de3 BZFile: handle EINTR on BZ2_bzWrite (#21949)
old-commit-hash: b66e8adbefc3c8a360917fb0b8b8023374a63320
2021-08-18 12:08:07 +02:00
Dean Lee
aff7f0b1f3 enclose macro arguments in parentheses (#21947)
* macro argument should be enclosed in parentheses

* CL_CHECK
old-commit-hash: 4625098a7953308cc76c6c9b81d28e6bb89f671c
2021-08-18 10:56:37 +02:00
Dean Lee
f32b1655e4 cameras_qcom2.cc: add a missing newline (#21956)
old-commit-hash: 74ecbbed638c390beb50d3c932779492a5f0af97
2021-08-18 10:37:05 +02:00
HaraldSchafer
6bed02373e Remove acura (#21946)
* treat acura like nidec

* treat acura like nidec
old-commit-hash: 1c6c56a9dfa7308d31c24ac20a07baa73ac41059
2021-08-17 11:44:22 -07:00
Dean Lee
b8ea2db6ae swagLogMessageHandler: replace magic number with macro (#21944)
old-commit-hash: e573985c10bd88b64617babc676bafc35c23a249
2021-08-17 17:51:13 +02:00
HaraldSchafer
e13349366e Remove HUD alert from green DM alert (#21942)
old-commit-hash: c0cacc7d2f30b18f1a19eb3b508a62ba4e2f0121
2021-08-16 22:30:51 -07:00
HaraldSchafer
a30fc4b5db Retune nidec long (#21941)
* retune civic

* add a deadzone

* large diffs may not be ok

* typo

* seems smooth

* improve pedal

* back to normal

* new ref

* new ref
old-commit-hash: da73249fc243fd3f926c1c8e3ed21d681de956bb
2021-08-16 17:06:19 -07:00
Dean Lee
dfac8f778f sidebar: simplify updateState with QPair (#21927)
* ItemStatus

* add whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 67f55229140e2a0cc6071952dbc4a17a1edfc99b
2021-08-16 14:21:47 -07:00
ZwX1616
7c2a076d0e DM 0.8.8 (#21897)
* update threshs

* e392

* 40% less

* ref
old-commit-hash: 00ea7c1c8210201b31b73c2bf603b47d04bc5e37
2021-08-16 12:44:45 -07:00
Greg Hogan
b915801f95 update hyundai palisade steer ratio (#21937)
old-commit-hash: 64a6d325cd62831067ed27bb7ef81322100b8503
2021-08-16 17:51:55 +02:00
Dean Lee
11876a275e params.cc: remove unnecessary static keyword (#21940)
old-commit-hash: 39870b195dd9377a2808273c48570fefb7a56994
2021-08-16 16:07:06 +02:00
Erich Moraga
00f2cf4565 Add missing engine f/w for 2022 Corolla sedan ICE (#21934)
old-commit-hash: c4057a4ed96277e768693953944f693fe1bbbd6b
2021-08-15 12:35:24 -07:00
Greg Hogan
6cbe7f0749 athena: change test tearDown to setUp (#21935)
old-commit-hash: 1d64c18e499ee4ca51d8fca126488861e9943d4f
2021-08-14 22:27:22 -07:00
Adeeb Shihadeh
e08e5260c6 DM readme (#21926)
* dm readme

* raw logs

* little mroe
old-commit-hash: 9e0bbab9ed4bbfe9465ee6377efac90e64a445ba
2021-08-13 16:18:54 -07:00
Adeeb Shihadeh
1ed6750e72 update tici controlsd cpu usage
old-commit-hash: 196f1c364c2f0ec46bf3c3ca057731a3d62ac151
2021-08-13 14:52:27 -07:00
Adeeb Shihadeh
2c5f93bccc agnos 1.3 (#21924)
* agnos 1.3

* update updater

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 058724e61daf4134af4a22deecdcc2803154fb8d
2021-08-13 13:57:45 -07:00
Greg Hogan
b143411521 athena: split data into multiple frames (#21918)
old-commit-hash: a6debb999c1a4cd8e82ce71bdfb128d76f2923ef
2021-08-13 08:38:36 -07:00
Greg Hogan
9357587ace athena: add prefix param to listDataDirectory (#21906)
* athena: add prefix param to listDataDirectory

* only traverse directories that match prefix

* tests
old-commit-hash: 2dff84121e6966088c4941470a3d9fce12234d8f
2021-08-13 12:14:20 +02:00
Willem Melching
dad760624a athena: return current upload status in listUploadQueue (#21903)
* return current upload item in listUploadQueue

* update progress on read

* move to file helpers

* use dict instead of global
old-commit-hash: 28823917ea87edebf66f568f15f965028b0a2ff5
2021-08-13 11:51:08 +02:00
Adeeb Shihadeh
48f53addbf tici: set amplifier config after exiting power save (#21920)
old-commit-hash: 31933969693b0e1b62fcf94953f2c46b0c2213d0
2021-08-13 00:46:54 -07:00
Mitchell Goff
b7b87efed9 Retuned desire model (#21919)
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950

* Updated process replay refs

* Updated model replay ref
old-commit-hash: 05b37552f3a38f914af41f44ccc7c633ad152a15
2021-08-12 21:06:26 -07:00
Willem Melching
10447b6d04 nav: do not transition to next segment if we need to recompute
old-commit-hash: 512ab3d8fbee97ef3cfb2dcd0773c0dca2de8656
2021-08-12 19:50:14 +02:00
Greg Lincoln
44e376dae3 Kia Niro HEV 2021 port (#21779)
* Initial Niro HEV 2021 port.

* Add test route and update readme.

* Tweak configuration.
old-commit-hash: 1bb46d0cc863b50629ce7ce67017a5646bedb443
2021-08-12 10:45:37 -07:00
Adeeb Shihadeh
a28bae6fcd Car Port: Kona Hybrid 2020 (#21912)
* Update carcontroller.py

* Update hyundaican.py

* Update interface.py

* Update interface.py

* Update values.py

* add test route

* merge the konas

* add to readme

Co-authored-by: haram-KONA <88036668+haram-KONA@users.noreply.github.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e598b78b5d0c72e3814e97087b88099d5c278fdf
2021-08-11 22:48:12 -07:00
Matthew Washburn
048eeb4be3 Sonata Hybrid 2021 (#21850)
* Add support for Hyundai Sonata Hybrid

* Update test_routes.py

* whitespace

* same params as sonata

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e364084fa68569e968e66a275461da35e19df3ac
2021-08-11 22:03:49 -07:00
Harald Schafer
b55d0edfe0 whitespace
old-commit-hash: cae0819e8b66fa53955f4c3c886b64e07ec5ee23
2021-08-11 21:11:44 -07:00
HaraldSchafer
6fa8d389f3 Change long control honda pilot, ridgeline, honda fit, civic, ilx (#21886)
* not used

* just use gas

* allow gas

* try 0

* typo

* set to default

* set default

* makes more sense

* downtune and cleanup

* max accel always

* that is needed to smooth gas to brake

* try downtuning low speed

* try from default

* nidec is not bosch

* air resistance exists

* more smoothing

* wind brake sooner

* Civic experiments2 (#21862)

* control on throttle

* throttle modifier

* get acura in line

* try set speed control again (#21870)

* new acura function

* put back

* put back

* make linter happy

* define wind_brake once

* Civic experiments (#21908)

* remove civic

* start from scratch

* data drivenm

* the data does not lie

* data collection

* data driven

* limit

* final candidate

* fix windbrake

* Civic experiments (#21910)

* remove civic

* start from scratch

* data drivenm

* the data does not lie

* data collection

* data driven

* limit

* final candidate

* fix windbrake

* add acura control

* more cleanup

* cleanup

* update ref

* clip

* seems to fault

* always continuous

* new ref
old-commit-hash: a8f3e2b3c26f2b617a1c9c94250b44adce861d04
2021-08-11 18:32:37 -07:00
Comma Device
3c9ce1ab2a set adsp lib path
old-commit-hash: bafa3d0a722de8e99e28057d603ed8abe0d40f7d
2021-08-11 11:39:11 -07:00
Greg Hogan
a61f2a8362 fix cd in process scripts (#21806)
* ui: fix cd in launch script

* do the rest

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3a578cb5b5370cec19b10e96bf6273698e3a9a08
2021-08-11 11:20:17 -07:00
sshane
41b7cbdadf longitudinal comments (#21898)
* cmt

* Update longcontrol.py
old-commit-hash: 737a79e5560816f1ef852eb42f761af86f57a55c
2021-08-11 01:33:59 -07:00
Willem Melching
e6847fc2af Improve perceived display brightness (#21884)
* tweak light sensor function

* CIE 1931 compensation

* before filter

* C3 scaling

* C2 is also linear

* whitespace

* scaling and min brightness
old-commit-hash: 358cdaaefd71dbfebbe07a5e6aaa19e35fae1827
2021-08-11 10:27:22 +02:00
Adeeb Shihadeh
61cd06b859 openpilot nightly installer
old-commit-hash: 3616602cd20e328f70d3dd206067e1bd2e78c239
2021-08-10 11:29:41 -07:00
Dean Lee
7c3ae2dadd BASE_URL: use util::getenv (#21894)
old-commit-hash: 62d34ed4e5f372f5ed457b4b20b76799272b8776
2021-08-10 11:15:09 -07:00
Harald Schafer
6695eaacd9 better name
old-commit-hash: 543a0c509dbdb17f6dfe20b7e5345a905adcf5bd
2021-08-10 11:00:35 -07:00
Dean Lee
0a445b571a fix lead2 not updated (#21895)
old-commit-hash: 339aa5e3f9779891aca92cb84dd40c7bbfa60f1c
2021-08-10 10:58:28 -07:00
Mitchell Goff
7fffcd9baa Update long_mpc api for use with sim (#21890)
old-commit-hash: 3022f68fa70574202d7bd5ed0100133719e2316c
2021-08-10 10:51:38 -07:00
Dean Lee
f52983fbfc clocksd: handle EINTR on read() (#21892)
* handle EINTR on read

* Update selfdrive/clocksd/clocksd.cc

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

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 71a44cc27569fe77521ed0d2f0702e6ddd5f1f1a
2021-08-10 14:42:46 +02:00
Willem Melching
fb46b457eb Revert "test_onroad: increase driverState timing to avoid random failures"
This reverts commit fa95ea86e9021abf791ddc4bec2cdf8b505d909b.

old-commit-hash: fb0d099362086c99beaa08e9b8b5934a0534d1c5
2021-08-09 19:25:16 +02:00
Dean Lee
16c727b65c fix: util::file_exists will return false on no permissions (#21880)
* fix bug

* add test case
old-commit-hash: 3a7959b5ffff6f866e592fc815692ec469f4fbb6
2021-08-09 11:56:45 +02:00
Willem Melching
3c828f9fbf test_onroad: increase driverState timing to avoid random failures
old-commit-hash: aa89bb727ecc3f12e29e5e7f75b3c54cc89b9cb7
2021-08-09 11:53:11 +02:00
Adeeb Shihadeh
e43bc042a7 clpeak no print patch
old-commit-hash: 511f5a758940d75bf4d75313675c732c954e5b06
2021-08-07 23:27:21 -07:00
Adeeb Shihadeh
9b1a7a6f01 use same env variable for loggerd, deleter, and uploader
old-commit-hash: 1d4b19f739270bd6b075c7ea9b48e7460ab867c0
2021-08-07 18:58:11 -07:00
Adeeb Shihadeh
13b3649211 add that back
old-commit-hash: 8aafbc78f65a398b7d354a68453df15c1324eb9d
2021-08-06 15:48:16 -07:00
Harald Schafer
d55933a0dd Revert "add boardd as a managed process for tests"
This reverts commit ea7dee7a7f9bda827aab4cfe7c84f067e4608473.

old-commit-hash: fd53169adea4fb720c9cc4073bea3a8a82457115
2021-08-06 15:20:32 -07:00
Adeeb Shihadeh
0380acffc0 add boardd as a managed process for tests
old-commit-hash: fcae1997237bf982a8b2e8c49f315c0921e56157
2021-08-06 11:47:30 -07:00
Willem Melching
ae4f3c98d5 refactor loggerd: trigger rotate in encoder thread (#21860)
* trigger rotate in eoncode thread

* rotate in time

* lgtm

* dcam trigger rotate on C3

* check trigger rotate field

* Use >=

* add rotator thread

* set cnt to 0

* test encodeIdx is increasing across segments

* test both segmentId and encodeId

* fix encodeIdx

* no thread needed

* add log for failed to encode

* stricter C3 test, dont check start encodeId on C2 dcam

* only update last_camera_seen_tms when considered for rotate

Co-authored-by: deanlee <deanlee3@gmail.com>
old-commit-hash: a39873872de5b2239e4b89119974e5aa961eba48
2021-08-06 11:10:33 +02:00
HaraldSchafer
3eb667e29d Fix orientation in map (#21863)
* fix calibrated orientation

* update ref

* cleaner

* update ref

* master

* update again

* update ref again again

* actually compiled this tim,e
old-commit-hash: e0087fc313b4032532e3736a4be2b07510a0c9bf
2021-08-05 21:06:46 -07:00