Justin Newberry
891b9a1ab4
card: prepare for separate process ( #31660 )
...
* Card
* update ref
* bump cpu
* sub to caroutput
* update ref
old-commit-hash: 8ec0d87de0
1 year ago
Adeeb Shihadeh
b347145c9f
controlsd: increase initializing timeout ( #31535 )
...
old-commit-hash: d8ce15a869
1 year ago
Justin Newberry
1e13249c2a
controlsd: move carParams management to card ( #31534 )
...
* card-manage
* fix
* init params
* reversed that
* can be in the init
old-commit-hash: 00315325a3
1 year ago
Justin Newberry
8256969d40
Split out can control into new "card" class ( #31529 )
...
* card v1
* fix car events
* fix proc replay
* lets keep that the same
* no extra space here
* move can recv timeouts to card
* organize imports
* organize imports
* slightly bump cpu
* not a card!
old-commit-hash: 837b811f9c
1 year ago
Justin Newberry
0d6c16e771
controlsd: sort imports ( #31531 )
...
sort imports
old-commit-hash: 0eba392cf2
1 year ago
Adeeb Shihadeh
8b8677ae63
controlsd: allow mismatch while boardd reads back mode ( #31505 )
...
* controlsd: allow mismatch while boardd reads back mode
* self
old-commit-hash: b28daef34a
1 year ago
Adeeb Shihadeh
b8b4210a68
controlsd: increase initializing timeout
...
old-commit-hash: b218abcaa3
1 year ago
Adeeb Shihadeh
d167a22be5
fix no GPS alert when driving slowly in a tunnel ( #31483 )
...
old-commit-hash: d31269f663
1 year ago
Adeeb Shihadeh
4a713f4ff7
log all startups
...
old-commit-hash: 194bd85905
1 year ago
Adeeb Shihadeh
adcac1f207
SubMaster: improve service aliveness checks ( #31391 )
...
* bump cereal
* fix
* fixes
* single poll
* bump
* bump
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 279d2c3b23
1 year ago
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
1 year ago
Adeeb Shihadeh
2da00d3142
controlsd: log initializing timeouts
...
old-commit-hash: 013d4bd4ce
1 year ago
Greg Hogan
14e12980f5
simplify git remote is comma check ( #31284 )
...
* simplify git remote is comma check
* cast to str
* eliminate default and always return string
* add type annotation for cache decorator
* fix up default handling
old-commit-hash: 7affba06d8
1 year ago
Harald Schäfer
66dbadb029
Delete lat planner ( #31089 )
...
* Initial commit
* Fixup
* typo
* ignore lateral plan
* Update cereal
* Remove lateralPlan
* Fix release build
* Fix release build
* give car params
* Add carParams to include_all_types
* Write car param in powerdraw test
* add demo mode
* Update model regf
* proc replay ref commit
* Try
* Move enum definition
* Update cereal
* typo
* Write car param for modeld test
* Update ref
* Update model ref again
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c3846
1 year ago
Adeeb Shihadeh
972650f0eb
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
old-commit-hash: 7cd9568423
1 year ago
Harald Schäfer
f2106e0601
No curv rate for lateral control ( #31042 )
...
* No more Curvature rate for lat control
* Update cereal
* Update
* Fix lat control test
old-commit-hash: d36103791c
1 year ago
Adeeb Shihadeh
6315957cf4
remove common.profiler ( #30927 )
...
* remove common.profiler
* cleanup
old-commit-hash: f0ccb84ae3
1 year ago
Dean Lee
1d7d7b89b2
common/params: support nonblocking write ( #29808 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
* pass prefix to asywriter
* move to params
* assert(queue.empty())
* add comment
* add todo
* test_power_monitoring: remove patch
* rm laikad.py
* fix import
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c4c4d1f7f
1 year ago
Adeeb Shihadeh
b48abb9511
read params in a thread
...
old-commit-hash: fe24bdc689
1 year ago
Kacper Rączy
214b38bc69
controlsd: require joystick mode param for the body ( #30680 )
...
* Update joystick mode in step
* Stop putting the body in joystick mode by default
* Toggle JoystickDebugMode by default for notCars in process_replay
* Remove subsection about web joystick
* Update param only in non-cars
* Make joystickDebug non-static event, and add it in a loop
* Add comment
old-commit-hash: e62756596b
1 year ago
Kacper Rączy
9cf15f3c74
locationd: disable locationd temporary error alert on the body ( #30608 )
...
* Disable locationd temporary error alert on the body
* Disable locationd/paramsd/planner alerts on body with joystick mode
* joystick_enabled param not joystick_mode
old-commit-hash: 7f07f47302
1 year ago
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
1 year ago
Shane Smiskol
fd130642b6
joystick: bump max angle ( #30602 )
...
old-commit-hash: 09a9ba6de1
1 year ago
Adeeb Shihadeh
f408eb207a
remove unused last_actuators arg from lateral controllers ( #30595 )
...
old-commit-hash: ce4bac8218
1 year ago
Adeeb Shihadeh
3a3a41741e
add carParams.passive ( #30594 )
...
old-commit-hash: bd0ab957b1
1 year ago
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
1 year ago
Adeeb Shihadeh
e7d7501670
longitudinal tests: cleanup old hacks ( #30585 )
...
old-commit-hash: 8971e2c177
1 year ago
Adeeb Shihadeh
4394116e5b
clear non-release params on startup ( #30583 )
...
old-commit-hash: 531e62fc03
1 year ago
Adeeb Shihadeh
f38648f84b
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
old-commit-hash: b97e5b0e03
1 year ago
Adeeb Shihadeh
3d13288326
controlsd: remove old process replay sentinel ( #30581 )
...
old-commit-hash: 8e00ce672d
1 year ago
Vivek Aithal
f8dce94688
params: Remove separate CarParams from each daemon ( #30405 )
...
* remove separate previous route carparams from each daemon and add centrally to controlsd
* extract out sigint handler
* make process replay work for torqued
* don't write param if None
old-commit-hash: 2eb487c9a5
1 year ago
Kacper Rączy
7bd8c5425b
controlsd: reset axes in joystick mode if message is old ( #30409 )
...
Reset joystick if it wasnt received after 0.2 sec
old-commit-hash: c419376bbd
1 year ago
Adeeb Shihadeh
4b78e52e34
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
old-commit-hash: b68cfbb332
2 years ago
Adeeb Shihadeh
9c8de3e08b
simplify sensor alert ( #29824 )
...
* simplify
* update proc replay
old-commit-hash: a4aa801fbe
2 years ago
coffee-cake-isaac
cf35d8eded
joystick mode: add curvature control ( #30010 )
...
* Added curvature controls to joystick mode
* same line
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c43325fa17
2 years ago
Vivek Aithal
56f4c138cd
Alerts: More understandable locationd, paramsd alerts ( #29831 )
...
* add locationd paramsd alerts
* remove more additions, just renames
* update refs
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* resolve comemnts
* update cereal
* update refs
* remove nosensor in new alerts
* bump cereal
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00d1c682b0
2 years ago
Lee Jong Mun
89e5ee45ca
cleanup remnants of LQR and INDI tuning ( #29860 )
...
* not use 'indi' cleanup
* bump cereal
* rm more
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 238f9d65db
2 years ago
Vivek Aithal
43ce3d16df
locationd: Add camera-IMU cross-checks ( #29727 )
...
* camera-gyro cross checks, but one way
* increase factor to account for gyro noise (potholes, bad roads etc
* increase factor to reduce FP with device taps, bad roads, etc
* factor to 30
* add inputsok to sensoir data invalid alert
* bugfix
* move the sensors check
* add localizer catchall alert
* update refcommit
* remove permanent alert
* revert sensorDataInvalid alert change, split into new PR
old-commit-hash: dbada885ac
2 years ago
Adeeb Shihadeh
0010c9a986
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 780669c33fea1b2a14a0bd6e2eac82c9b8893aa5.
old-commit-hash: ec479322d3
2 years ago
Dean Lee
08e70aecb2
params: safe and efficient async writing parameters ( #25912 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0d797f4e8b
2 years ago
Adeeb Shihadeh
16ec56398c
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
old-commit-hash: a9626f95b6
2 years ago
Adeeb Shihadeh
51634f52dc
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
old-commit-hash: d61f86d339
2 years ago
Justin Newberry
715f028a0e
Ruff: enable flake8-builtins ( #29315 )
...
* enable flake8-builtins
* replace any with contains
* fix typo in pack
* fix type
* format is from the parent module, has to be enabled
* item_id
* fix item_id
* disable for id since that's what the remote server returns
old-commit-hash: 8793cbff40
2 years ago
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168
2 years ago
Vivek Aithal
3b18903574
[commabody] Support both self-balancing bodies and the wheeled bodies ( #29118 )
...
* add wheeled body support
* add WheeledBody param
* make movement less jerky
old-commit-hash: 92448012f0
2 years ago
Adeeb Shihadeh
b0c3778aae
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2
2 years ago
Adeeb Shihadeh
e51ad90e92
controlsd: write ControlsReady in thread ( #29048 )
...
old-commit-hash: 83c5d11dff
2 years ago
Adeeb Shihadeh
33e6aad83b
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.
old-commit-hash: 9c307f2550
2 years ago
Maxime Desroches
6ba97408e9
Update pycapnp and Cython ( #29021 )
...
* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb00421
.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 76ef1b9b9f
2 years ago
Shane Smiskol
f9c6c9e8c3
Revert "experimental mode: gate navigate on openpilot ( #28883 )" ( #29005 )
...
This reverts commit 929880496515e3f995634e561145802bf15a60ea.
old-commit-hash: b5b431c12d
2 years ago