Commit Graph

4943 Commits

Author SHA1 Message Date
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
mitchellgoffpc 5fc02d4bc8 Added release notes for new model
old-commit-hash: d9cb494aad9803e1247169a20fbc56449e0d8c56
2021-08-12 21:10:52 -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
Adeeb Shihadeh 9733e2f5f1 add car ports to release notes
old-commit-hash: 8b82bc3f3757c19ff793dce3e03c21e37503edb7
2021-08-12 11:08:56 -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
qadmus 87de705dc0 plotjuggler takes cabana shared links (#21899)
* plotjuggler cabana shared links

* extra newline
old-commit-hash: b9601dfe9d2e97be8b9aade11fa74c3772c30e26
2021-08-12 11:00:54 +02:00
speedking456 4895422c90 fix tools readme url typo (#21913)
old-commit-hash: 69da1a6e6e11c3d382570607739330745638bc17
2021-08-11 23:03:00 -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
Maxime Desroches 202af3bb4e tools: fix replay/camera.py crash (#21881)
* check array size before reshape

* revert

* check length directly
old-commit-hash: d90188a14e7f9a8e07850b4577cdaca037aa4903
2021-08-09 09:43: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 52d8c21dc7 update ssh readme for c3
old-commit-hash: 45b5df5b08342ef41a06d38731c6c160de9e7da0
2021-08-07 11:36:34 -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
HaraldSchafer 331eb5d553 Draw model leads (#21864)
* draw model not radar

* compiles

* wrong way
old-commit-hash: 276b00ccb805b8071db4352b406f39233c2c3867
2021-08-05 20:35:03 -07:00
ZwX1616 fd0839c85d DM model with better noise performance (#21733)
* smooth 3d4f

* update thresholds

* update ref commt

* update
old-commit-hash: 0066523b887b923563928012c9c5f4db74e0b0ea
2021-08-05 16:29:37 -07:00
Adeeb Shihadeh 5c2d426053 process replay: fix hang after process time out
old-commit-hash: d68b0bd10460794811b2f3d12883e33aecf0f107
2021-08-05 14:26:15 -07:00
HaraldSchafer b615987244 Cleaner lane change alerts (#21857)
* less is more

* small

* remove HUD warnings

* update ref

* safe

* update refs

* update again

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aa689176fc84e57f16a4fe9f1769e76fb8effc46
2021-08-05 14:23:27 -07:00
arfy slowy 63b3d6024b fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d74def61f88937302f7423eea67895d5f4c596b5
2021-08-05 12:05:49 -07:00
Adeeb Shihadeh 1d32a6ed68 fix cpu usage test for soundd
old-commit-hash: 036bc034b813c338b784dd0855a94eba8e583fdf
2021-08-05 11:58:53 -07:00
Willem Melching 9038e1b86f C3 AE improvements (#21698)
* AE improvements

* boardd: also use gain to compute IR brightness

* use default rect for DM autoexposure

* more smooth

* whitespace

* camerad cpu usage

* hcg on is slightly better for noise

* hysteris around high conversion gain

* improve i2c timing

* use AB contexts

* HCG default off

* run at 10 hz

* stay in context A for now

* remove ae thread

* wait till next frame is started before sending i2c

* back at 20fps

* add comment and filter across 3 evs

* remove context switch code

* tuning

* recomened without HCG is 0.8x
old-commit-hash: 25de93d133c386c353155c2b782e3807c46150cd
2021-08-05 16:34:36 +02:00
Dean Lee ee8b53a7e8 proclogd: reduce the size of the procLog message by nearly half (#21800)
* cp msg to remove the space

* no orphans

* cleanup

* parse using istringstream

* add test

* split files

* cleanup

* add parser.cc to files_common

* add test for build message

* use > 0

* cleanup

* test proc/self/stat

* more test

* dd

* fix bug

* update test

* refactor pidStat

* cleanup

* test exe

* check procs size in message

* rename pidStat->ProcStat

* don't use util::format_string

* robust pids()

* catch conversion exception

* fix softirq

* udpate test

* use istringstream

* use REQUIRE_THAT&cleanup

* reserve vector of procStats

* use istream to parse cmdline

* cleanup
old-commit-hash: d0fa98931b22d60e0e70a54d683905d8b34ffb10
2021-08-05 11:27:02 +02:00
sshane 6f090bf646 uiview.py update (#21859)
* clean up uiview and add pandastate for going onroad

* don't need radarState
old-commit-hash: 7166f166c077c47a1463642dd763b884a971aea1
2021-08-04 20:24:51 -07:00
Adeeb Shihadeh 6c4bf564c4 agnos 1.2 (#21847)
old-commit-hash: 589f82c76627d634761a31a34b2488403556eb0b
2021-08-04 11:10:05 -07:00
Harald Schafer acd45c486b Revert "nav: use calibrated orientation (#21853)"
This reverts commit cd19b37a6b187e0c26cdfe7c42e975abb1dc0155.

old-commit-hash: e63d94d8d24975d308e17b7ce71fdb6b5529dac4
2021-08-04 10:41:49 -07:00
HaraldSchafer 1c35dc951d nav: use calibrated orientation (#21853)
* calibrate map

* msg added
old-commit-hash: 4b209f31a11546a3a56032558c656c2aa0b3175f
2021-08-04 09:58:04 -07:00
Dean Lee 94d534afea hw.h: move Hardware-related paths to namespace Path (#21826)
* refactor getenv and path

* apply review
old-commit-hash: fefc70b4cab71a11b3c5ed1b8680606ee2013a48
2021-08-04 13:29:03 +02:00
Harald Schafer acb9d10674 bump cereal
old-commit-hash: 8f0d4d18913dbffca7b3c0326eaa4589314a206c
2021-08-03 22:00:30 -07:00
Igor Biletskyy 19a853d532 fix files_common (#21849)
old-commit-hash: 02beaf2e071da654c21708e60f4743ce86f8f4ef
2021-08-03 19:57:23 -07:00