Commit Graph

4357 Commits (71a44cc27569fe77521ed0d2f0702e6ddd5f1f1a)

Author SHA1 Message Date
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
Adeeb Shihadeh ae1f5e0e8c remove wifisetup 2021-08-03 17:29:01 -07:00
HaraldSchafer 5eeceb2ced
Update README.MD 2021-08-03 16:59:13 -07:00
HaraldSchafer bae238f9f9
Create README.MD 2021-08-03 16:57:43 -07:00
Jason Young b5a0002b81
VW MQB: Add FW for 2017 SEAT Leon (#21843) 2021-08-03 14:14:16 -07:00
Igor Biletskyy 7112969e6f
bump panda (#21840) 2021-08-03 11:32:18 -07:00
Willem Melching 267a0b343b
api_get: keep same api (#21838) 2021-08-03 15:33:41 +02:00
Dean Lee 543e019f71
api: use API_HOST env variable everywhere (#21814)
* api base url to global constant

* update api/__init__.py
2021-08-03 13:49:49 +02:00
sshane c900bce1b0
Use first order filter (#21411)
* Use first order filter in INDI

* use first order filter in LP as well

* Update selfdrive/controls/lib/lane_planner.py

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

* RC->rc

* division safe

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-03 13:47:46 +02:00
cfranhonda 060ba14eda
Honda Civic Bosch send LEGACY_BRAKE_COMMAND when radar disabled (#21476)
* Update hondacan.py

* Update hondacan.py

* Update hondacan.py

Co-authored-by: Casey Francis <@CFranHonda>
2021-08-03 11:36:19 +02:00
Adeeb Shihadeh 3129e058f8 use continue_dashcam for dashcam installer 2021-08-03 00:04:54 -07:00
Adeeb Shihadeh 3a53a7b84b
update nav ad (#21836) 2021-08-03 00:02:34 -07:00
aniva 02da4375e5
Add fingerprint for 2018 honda accord sport 2.0L canadian version (#21831) 2021-08-02 23:41:10 -07:00
Adeeb Shihadeh 1f341a2810 we have release branches now 2021-08-02 22:18:06 -07:00
Igor Biletskyy 6b0e89afa2
bump cereal (#21835) 2021-08-02 22:08:38 -07:00
Dean Lee f5c95b026a
OffroadHome: update alerts immediately in showEvent (#21808) 2021-08-02 22:07:07 -07:00
Adeeb Shihadeh fb028041cd
remove alert for stock fcw (#21834) 2021-08-02 21:59:03 -07:00
Dean Lee 8f7fc61e48
Sidebar: set Qt::WA_OpaquePaintEvent attribute (#21782) 2021-08-02 21:26:09 -07:00
Dean Lee 776516d72b
Qt/spinner: reduce cpu usage from 12% to 9% (#21552)
* faster spinner

* reduce to 6%

* Revert "reduce to 6%"

This reverts commit 65e23bb7a9542ccca13b8f01b7a5d56580a61bf6.
2021-08-02 21:24:02 -07:00