Willem Melching
e4e26ca57e
1024 MB should be enough for anyone
...
old-commit-hash: 873043b9fb
5 years ago
Adeeb Shihadeh
91ac4efab2
driver monitoring cleanup ( #2101 )
...
* read rhd from param
* don't need that anymore
* fix build
* bump cereal
* read param from camerad too
* add read_db_bool helper
* bump model replay ref commit, IsRHD wasn't set
old-commit-hash: 349040d958
5 years ago
ZwX1616
323b66731c
need no divided by 2
...
old-commit-hash: b7bc342cc8
5 years ago
Adeeb Shihadeh
cc2c6180f9
Sound stability test ( #2089 )
...
* play sound
* clean this up
* no cereal
* fix module issue
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 685340d578
5 years ago
Willem Melching
139301e00f
make sure snpe can find libopencl
...
old-commit-hash: 3517d45802
5 years ago
robbederks
7671d18467
Tici camerad ( #2048 )
...
* fix camera config
* typos
* oops
* more typo
* lambless
* forget to send
* visualize hist
* more typo
* 0xC000
* simple
* data loss prevention, clean up later
* loggerd
* back up code
* backup
* fixed memory leak
* fix vsync
* upload ecam
* WB
* 3stream
* fix OMX crash on loggerd rotation
* rewritten debayer kernel
* update viewer
* improved AE
* no artifact lines/grids
* standard trigger
* cleanups
* CCM
* cleanups
* slight tweak
* upd push sock
* build all these
* update tele fl
* update cereal
* upd viewer
* DualCameraState -> MultiCameraState
* cameras_open
* disable frame zmq push by default
* more cleanup
* no apks
* fix submodule error
* wat
* clean up trash
* remove junk
* only build on qcom2
* no need to check these
* update cereal
* some more minor cleanup
* bump panda
* add todo
* minor typo
* Revert "minor typo"
This reverts commit 9233a1df7c
.
* not care
* use consistent hdr
* some cleanup
* Update selfdrive/camerad/main.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* more cleanups
* remove irrelevant stuff
* this too
* cleanup
* rerun ci
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Tici <robbe@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 37d6472bfa
5 years ago
Willem Melching
9b489c5d3c
larch64 dmonitoringmodeld fixes
...
old-commit-hash: a7be2b090d
5 years ago
Willem Melching
81333a9c9e
larch64 modeld fixes ( #2086 )
...
old-commit-hash: cd6ec8211c
5 years ago
Dean Lee
aa41930178
remove device_id&context from ModelFrame ( #2064 )
...
old-commit-hash: 727055e0a0
5 years ago
Dean Lee
eb4d487000
move matmul3 into live_thread ( #2069 )
...
old-commit-hash: de7b901dc1
5 years ago
Dean Lee
ebd4f68cba
ui: refactor model related functions ( #2026 )
...
* remove read_model
* remove structs for c-capnp
* remove duplicate #define from modeld
* add function fill_path_points
* fix Indentation
* use MODEL_PATH_DISTANCE instead of 192
* fix type
use validLen
* rename left_path_points&right_path_points to xxx_lane_points
old-commit-hash: f8ab6bd009
5 years ago
Dean Lee
bf750511a1
add function cl_get_device_id ( #1948 )
...
* add func cl_get_device_id
cleanup
* add fix from review
old-commit-hash: d158837617
5 years ago
Dean Lee
681a50640e
init and destroy transform_lock ( #2003 )
...
old-commit-hash: 36801a70eb
5 years ago
Dean Lee
735f84089c
fix bug that visionstream_destroy may be called twice ( #1999 )
...
old-commit-hash: cccb63229d
5 years ago
Dean Lee
1bc3801c9b
Make sure memory is released by using unique_ptr ( #1958 )
...
old-commit-hash: ef435ef2ac
5 years ago
Dean Lee
046dd61d3b
modeld: read frame_id if sm.update(0)>0 ( #1947 )
...
* read frameid if sm.update(0)>0
* move postion
same line
old-commit-hash: f80acad519
5 years ago
ZwX1616
a55099ac2a
EfficientNet driver monitoring ( #1907 )
...
* e96f9be6
* bump cereal
* filter sunglasses
* fix unittest
* update refs
* udpate refs
* update refs
* add tolerance for dmonitoringd
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2cfa0edb4c
5 years ago
Adeeb Shihadeh
cd317b0780
Fix most remaining LGTM alerts ( #1893 )
...
* fixups from LGTM
* short globals
* fix spinner and textwindow
* total ordering
* no spinner/text window when import from manager
* not android
old-commit-hash: 5db81f60ca
5 years ago
Adeeb Shihadeh
370a68623e
minor cleanups from LGTM
...
old-commit-hash: 35a5b057c1
5 years ago
ZwX1616
556752a77b
Revert "EfficientNet driver monitoring ( #1866 )"
...
This reverts commit 0bc9d737dde1a50937d421f7a417260732f90480.
Need to fix test
old-commit-hash: c2be31c10b
5 years ago
ZwX1616
7a8bf9d7de
EfficientNet driver monitoring ( #1866 )
...
* e96f9be6
* bump cereal
* filter sunglasses
* fix unittest
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d0e994674
5 years ago
Adeeb Shihadeh
c374f03187
Revert modeld vipc conflate behavior and alert on dropped frame percent ( #1877 )
...
* Revert "Fix modeld dropping frames if processing takes over 50 ms"
This reverts commit fb908877a50d72e20a047bd4138316b12c8a30cc.
* track frame drop
* fix unused
* alert on frame drop perc
* reduce thresholds
* posenet is invalid on non-consecutive frames
* Refactor filter time constant
* Use vipc_dropped_frames for posenet valid check
* Actually set frame drop percentage
* Add explicit cast just to be sure
* Prevent frames dropped to go up to quickly on startup
* bump cereal
* reduce soft disable threshold to 1%
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 58c3b5ba84
5 years ago
Adeeb Shihadeh
ef00c30f3a
small scons cleanup ( #1858 )
...
old-commit-hash: 704bc1b883
5 years ago
Adeeb Shihadeh
4d9200f307
only check frame age for posenet too
...
old-commit-hash: c8f3ff8913
5 years ago
Adeeb Shihadeh
c8a9fb9321
only check frame age for model validity
...
old-commit-hash: 587bdf5937
5 years ago
Adeeb Shihadeh
a1dbb38a0c
Alert when modeld is lagging by more than a frame ( #1823 )
...
* alert when modeld is lagging by more than 1 frame
* log frameAge in modelData
* set posenet valid
* compute frame_age once
old-commit-hash: 03e824a4b5
5 years ago
Adeeb Shihadeh
cdfb090c7a
Wunused ( #1841 )
...
* enable Wunused, first pass
* unused stuff in snpe model
* these are used on phone
* handle sigint and sigterm in modeld
* fix phone build
* camera qcom
* QCOM build works
* delete unused camerad vars
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: eb1aa3d831
5 years ago
Willem Melching
2e056ae2a3
Fix unsigned overflow in modeld frame age computation
...
old-commit-hash: 5e10efead1
5 years ago
Willem Melching
b772d12f87
Make model packets invalid when frames are too old ( #1759 )
...
* make model packets invalid when frames are too old
* add frame numbers to cloudlog
old-commit-hash: 88f9266378
5 years ago
Willem Melching
f9cae2aa8f
Fix modeld dropping frames if processing takes over 50 ms
...
old-commit-hash: a8e7a187ca
5 years ago
George Hotz
83f6ec221f
c++ify thneed to remove memory leaks ( #1737 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 01a486308d
5 years ago
Dean Lee
e04a272892
release resources in modeld ( #1700 )
...
old-commit-hash: c8082190a0
5 years ago
Jason Young
266130770f
modeld process time logging to DEBUG ( #1720 )
...
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 80101b350b
5 years ago
Willem Melching
725c5e742f
Modeld: loop over platforms to find CPU/GPU ( #1710 )
...
* Modeld: loop over platforms to find gpu
* Remove prints
* PC needs CPU
* Keep default for qcom
* Update error message
old-commit-hash: 4ca8283d73
5 years ago
George Hotz
5d069eb8c3
Fixups for Mac, and a bunch for PC ( #1654 )
...
* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 344a9a3699
5 years ago
Jason Young
fae70a4d99
Update realtime priority for modeld/dmonitoringd ( #1675 )
...
old-commit-hash: ec5fc0e92b
5 years ago
Dean Lee
5fb85ede56
add function read_db_bytes ( #1662 )
...
old-commit-hash: 90d97de74d
5 years ago
George Hotz
4b6c80336b
Getting PC openpilot working again ( #1650 )
...
* fixup keras_runner to work and be nicer
* truncate the lane lines based on the valid len
old-commit-hash: 7770041f92
5 years ago
Dean Lee
bbafa5a72d
pass DMonitoringResult as referer ( #1639 )
...
old-commit-hash: c7ff6dd194
5 years ago
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
5 years ago
George Hotz
669977eb1f
save valid_len
...
old-commit-hash: 4e7fe3a9ec
5 years ago
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Dean Lee
dbc8ca1d26
dmonitoring : use memory cache to avoid malloc/free on every frame ( #1599 )
...
* use memory cache
* use template function to return buffer
* inline function
* const size_t
* use std::vector instead of kj::array
old-commit-hash: cdb48cc180
5 years ago
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
Dean Lee
b72fcb69e2
driving.cc: Pass ModelDataRaw by reference ( #1600 )
...
* pass ModelDataRaw by reference
* pass NVGpaint by refer
old-commit-hash: af36aa28ab
5 years ago
Willem Melching
2ac27def5a
Running pre-commit in CI ( #1590 )
...
* Running pre-commit in CI
* fix dockerfile syntax
* dont run on submodule repo folders
* Fix some import errors in ci
* more stuff
* That should be the last one
old-commit-hash: ba2ac1207a
5 years ago
Willem Melching
91f1082394
-Werror ( #1567 )
...
* werror
* -Wno-inconsistent-missing-override
* Silence ffmpeg deprecation warnings
* add some more pragmas to ignore warnings
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 50f3f1d335
5 years ago