Commit Graph

4201 Commits

Author SHA1 Message Date
HaraldSchafer da73249fc2 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
2021-08-16 17:06:19 -07:00
Dean Lee 67f5522914 sidebar: simplify updateState with QPair (#21927)
* ItemStatus

* add whitespace

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

* e392

* 40% less

* ref
2021-08-16 12:44:45 -07:00
Greg Hogan 64a6d325cd update hyundai palisade steer ratio (#21937) 2021-08-16 17:51:55 +02:00
Dean Lee 39870b195d params.cc: remove unnecessary static keyword (#21940) 2021-08-16 16:07:06 +02:00
Erich Moraga c4057a4ed9 Add missing engine f/w for 2022 Corolla sedan ICE (#21934) 2021-08-15 12:35:24 -07:00
Greg Hogan 1d64c18e49 athena: change test tearDown to setUp (#21935) 2021-08-14 22:27:22 -07:00
Adeeb Shihadeh 9e0bbab9ed DM readme (#21926)
* dm readme

* raw logs

* little mroe
2021-08-13 16:18:54 -07:00
Adeeb Shihadeh 196f1c364c update tici controlsd cpu usage 2021-08-13 14:52:27 -07:00
Adeeb Shihadeh 058724e61d agnos 1.3 (#21924)
* agnos 1.3

* update updater

Co-authored-by: Comma Device <device@comma.ai>
2021-08-13 13:57:45 -07:00
Greg Hogan a6debb999c athena: split data into multiple frames (#21918) 2021-08-13 08:38:36 -07:00
Greg Hogan 2dff84121e athena: add prefix param to listDataDirectory (#21906)
* athena: add prefix param to listDataDirectory

* only traverse directories that match prefix

* tests
2021-08-13 12:14:20 +02:00
Willem Melching 28823917ea 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
2021-08-13 11:51:08 +02:00
Adeeb Shihadeh 3193396969 tici: set amplifier config after exiting power save (#21920) 2021-08-13 00:46:54 -07:00
Mitchell Goff 05b37552f3 Retuned desire model (#21919)
* New model: d8e7f76f-7bec-4a83-af00-c0fae792527f/950

* Updated process replay refs

* Updated model replay ref
2021-08-12 21:06:26 -07:00
Willem Melching 512ab3d8fb nav: do not transition to next segment if we need to recompute 2021-08-12 19:50:14 +02:00
Greg Lincoln 1bb46d0cc8 Kia Niro HEV 2021 port (#21779)
* Initial Niro HEV 2021 port.

* Add test route and update readme.

* Tweak configuration.
2021-08-12 10:45:37 -07:00
Adeeb Shihadeh e598b78b5d 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>
2021-08-11 22:48:12 -07:00
Matthew Washburn e364084fa6 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>
2021-08-11 22:03:49 -07:00
Harald Schafer cae0819e8b whitespace 2021-08-11 21:11:44 -07:00
HaraldSchafer a8f3e2b3c2 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
2021-08-11 18:32:37 -07:00
Comma Device bafa3d0a72 set adsp lib path 2021-08-11 11:39:11 -07:00
Greg Hogan 3a578cb5b5 fix cd in process scripts (#21806)
* ui: fix cd in launch script

* do the rest

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-11 11:20:17 -07:00
sshane 737a79e556 longitudinal comments (#21898)
* cmt

* Update longcontrol.py
2021-08-11 01:33:59 -07:00
Willem Melching 358cdaaefd 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
2021-08-11 10:27:22 +02:00
Adeeb Shihadeh 3616602cd2 openpilot nightly installer 2021-08-10 11:29:41 -07:00
Dean Lee 62d34ed4e5 BASE_URL: use util::getenv (#21894) 2021-08-10 11:15:09 -07:00
Harald Schafer 543a0c509d better name 2021-08-10 11:00:35 -07:00
Dean Lee 339aa5e3f9 fix lead2 not updated (#21895) 2021-08-10 10:58:28 -07:00
Mitchell Goff 3022f68fa7 Update long_mpc api for use with sim (#21890) 2021-08-10 10:51:38 -07:00
Dean Lee 71a44cc275 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>
2021-08-10 14:42:46 +02:00
Willem Melching fb0d099362 Revert "test_onroad: increase driverState timing to avoid random failures"
This reverts commit aa89bb727e.
2021-08-09 19:25:16 +02:00
Dean Lee 3a7959b5ff fix: util::file_exists will return false on no permissions (#21880)
* fix bug

* add test case
2021-08-09 11:56:45 +02:00
Willem Melching aa89bb727e test_onroad: increase driverState timing to avoid random failures 2021-08-09 11:53:11 +02:00
Adeeb Shihadeh 511f5a7589 clpeak no print patch 2021-08-07 23:27:21 -07:00
Adeeb Shihadeh 1d4b19f739 use same env variable for loggerd, deleter, and uploader 2021-08-07 18:58:11 -07:00
Adeeb Shihadeh 8aafbc78f6 add that back 2021-08-06 15:48:16 -07:00
Harald Schafer fd53169ade Revert "add boardd as a managed process for tests"
This reverts commit fcae199723.
2021-08-06 15:20:32 -07:00
Adeeb Shihadeh fcae199723 add boardd as a managed process for tests 2021-08-06 11:47:30 -07:00
Willem Melching a39873872d 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>
2021-08-06 11:10:33 +02:00
HaraldSchafer e0087fc313 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
2021-08-05 21:06:46 -07:00
HaraldSchafer 276b00ccb8 Draw model leads (#21864)
* draw model not radar

* compiles

* wrong way
2021-08-05 20:35:03 -07:00
ZwX1616 0066523b88 DM model with better noise performance (#21733)
* smooth 3d4f

* update thresholds

* update ref commt

* update
2021-08-05 16:29:37 -07:00
Adeeb Shihadeh d68b0bd104 process replay: fix hang after process time out 2021-08-05 14:26:15 -07:00
HaraldSchafer aa689176fc 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>
2021-08-05 14:23:27 -07:00
arfy slowy d74def61f8 fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-08-05 12:05:49 -07:00
Adeeb Shihadeh 036bc034b8 fix cpu usage test for soundd 2021-08-05 11:58:53 -07:00
Willem Melching 25de93d133 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
2021-08-05 16:34:36 +02:00
Dean Lee d0fa98931b 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
2021-08-05 11:27:02 +02:00
sshane 7166f166c0 uiview.py update (#21859)
* clean up uiview and add pandastate for going onroad

* don't need radarState
2021-08-04 20:24:51 -07:00