Commit Graph

4375 Commits

Author SHA1 Message Date
Adeeb Shihadeh
8b82bc3f37 add car ports to release notes 2021-08-12 11:08:56 -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
qadmus
b9601dfe9d plotjuggler takes cabana shared links (#21899)
* plotjuggler cabana shared links

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

* revert

* check length directly
2021-08-09 09:43: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
45b5df5b08 update ssh readme for c3 2021-08-07 11:36:34 -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
Adeeb Shihadeh
589f82c766 agnos 1.2 (#21847) 2021-08-04 11:10:05 -07:00
Harald Schafer
e63d94d8d2 Revert "nav: use calibrated orientation (#21853)"
This reverts commit 4b209f31a1.
2021-08-04 10:41:49 -07:00
HaraldSchafer
4b209f31a1 nav: use calibrated orientation (#21853)
* calibrate map

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

* apply review
2021-08-04 13:29:03 +02:00
Harald Schafer
8f0d4d1891 bump cereal 2021-08-03 22:00:30 -07:00
Igor Biletskyy
02beaf2e07 fix files_common (#21849) 2021-08-03 19:57:23 -07:00
Igor Biletskyy
a3ce32103c bump panda (#21848) 2021-08-03 19:46:27 -07:00
Adeeb Shihadeh
780f737fbb bump version to 0.8.8 2021-08-03 18:40:11 -07:00
Adeeb Shihadeh
4f9e568019 system reset improvements (#21844)
* reset improvements

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-08-03 17:44:27 -07:00
Adeeb Shihadeh
31a4b55218 embed continue scripts in installer (#21846)
* embed continue scripts in installer

* cleanup
2021-08-03 17:32:02 -07:00