George Hotz
0c2a527b3e
camerad: don't remap everything every time ( #24334 )
...
* premap the buffers
* memory manager
* free buffers properly, alignment seems okay
* update camerad CPU usage
* cam_sync_fd
* useless line, and use the define
* cheap prereqs for multistream
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fb7d84875b
3 years ago
Joost Wooning
31f9e8af0f
UI: remove memcpy on frame receive ( #24318 )
...
* UI: remove frame memcpy
* fix freezing
* fix onroad test
old-commit-hash: f84fdc86bb
3 years ago
Adeeb Shihadeh
8eb8cf95ec
Revert "UI: remove RGB buffer usage ( #24298 )"
...
This reverts commit 2a13d8446cd19340bfb67f14470b7c35f643e8b8.
old-commit-hash: 13e1c0b339
3 years ago
Adeeb Shihadeh
4fa266c035
tici downclock ( #24088 )
...
* tici downclock
* fix that
* gp ref
* lower that a bit
* that was a scam
* perf
* update power
* increase that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b88fb037ab
3 years ago
Joost Wooning
e0c973fe70
UI: remove RGB buffer usage ( #24298 )
...
* ui: use yuv buffer
* cleanup
* fix watch3
* replay always send yuv
* fix drawing of path
* fix onroad test
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b9907e86b2
3 years ago
Adeeb Shihadeh
e82bf249bb
test onroad: increase DM execution threshold instant max
...
old-commit-hash: 6bbb168511
3 years ago
Adeeb Shihadeh
9b9d332a54
paramsd: fix variable cpu usage ( #24281 )
...
* paramsd: fix variable cpu usage
* fix that
* increase that a bit
old-commit-hash: f7c2b8b46e
3 years ago
Adeeb Shihadeh
80d6da0bce
test_onroad: fix min -> max ( #23824 )
...
* test_onroad: fix min -> max
* raise that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 28149eae4d
3 years ago
Adeeb Shihadeh
5a9644261f
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86
3 years ago
Adeeb Shihadeh
60c3bb2da3
add mpld3 python pacakge ( #24138 )
...
* add mpld3 python pacakge
* move to dev
* fix for new pylint
old-commit-hash: 6013d733a3
3 years ago
Adeeb Shihadeh
e818667aad
test onroad: CPU usage test improvements ( #24035 )
...
* test onroad: CPU usage test improvements
* remove those
old-commit-hash: ea74a90ca0
3 years ago
Jonathan Frey
0d5d9a43d3
Longitudinal MPC set qp tolerance to 1e-3 ( #23899 )
...
* initialize solverExecutionTime longitudinal_planner
* test_onroad: improve timing evaluation
* longitudinal MPC: set qp_tol to 1e-3
* update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: ab371f888a
3 years ago
Adeeb Shihadeh
4ab3f4c5de
adjust comma two model timing thresholds after bigmodel
...
old-commit-hash: c98d9791f0
3 years ago
Willem Melching
69588ca191
onroad_test: increase camerad cpu usage after debayer changes
...
old-commit-hash: ccdf069c8c
3 years ago
Adeeb Shihadeh
bd6d3bfc0b
paramsd cpu usage has been increasing
...
old-commit-hash: 12cd852fc0
3 years ago
Shane Smiskol
1cd3c05a70
Honda: fix brake pressed signal ( #23683 )
...
* or brake_switch
* remove car exceptions
* Revert "remove car exceptions"
This reverts commit cad6a552aa4a17c69616014d3e9333d30c1fadd3.
* does have ts noise, use updated
* bump panda for tests
* bump
* messsssy draft
* clean up
* clean up
* bump
* CS: process all messages at once, like we do during real openpilot usage
* handle multiple messages updated in one cycle
* bump
* bump
* use less confusing, but equivalent cp.vl
* Update selfdrive/test/test_models.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* no msg
* bump opendbc
* Update selfdrive/car/honda/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* same test logic
* add brake_switch_prev to class
* need to set previous brake switch when not lagging (most of the time)
* need to compare
* only update previous if updated this cycle
rm
* need to maintain previous active state
* move brake_switch
* bump opendbc
* bump
* bump
* bump
* bump
* bump
* bump
* bump opendbc
* rename
* oops
* bump opendbc
* bump
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 209bfe536b
3 years ago
Adeeb Shihadeh
8343e21ea7
reduce shutdownd CPU usage ( #23723 )
...
* reduce shutdownd CPU usage
* sync
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4c766934be
3 years ago
Willem Melching
fac18e0148
thermald refactor seems to have lower CPU usage
...
old-commit-hash: 5b385c34a4
3 years ago
Willem Melching
dce057d29f
Log MPC solver time ( #23566 )
...
* add solve time to plan output
* add to process replay ignore list
* print in CI
old-commit-hash: f76328b426
3 years ago
Willem Melching
0e6de32847
thermald has slowly started to use more CPU
...
old-commit-hash: 5fb9c6aa68
3 years ago
Willem Melching
ea8777890f
bump CPU usage slightly after adding glFlush
...
old-commit-hash: aad7ebdc2a
3 years ago
Adeeb Shihadeh
3de0f112c0
onroad test fixes ( #23164 )
...
old-commit-hash: 2f78cfcbfd
3 years ago
Adeeb Shihadeh
de54dd20ec
jenkins: improve overall robustness ( #23117 )
...
* test onroad: more reliable log finding
* Update selfdrive/test/test_onroad.py
* write continue.sh in device setup
* clone
* try different delimeter
* try this instead
* fix keys path
* executable
* remove orphaned lock
old-commit-hash: 7c291a1b39
3 years ago
grekiki
9e4cc1f7ff
Python: Replace more lists with generators ( #23116 )
...
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6951b3271d
3 years ago
Willem Melching
f076987942
Revert "cameraview: remove glflush, reduce C3 CPU usage ( #22949 )"
...
This reverts commit 6edbdc5e535eafaeea4b2e546ccb78ad190d21fb.
old-commit-hash: 372b0f10da
3 years ago
Dean Lee
1ae1237520
cameraview: remove glflush, reduce C3 CPU usage ( #22949 )
...
* remove glflush
* revert cpu
old-commit-hash: 33b1b94067
3 years ago
Willem Melching
f48cbfcd8d
increase c3 ui cpu usage after async pbo copy
...
old-commit-hash: 7a3754d50b
3 years ago
Adeeb Shihadeh
b6974fd2b3
better onroad test output ( #22873 )
...
old-commit-hash: ec66573a8b
3 years ago
Adeeb Shihadeh
a1ab2f7c36
CI: skip cruise mismatch check for can replays
...
old-commit-hash: db92006dc0
4 years ago
Adeeb Shihadeh
d6c42f11f4
controlsd: alert on cruise mismatch for >1s ( #22841 )
...
* controlsd: alert on cruise mismatch for >1s
* bump cereal
* update refs
* bump allowed soundd cpu
* bump cereal
old-commit-hash: 035bc0c20f
4 years ago
Adeeb Shihadeh
595af5ca4a
update soundd cpu usage
...
old-commit-hash: 03ab8af12f
4 years ago
Adeeb Shihadeh
4e14bb0b38
bump eon roadCameraState timing threshold
...
old-commit-hash: ec935ef1c3
4 years ago
Adeeb Shihadeh
997f3f0212
run onroad tests on release build ( #22700 )
...
* check startup aelrt
* release decorator
* run in jenkins
* run onroad tests
* no push
* fix release2 build
* fix path
* no overwrite
* single release build script
* make files_eon non empty
* files
* run in source
* add that for now
* print
* ignore initialzing
* print
* fetch
* run tests last
* check alert text
* revert some stuff
* fixup jenkinsfile
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7feae28705
4 years ago
Adeeb Shihadeh
b773f6711c
loggerd: always run encoders ( #22649 )
...
* loggerd: always run encoders
* fix raw logger
* bump loggerd cpu usage
old-commit-hash: 76bd932cf5
4 years ago
HaraldSchafer
4814c30667
ACADOS fix non-convergence when long_plan changes ( #22495 )
...
* debug commit
* cleanup
* some indexing bugs
* need more its
* BALANCE is way better it seems
* fix test
* this converges in 2000segs
* new ref
* less cpu
old-commit-hash: 04cf12cb00
4 years ago
Robbe Derks
58c99158a1
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
old-commit-hash: 91987f38d4
4 years ago
Harald Schafer
8bcb1e32af
Make camerad timing test threshold same as rest
...
old-commit-hash: ec403da78f
4 years ago
Willem Melching
11066c6236
Split pandaState into peripheralState and pandaState ( #22385 )
...
* publish peripheralState from boardd
* refactor consumers
* rename thread
* peripheralState has panda type too
* add to process replay
* fix device build
* properly remove hardware unsupported alert
* latest peripheralState
* remove pandaState from thermal_monitor
* put that back
* add back harness check
* fix cloudlog
* needs pandaState
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* dont conflate
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pigeon is peripheral
* cleanup
* less global
* comment
* move rtc to peripheral_control_thread
* better diff?
* whitespace
* get msg
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f4e2537b12
4 years ago
HaraldSchafer
f02787eb75
Small long MPC optimizations ( #22360 )
...
* Revert "temporarily relax camerad timings"
This reverts commit 59b8293b70e0cbd43567275dc2c6c1d29308fb84.
* cleanup
* wrong weight size
* changes ever so slightly
* seems enough
* Revert "seems enough"
This reverts commit 24f64e9b18583462206bb77c37ba7727b9e47245.
* new ref
old-commit-hash: 85dc43d166
4 years ago
HaraldSchafer
2b470f4e38
acados long merged ( #22224 )
...
* rebased
* cleaner, seems to drive better?
* more stable
* wrong import
* new way of thinking
* reports look nice
* start move back
* works at leas
* good timestamps
* step by step
* somewhat work
* tests pass
* ALL CARS STOPPED
* should work
* fake a cruise obstacle
* cleaner costs
* pretty good except cruise braking
* works pretty well now!
* cleanup
* add source
* add source
* that is needed for unit tests
* nan recovery
* little cleaner
* stop wasting arrays
* unreasonable without unfair init
* this isnt needed without the exponential
* that works too
* unused
* uses less
* new ref
* long enough
* e2e long api
* DONT PUT IN A VIEW INTO ACADOS
* new ref for outside weights
* remove debug prints
old-commit-hash: fe983a7b8c
4 years ago
Adeeb Shihadeh
b41c5e2393
temporarily relax camerad timings
...
old-commit-hash: 174aa908ba
4 years ago
HaraldSchafer
2d4b64ed04
Acados long fast ( #22233 )
...
* acados long
* new ref
* SPPEEEEEDDD
* less iterations
* this shouldn't be so high
* reset only essentials
* minimal reset for long mpc
* more cpu usage plannerd
* Use lead mpc even when going to crash
* reset to current state
* Use open loop speed for lead mpc
* 1 iteration is too little for cruise mpc
* add whitespace
* update refs
old-commit-hash: 66c275b711
4 years ago
Harald Schafer
985593f21a
add model exec time printout
...
old-commit-hash: aed91c5906
4 years ago
Adeeb Shihadeh
a9221d6eaf
timing tests ( #22214 )
...
* timing tests
* tuning
* more tuning
* passes?
* increase min/max
* eon tuning
* more lax
* even more
* fix plannerd cpu
* should pass
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 369c5d5bff
4 years ago
HaraldSchafer
c422cce205
Port lateral planning to ACADOS ( #22080 )
...
* lateral acados
* looks good!
* add another solve, needed for init somehow
* use copy
* init correctly
* cleanup sconstruct
* Update files_common
* update cpu usage
* reset when invalid
* fix cpu usage
* cost_set doesnt leak
* new ref
* non leaky reset
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7081ab4fb7
4 years ago
Adeeb Shihadeh
67a7abb492
android health daemon ( #21965 )
...
* androidd
* three strikes
* better logging
* persistent
* add to release files
* cleanup
* no cpu usage
* colon
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c8ca56dddd
4 years ago
Adeeb Shihadeh
4c56864a1d
raise thresholds for now
...
old-commit-hash: 0415d5ace7
4 years ago
Adeeb Shihadeh
1ed6750e72
update tici controlsd cpu usage
...
old-commit-hash: 196f1c364c
4 years ago
Willem Melching
fb46b457eb
Revert "test_onroad: increase driverState timing to avoid random failures"
...
This reverts commit fa95ea86e9021abf791ddc4bec2cdf8b505d909b.
old-commit-hash: fb0d099362
4 years ago
Willem Melching
3c828f9fbf
test_onroad: increase driverState timing to avoid random failures
...
old-commit-hash: aa89bb727e
4 years ago