Harald Schäfer
56dea7b0b4
Rm laikad ( #30299 )
...
* rm laika
* Rm laika
* Needed this
* More rm
* More rm
2 years ago
Adeeb Shihadeh
67f2321060
delete clocksd ( #30252 )
2 years ago
Mitchell Goff
503fa121ee
Rewrite dmonitoringmodeld in python ( #29740 )
...
* Added dmonitoringmodeld.py
* Removed dmonitoringmodeld.cc
* Use ModelRunner helpers from runners/__init__.py
* Fixed DriverStateResult field ordering
* Some bug fixes
* Set calib input
* Look ma, no loop!
* Bump dmonitoringmodeld cpu usage in test_onroad
* Fixed memory leak caused by np.ctypes.data_as
* Formatting fixes
* chmod +x
* remove USE_ONNX_MODEL
* Realtime priority 1, formatting fixes
2 years ago
Mitchell Goff
0c0af682a1
Rewrite navmodeld in python ( #29579 )
...
* Added navmodeld.py
* Deleted navmodeld.cc
* Write SConscript config flags to config.py
* Remove deleted files from release/files_common
* Some more bug fixes
* Added config.py to gitignore
* Get rid of config.py
* Use set_realtime_priority
* A tiny bit more cleanup
* set realtime priority 1
* Use ModelRunner helper class from runners/__init__.py
* Formatting fixes
* mama mia that's a SPICY memory leak
2 years ago
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2 years ago
Adeeb Shihadeh
4917e22615
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
2 years ago
Adeeb Shihadeh
d013f2174a
manager: refactor process starting logic ( #29574 )
...
* refactor into sane api
* always set
* cleanup
* cleanup
* and there too
* fix order
* fail
* and ensure we test
* pass test
pass test
* order
* only diff not related
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Shane Smiskol
84b897cf44
manager: test process exclusion ( #29586 )
...
* add test
* add comment
* Update selfdrive/manager/test/test_manager.py
* more accurate
2 years ago
Adeeb Shihadeh
bb1b641812
build.py: retry with less threads ( #29543 )
...
* build.py: retry with less threads
* cleanup
* fix no output
* cleanup
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Adeeb Shihadeh
d61f86d339
replace custom clock helpers with time module ( #29499 )
...
* replace custom clock stuff wtih time module
* fix double
* fix release
* bump cereal
* update type
* fix one more
2 years ago
Shane Smiskol
3e2903a0c1
Update `TOTAL_SCONS_NODES`
...
Should add a CI test for this
2 years ago
Vivek Aithal
81322a4805
[commabody] setup and run live stream encoders ( #29087 )
...
* op changes needed for body
* remove logmessaged callback
* add newlines
* add stream arg
* add stream_encoder to config
* supersets, avoid two encoderd
* fix recursive exit error
* fix loggerd crash
* add stream_encoderd cpu usage to test
* Update system/loggerd/loggerd.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* resolve comments
* stream_encoderd onroad to false
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Vivek Aithal
e7d307ca1b
[commabody] Add new body teleop ui ( #29282 )
...
* Revert "Revert "[commabody] Add new body teleop ui (#29119 )" (#29249 )"
This reverts commit 623351e4ed
.
* add to release files
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Harald Schäfer
623351e4ed
Revert "[commabody] Add new body teleop ui ( #29119 )" ( #29249 )
...
This reverts commit a7304d059c
.
2 years ago
Vivek Aithal
a7304d059c
[commabody] Add new body teleop ui ( #29119 )
...
* add new ui
* move body tele op ui to new dir
* fix codespell errors
* resolve mediablackhole pylint error
* fix import error
* style fixes
* use logging, not print
* fix js styling
* resolve comments
2 years ago
Adeeb Shihadeh
bc0aa1c598
manager: remove old unkillable process handling ( #29209 )
2 years ago
Kacper Rączy
547a033a3c
process_replay: capture process output ( #29027 )
...
* Add ProcessOutputProxy
* Move launcher to its own field
* Move ProcessOutputCapture to its own file
* Return itself from __enter__ of OpenpilotPrefix
* Integrate ProcessOutputCapture into process_replay
* Add note about capture_output_store to README
* ipykernel import is optional
* Disable type checking for link_with_current_proc
* Remove assertion
* Decode outputs to utf-8
* read(self): return empty buf if its none
* Fix type annotations
* Replace fifo with regular file, to avoid hitting fifo size limit
2 years ago
Adeeb Shihadeh
571bf47b0a
mapsd exit needs some work
2 years ago
Adeeb Shihadeh
2aa3000371
test_manager: skip mapsd check for now
2 years ago
Adeeb Shihadeh
260e83d8e4
manager: create params once ( #28757 )
2 years ago
Adeeb Shihadeh
9ca96cc4b1
manager: write ublox param on change ( #28748 )
2 years ago
Mitchell Goff
aadd9ae269
Enable nav features in modeld ( #28448 )
...
* Enable nav features in modeld
* Enable mapsd/navmodeld
* Updated model_replay_ref_commit and added mapsd/navmodeld to test_onroad
* fixed process name
* always publish from mapsd
2 years ago
Mitchell Goff
6509cde41b
Rename map_renderer -> mapsd ( #28580 )
2 years ago
Adeeb Shihadeh
111b4eee30
fix a bunch of python warnings ( #28576 )
...
* fix a bunch of python warnings
* fix that
2 years ago
Adeeb Shihadeh
58d32a70d7
manager: watchdog restart UI with SIGKILL ( #28523 )
2 years ago
Adeeb Shihadeh
3e3c8b7ddf
soundd: only run onroad ( #28449 )
2 years ago
Harald Schäfer
205c900742
Driving Personality setting (also changes follow distance) ( #24742 )
...
* Skeleton
* Adjustable follow parameter
* fix rebase
* long planner
* typo
* Add ui toggle
* Fix icon
* Improve text
* Better toggle position
* Im a UX engineer now
* add param reader
* CHange jerk to have same crash test performance
* Try reading param
* Unused comment
* translate ui text
* std stoi
* Parametrized buttons
* Empty strings are ints
* Move to generic
* Update translations
* Fix translation diffs
* Release notes
* update refs
* tweaks
* Misc fixes
* No param is standard
2 years ago
Shane Smiskol
75fc029130
manager: clear onroad/offroad transition params on start ( #28199 )
...
* clear onroad transition params
* all offroad params also have manager start
2 years ago
Shane Smiskol
22ce4e17ba
manager: initialize onroad params before starting processes ( #28198 )
...
* initialize to off on startup
* params
* better
* better
* move to helpers
* rm
2 years ago
Shane Smiskol
b8fa7f58ea
onroad transition: clear params and start safety setter thread ( #28151 )
...
* rename from ignition to onroad/offroad
* forgot one
* clear in manager
* don't clear in boardd anymore
fix
* params isn't used here
* add comment
* Revert "add comment"
This reverts commit 54fb666050
.
* write params in manager
* first part is self explanatory
* remove these from thermald now
* start safety setter thread with IsOnroad
* drivesss
* more
* less
* come back
* makes sense here
2 years ago
Cameron Clough
a33af9cb74
cloudlog: add git to ctx ( #27996 )
...
* cloudlog: add git to ctx
* use normalised origin, change names
* order
2 years ago
Adeeb Shihadeh
455d76cdb6
manager: log time with exit param ( #27615 )
...
* manager: log time with exit param
* fix double brackets
2 years ago
Adeeb Shihadeh
39cf8c6694
only run rawgpsd without a ublox ( #27577 )
2 years ago
Adeeb Shihadeh
c97911dbad
ubloxd: move to system/ ( #27536 )
...
* ubloxd: move to system/
* more fixes
* add missing sconscript
* fix valgrind tests
* uncomment
2 years ago
Adeeb Shihadeh
94eb215980
loggerd: move to system/ ( #27534 )
2 years ago
Adeeb Shihadeh
6f40f0d442
sensord: move to system/ ( #27531 )
...
* sensord: move to system/
* add gitignore to releaes files
2 years ago
Adeeb Shihadeh
d6abf1d572
No disengage on gas by default ( #27472 )
2 years ago
Shane Smiskol
cb50244a89
Bump total scons nodes
2 years ago
Adeeb Shihadeh
100fe10c7c
jenkins: tmp disable sim test due to ZMQ bug ( #27043 )
2 years ago
Comma Device
4293705648
test manager: use ensure_running to start relevant procs
2 years ago
Adeeb Shihadeh
c408b7e306
UI: show experimental long available to release users ( #26910 )
...
* UI: show experimental long available to release users
* more description
* cleanup
* hide toggle
* fix process replay
* clear param
* actually fix
2 years ago
Adeeb Shihadeh
6861c99991
don't run ublox procs without ublox ( #26965 )
...
* pigeond: don't run if ublox missing
* same for ubloxd
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
cd8e03d53e
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Mitchell Goff
bb8a38a050
navmodeld ( #26665 )
...
* Added navmodeld
* New nav model: 7c306685-5476-4bd4-ab65-105b01b6bca8/300, feats only
* little cleanup
* Remove NAV flag
* Moved to_kj_array_ptr to commonmodel.h
* Switch from decimation to last_frame_id check
* add to release files
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Cameron Clough
108ff15f5d
micd: scale sound volume with ambient noise level ( #26399 )
...
* test changing sound volume
* test changing sound volume
* create system/hardware/pc/hardware.h
* implement Hardware::set_volume using pactl
* soundd: use Hardware::set_volume
* add sounddevice dependency
* sounddevice example
* simple micd
* cleanup
* remove this
* fix process config
* add to release files
* hardware: get sound input device
* no more offroad
* debug
* calculate volume from all measurements since last update
* use microphone noise level to update sound volume
* fix scale
* mute microphone during alerts
* log raw noise level
* hardware: reduce tici min volume
* improve scale
* add package
* clear measurements on muted
* change default to min volume and respond quicker
* fixes
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* logarithmic scaling
* fix
* respond quicker
* fixes
* tweak scaling
* specify default device
* Revert "hardware: get sound input device"
This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.
* tuning
* forgot to update submaster
* tuning
* don't mute microphone, and clip measurement
* remove submaster
* fixes
* tuning
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746
.
* draft
* draft
* calculate sound pressure level in dB
* fix setting
* faster filter
* start at initial value
* don't run command in background
* pactl: use default sink
* use sound pressure db
* tuning
* bump up max volume threshold
* update filter slower
* fix divide by zero
* bump cereal
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Kurt Nistelberger
5f094b8368
CI: regroup devices ( #26436 )
...
* regroup ci devices
* cleanup looopback test
* split loopback devices
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
3 years ago
Mitchell Goff
fcd6125deb
Compute zoom level and downsample image in map_renderer.cc ( #26315 )
...
* Automatically zoom to fixed scale in map_renderer.cc
* Always downsample in map_renderer
* Remove updateZoom function
* Added mapsd to process_config.py (commented out for now)
3 years ago
Adeeb Shihadeh
9935a65115
always enable rawgps on tici ( #25987 )
3 years ago