Commit Graph

4922 Commits

Author SHA1 Message Date
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
Igor Biletskyy
49ad1ee996 bump panda (#21848)
old-commit-hash: a3ce32103c097036a1cbaacf7b30c2d7796800b0
2021-08-03 19:46:27 -07:00
Adeeb Shihadeh
fa31a76843 bump version to 0.8.8
old-commit-hash: 780f737fbb642d2c241c70022e958f2fa336a80a
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: 4f9e568019492126e236da85b5ca0a059f292900
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: 31a4b55218b3e28b155bd34c3cca589a65f65ad7
2021-08-03 17:32:02 -07:00
Adeeb Shihadeh
94456fd143 remove wifisetup
old-commit-hash: ae1f5e0e8c8adf3bbbf4077ea141c7a2012cecab
2021-08-03 17:29:01 -07:00
HaraldSchafer
9bf6eece7b Update README.MD
old-commit-hash: 5eeceb2ced41dbcdd87c0e3901d3cf75d1baead2
2021-08-03 16:59:13 -07:00
HaraldSchafer
37aa060f26 Create README.MD
old-commit-hash: bae238f9f98fa43cf18778b9a095ec781009f8dd
2021-08-03 16:57:43 -07:00
Jason Young
223b6bd7b9 VW MQB: Add FW for 2017 SEAT Leon (#21843)
old-commit-hash: b5a0002b8100285cb648005c2c7dd2ab777014f2
2021-08-03 14:14:16 -07:00
Igor Biletskyy
63a4227b16 bump panda (#21840)
old-commit-hash: 7112969e6f2804ac8f90834da150b0285c8d3c0b
2021-08-03 11:32:18 -07:00
Willem Melching
705988abb5 api_get: keep same api (#21838)
old-commit-hash: 267a0b343b0ad607ee0cddcf62de5e18966d4390
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: 543e019f715a7e485c7402d1e145dc8e81d43611
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: c900bce1b08e28edb777a5e9032d241c52bb1a2c
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: 060ba14eda746733b63e2dc4c1a68c2898868260
2021-08-03 11:36:19 +02:00
Adeeb Shihadeh
c5a9d78523 use continue_dashcam for dashcam installer
old-commit-hash: 3129e058f8835ecd67de8f8564cec5c7797dfbe2
2021-08-03 00:04:54 -07:00
Adeeb Shihadeh
4bfa83fae6 update nav ad (#21836)
old-commit-hash: 3a53a7b84b1247fa4dfe494e659000cd3ce25b40
2021-08-03 00:02:34 -07:00
aniva
2e8f640a52 Add fingerprint for 2018 honda accord sport 2.0L canadian version (#21831)
old-commit-hash: 02da4375e56ee5e5d0506391dbda45de5a49c476
2021-08-02 23:41:10 -07:00
Adeeb Shihadeh
61ebda31fa we have release branches now
old-commit-hash: 1f341a28102cf9e8a1bdab465f47e85d301da8d7
2021-08-02 22:18:06 -07:00
Igor Biletskyy
c6e7a297cb bump cereal (#21835)
old-commit-hash: 6b0e89afa24372befa7665ac98568c001dd41a41
2021-08-02 22:08:38 -07:00
Dean Lee
6ae1a211d9 OffroadHome: update alerts immediately in showEvent (#21808)
old-commit-hash: f5c95b026a5476f2771c609bc070a0da55649ef7
2021-08-02 22:07:07 -07:00
Adeeb Shihadeh
eb8a334bfc remove alert for stock fcw (#21834)
old-commit-hash: fb028041cd895765a1c0dd88ba6cdf145477a005
2021-08-02 21:59:03 -07:00
Dean Lee
1d29118e0a Sidebar: set Qt::WA_OpaquePaintEvent attribute (#21782)
old-commit-hash: 8f7fc61e48276c647d3c0e148022b31006735b51
2021-08-02 21:26:09 -07:00