Commit Graph

4928 Commits

Author SHA1 Message Date
sshane 41b7cbdadf longitudinal comments (#21898)
* cmt

* Update longcontrol.py
old-commit-hash: 737a79e556
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: 358cdaaefd
2021-08-11 10:27:22 +02:00
Adeeb Shihadeh 61cd06b859 openpilot nightly installer
old-commit-hash: 3616602cd2
2021-08-10 11:29:41 -07:00
Dean Lee 7c3ae2dadd BASE_URL: use util::getenv (#21894)
old-commit-hash: 62d34ed4e5
2021-08-10 11:15:09 -07:00
Harald Schafer 6695eaacd9 better name
old-commit-hash: 543a0c509d
2021-08-10 11:00:35 -07:00
Dean Lee 0a445b571a fix lead2 not updated (#21895)
old-commit-hash: 339aa5e3f9
2021-08-10 10:58:28 -07:00
Mitchell Goff 7fffcd9baa Update long_mpc api for use with sim (#21890)
old-commit-hash: 3022f68fa7
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: 71a44cc275
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: fb0d099362
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: 3a7959b5ff
2021-08-09 11:56:45 +02:00
Willem Melching 3c828f9fbf test_onroad: increase driverState timing to avoid random failures
old-commit-hash: aa89bb727e
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: d90188a14e
2021-08-09 09:43:11 +02:00
Adeeb Shihadeh e43bc042a7 clpeak no print patch
old-commit-hash: 511f5a7589
2021-08-07 23:27:21 -07:00
Adeeb Shihadeh 9b1a7a6f01 use same env variable for loggerd, deleter, and uploader
old-commit-hash: 1d4b19f739
2021-08-07 18:58:11 -07:00
Adeeb Shihadeh 52d8c21dc7 update ssh readme for c3
old-commit-hash: 45b5df5b08
2021-08-07 11:36:34 -07:00
Adeeb Shihadeh 13b3649211 add that back
old-commit-hash: 8aafbc78f6
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: fd53169ade
2021-08-06 15:20:32 -07:00
Adeeb Shihadeh 0380acffc0 add boardd as a managed process for tests
old-commit-hash: fcae199723
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: a39873872d
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: e0087fc313
2021-08-05 21:06:46 -07:00
HaraldSchafer 331eb5d553 Draw model leads (#21864)
* draw model not radar

* compiles

* wrong way
old-commit-hash: 276b00ccb8
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: 0066523b88
2021-08-05 16:29:37 -07:00
Adeeb Shihadeh 5c2d426053 process replay: fix hang after process time out
old-commit-hash: d68b0bd104
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: aa689176fc
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: d74def61f8
2021-08-05 12:05:49 -07:00
Adeeb Shihadeh 1d32a6ed68 fix cpu usage test for soundd
old-commit-hash: 036bc034b8
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: 25de93d133
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: d0fa98931b
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: 7166f166c0
2021-08-04 20:24:51 -07:00
Adeeb Shihadeh 6c4bf564c4 agnos 1.2 (#21847)
old-commit-hash: 589f82c766
2021-08-04 11:10:05 -07:00
Harald Schafer acd45c486b Revert "nav: use calibrated orientation (#21853)"
This reverts commit cd19b37a6b187e0c26cdfe7c42e975abb1dc0155.

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

* msg added
old-commit-hash: 4b209f31a1
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: fefc70b4ca
2021-08-04 13:29:03 +02:00
Harald Schafer acb9d10674 bump cereal
old-commit-hash: 8f0d4d1891
2021-08-03 22:00:30 -07:00
Igor Biletskyy 19a853d532 fix files_common (#21849)
old-commit-hash: 02beaf2e07
2021-08-03 19:57:23 -07:00
Igor Biletskyy 49ad1ee996 bump panda (#21848)
old-commit-hash: a3ce32103c
2021-08-03 19:46:27 -07:00
Adeeb Shihadeh fa31a76843 bump version to 0.8.8
old-commit-hash: 780f737fbb
2021-08-03 18:40:11 -07:00
Adeeb Shihadeh b3f073a21b system reset improvements (#21844)
* reset improvements

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4f9e568019
2021-08-03 17:44:27 -07:00
Adeeb Shihadeh 8172eb9e7f embed continue scripts in installer (#21846)
* embed continue scripts in installer

* cleanup
old-commit-hash: 31a4b55218
2021-08-03 17:32:02 -07:00
Adeeb Shihadeh 94456fd143 remove wifisetup
old-commit-hash: ae1f5e0e8c
2021-08-03 17:29:01 -07:00
HaraldSchafer 9bf6eece7b Update README.MD
old-commit-hash: 5eeceb2ced
2021-08-03 16:59:13 -07:00
HaraldSchafer 37aa060f26 Create README.MD
old-commit-hash: bae238f9f9
2021-08-03 16:57:43 -07:00
Jason Young 223b6bd7b9 VW MQB: Add FW for 2017 SEAT Leon (#21843)
old-commit-hash: b5a0002b81
2021-08-03 14:14:16 -07:00
Igor Biletskyy 63a4227b16 bump panda (#21840)
old-commit-hash: 7112969e6f
2021-08-03 11:32:18 -07:00
Willem Melching 705988abb5 api_get: keep same api (#21838)
old-commit-hash: 267a0b343b
2021-08-03 15:33:41 +02:00
Dean Lee ceb40d8384 api: use API_HOST env variable everywhere (#21814)
* api base url to global constant

* update api/__init__.py
old-commit-hash: 543e019f71
2021-08-03 13:49:49 +02:00
sshane 51698f04bc 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>
old-commit-hash: c900bce1b0
2021-08-03 13:47:46 +02:00
cfranhonda 98f4c4ddeb 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>
old-commit-hash: 060ba14eda
2021-08-03 11:36:19 +02:00
Adeeb Shihadeh c5a9d78523 use continue_dashcam for dashcam installer
old-commit-hash: 3129e058f8
2021-08-03 00:04:54 -07:00
Adeeb Shihadeh 4bfa83fae6 update nav ad (#21836)
old-commit-hash: 3a53a7b84b
2021-08-03 00:02:34 -07:00