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
176f552c9e
manager.py use get_short_branch() for GitBranch param
...
old-commit-hash: e8d56f241a
3 years ago
Adeeb Shihadeh
78a7cf85d3
increase scons cache size for CI devices
...
old-commit-hash: bc57ffd16f
3 years ago
Willem Melching
28dd415759
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
old-commit-hash: f7c46c6949
3 years ago
Willem Melching
1ae492370d
Add LastPowerDropDetected and create bootlog before clearing params ( #23062 )
...
* Add LastControlledShutdown and create bootlog before clearing params
* update param name
* sorting
old-commit-hash: 7c8044d2db
3 years ago
Adeeb Shihadeh
182a12fdca
manager: kill procs in parallel ( #23010 )
...
* manager: kill procs in parallel
* oops block
old-commit-hash: ba67c355db
3 years ago
grekiki
5b2511162a
replace list comprehensions with generators ( #23037 )
...
old-commit-hash: 68c1a666a0
3 years ago
Adeeb Shihadeh
44568de155
faster jenkins ( #22973 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e13630dfee
3 years ago
Willem Melching
425349a55c
swaglog.py: respect LOGPRINT env variable ( #22950 )
...
* swaglog.py: respect LOGPRINT env variable
* only change handler that prints
* keep usefull manager prints
* only print running list
* revert process changes
* fix test
old-commit-hash: 77b334a698
3 years ago
Dean Lee
84097b29df
watchdog_kick: non-allocating ( #22892 )
...
* non-allocating
* unpack
* call kick every second
* cleanup include
old-commit-hash: ca88a8769b
3 years ago
Adeeb Shihadeh
c142416931
soundd: configure as persistent process ( #22878 )
...
* soundd: configure as persistent process
* update c2 test
* fix that
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed8e6f857c
4 years ago
Willem Melching
bb8d0aa76d
Move shutdown/reboot handling to manager ( #22882 )
...
* Move shutdown/reboot handling to manager
* more logging
* check enagaged
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 07ff724726
4 years ago
Dean Lee
c1a3683ccb
soundd: misc cleanup + tests ( #22796 )
...
* pass AudibleAlert to setAlert
* apply reviews
* remove trailing underscore
* add current_alert_type
* common function get_alert
* same freq as ui
* small cleanup
* setvolumne on change
* static Alert::get
* test_sounds
* remove old test files
* loop twice
* assert loopsRemaining
* assert stop
* init to min_volumne
* Revert "remove old test files"
This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.
* move to ui/soundd
* move test to tests/test_sound.cc
* remove old tests
* cleanup
* lower volume
* Revert "remove old tests"
This reverts commit e6bb12abfa
.
* return Alert
* cleanup
* remove #include <optional>
* cleanup .gitignore
* revert to std::optional
* Revert "revert to std::optional"
This reverts commit a66291c51f
.
* cleanup
* remove volume check
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 797bb1acb0
4 years ago
Willem Melching
ef6ae61c5e
make soundd exit cleanly ( #22794 )
...
old-commit-hash: 1289ebe9bd
4 years ago
Willem Melching
6712c4e520
soundd doesnt exit cleanly
...
old-commit-hash: 802efe0e22
4 years ago
Willem Melching
dc3075790e
Move navigation into separate daemon ( #22767 )
...
* Add navd folder
* prints route instructions to console
* broadcast NavInstuction without lanes
* show basic instructions and eta
* parse out lane info
* use swaglog
* clip distance on ui side
* draw lane directions
* show route
* add to process config
* add to release files
* small cleanup
* show route without gps
* pop open map on initial route
* fix error messages around no gps
* done
* make persistent process
* handle end of route
* clear route on offroad
* only one timer
* fix layout hacks
* explicit rendering at 20Hz
old-commit-hash: bef686f275
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
Willem Melching
06e22360ae
Add DisableRadar_Allow param and settings toggle ( #22329 )
...
old-commit-hash: 8c01ae5716
4 years ago
Adeeb Shihadeh
dbc41b847d
add shouldBeRunning field to managerState ( #22246 )
...
old-commit-hash: 2f57f1729d
4 years ago
Willem Melching
6f92abc815
Less open file permissions ( #21922 )
...
* Less open file permissions
* add test back
* remove params test for permissions
* remove umask
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dddab597bc
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
13b3649211
add that back
...
old-commit-hash: 8aafbc78f6
4 years ago
Harald Schafer
d55933a0dd
Revert "add boardd as a managed process for tests"
...
This reverts commit ea7dee7a7f9bda827aab4cfe7c84f067e4608473.
old-commit-hash: fd53169ade
4 years ago
Adeeb Shihadeh
0380acffc0
add boardd as a managed process for tests
...
old-commit-hash: fcae199723
4 years ago
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
4 years ago
Adeeb Shihadeh
65ec97ad2d
watchdog: restart while onroad ( #21636 )
...
old-commit-hash: 09291b99bc
4 years ago
Adeeb Shihadeh
6eea281a19
soundd ( #21619 )
...
* refactor alerts
* doesn't go here anymore
* soudd
* handle controls unresponsive
* same check
* fix path
* update sound test
* nice
* fix c2
* add script
* update tests
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 12948e661a
4 years ago
Adeeb Shihadeh
19bc1b7397
fast jenkins ( #21472 )
...
* speed up setup
* speedup onroad test
* .git doesn't like inplace
* tici2
* no inplace
* revert
* fix
* that one too
old-commit-hash: 0bfd994f73
4 years ago
Adeeb Shihadeh
784601c8e1
remove lte toggle ( #21392 )
...
* remove lte toggle
* little more
old-commit-hash: a420c7ad50
4 years ago
Adeeb Shihadeh
3e064c4dd5
build.py: don't hang on text window in CI ( #21335 )
...
old-commit-hash: cefbd6734e
4 years ago
Adeeb Shihadeh
03405b81fd
acados support ( #21319 )
...
* acados support
* add pyextra to python path
* x86 libs
old-commit-hash: 6e4c2aa4d2
4 years ago
Adeeb Shihadeh
baa85548de
don't write last update time param on pc
...
old-commit-hash: 29ac94b719
4 years ago
eFini
777b84a064
two minor bug fixes ( #21134 )
...
old-commit-hash: 5c450026ef
4 years ago
Adeeb Shihadeh
fb62002e92
use scons cache by default ( #21102 )
...
* always use scons cache
* cleanup
old-commit-hash: a0dabd94e9
4 years ago
Adeeb Shihadeh
5a80518b52
tici, it's just like cici
...
old-commit-hash: 189ee62d00
4 years ago
Willem Melching
9754f9fdc5
manager.py: fix UNREGISTERED_DONGLE_ID check ( #21027 )
...
old-commit-hash: ba5d6bbd70
4 years ago
Adeeb Shihadeh
884736efc2
better scons cache handling ( #20980 )
...
* better scons cache handling
* nicer
* max size
* fast
old-commit-hash: 4f4cb56de9
4 years ago
Adeeb Shihadeh
932486f4ef
default lte param to on
...
old-commit-hash: 7a4d319035
4 years ago
Adeeb Shihadeh
8002b848b6
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
old-commit-hash: b93ccc465d
4 years ago
Adeeb Shihadeh
88434dc9e4
add CLEAR_ON_IGNITION param type ( #20810 )
...
old-commit-hash: b4447993c1
4 years ago
Adeeb Shihadeh
8a759792c4
don't init sentry on non-comma remote
...
old-commit-hash: 5f3fe01002
4 years ago
Adeeb Shihadeh
c9d5447edd
registration unit tests ( #20792 )
...
* start tests
* more test
* done
old-commit-hash: 5b764ab477
4 years ago
Adeeb Shihadeh
c7cca3b07e
update registration policy ( #20770 )
...
* update registration policy
* move that
* handle 403
* fix that
old-commit-hash: 4d8a35d639
4 years ago
Adeeb Shihadeh
4c461b3f7f
disable sentry for devices without a dongle ID ( #20729 )
...
* disable sentry for devices without a dongle ID
* import pc
* unused
old-commit-hash: 47ad2a485f
4 years ago
Willem Melching
ab900874db
manager.py: fix git commit param write outside of git repo
...
old-commit-hash: 01c5d7f7ed
4 years ago
Adeeb Shihadeh
3e4eb2e343
handle unregistered devices ( #20728 )
...
* handle unregistered devices
* cleanup
* no uploader or athena
* clean up
old-commit-hash: 1786d04239
4 years ago
Willem Melching
c0ca2ce743
Switch to new sentry_sdk ( #20690 )
...
* remove unused crash.install
* use sentry_sdk in crash.py
* athena crashes dont rely on excepthook
* make default crash handler work
* make it work in athena
* fixup tombstoned
old-commit-hash: ea0e611872
4 years ago
Joost Wooning
c0ac9bb63c
convert locationd to c++ ( #20622 )
...
* live_kf to c++
* first locationd code
* Running in process_replay
* locationd handle cam_odo and live_calib
* log event handlers
* working message receiving
* compiling message sending
* correctly sending some messages
* correct receiving and sending
* update ref_commit with some all_alive_and_valid being false, minor fixes
* fix std abs
* linking on device fix
* fix cpu usage test
* generate kf constants and defines
* fix replay test
* replay without acks, cleanup
* operate on bytearray messages
* cleanup
* send msg fix
* small sleep, less flaky test
* remove python locationd
* review feedback
* bump rednose
old-commit-hash: 3420707ad5
4 years ago
Adeeb Shihadeh
6d04f375e0
upload raw on tici
...
old-commit-hash: a3df0e9827
4 years ago
Adeeb Shihadeh
50a73824f9
raw upload off by default
...
old-commit-hash: 9adaff5379
4 years ago