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
Shane Smiskol
296de39f48
experimental mode: gate navigate on openpilot ( #28883 )
...
* first draft copy, needs updates
* gate behind exp mode
* can be one line
* this is no longer true
* toggle isn't just e2e long now, rename
* don't enable/disable
* kinda works!
* remove old giant qstring
* comment clean up
* similar breakpoint
* more clean up
* fixup onroad
* preserve planner behavior, and we don't need to look at confirmed param if we're onroad
* update translations
* vanish translations
* use scene for op long
* lowercase!
* updated copy
* need to check longitudinal here now too
* clean up!
* here is better
* used
* no nav emoji
* don't check param if not valid
* revert this
revert this
* ed
old-commit-hash: f973d605b2
2 years ago
Kacper Rączy
fe84dadaa5
controlsd: support for SIMULATION mode for process replay ( #28895 )
...
* Support for simulation flag while replay
* Update cereal
* Enable simulation for controlsd
* Update ref commit
* Update cereal
old-commit-hash: 72579a0e10
2 years ago
Adeeb Shihadeh
59064a4f6a
sim: fix paramsd error ( #28685 )
...
old-commit-hash: 4662a0de82
2 years ago
Kacper Rączy
8aa845a1c8
modeld: use any available stream as main, if there's only one ( #28514 )
...
* Use whatever stream is available as main, if there's only one
* Move logw somewhere else
* Add wideRoadCameraState to ignore_alive if its not available
old-commit-hash: 4eb3d54149
2 years ago
Dean Lee
eddc84d104
automatically detect available camera streams ( #27640 )
...
* remove WideCameraOnly
* check in set_initial_state
* no block
* remove try block
* apply reviews
old-commit-hash: 4ae0378f63
2 years ago
Adeeb Shihadeh
d2ec950790
test onroad: explicit memory leak check ( #28502 )
...
old-commit-hash: 2f117e88b7
2 years ago
Adeeb Shihadeh
678825e10f
cloudlog process not running ( #28472 )
...
* cloudlog process not running
* error
old-commit-hash: a412cd07b1
2 years ago
Harald Schäfer
bb8eeb7873
Remove INDI controller ( #28366 )
...
old-commit-hash: dba437bc8d
2 years ago
Adeeb Shihadeh
7e64d60f4b
test_onroad: ignore vehicleModelInvalid ( #28335 )
...
* test_onroad: ignore vehicleModelInvalid
* not for all ci
old-commit-hash: cd57b340c1
2 years ago
Shane Smiskol
0189b3fbe6
controls: write recalibrating offroad alert once ( #28312 )
...
* only write once
* rm read
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 715f44ff45
2 years ago
Adeeb Shihadeh
b820990639
controlsd: check longitudinalPlan avg freq ( #28200 )
...
old-commit-hash: dee7ced00e
2 years ago
Adeeb Shihadeh
b9e0c2936b
controlsd: check for self lagging in radar alert
...
old-commit-hash: e889e09513
2 years ago
Adeeb Shihadeh
b376a2dd63
calibrationd: add offroad alert when remount detected ( #28073 )
...
* calibrationd: add offroad alert for recalibration
* Update common/params.cc
old-commit-hash: c192c92a4e
2 years ago
Harald Schäfer
5ddceb553d
Calibrationd: make recalibrating alert ( #28149 )
...
* Initial
* fixes
* not an int anymore
* elif
* revert ref
* update ref
* fix alert text
* regen refs
* update ref
* add recalibration unit test
* set into recalibration state
* fix words
* recalib
* text
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 598343aad1
2 years ago
Kacper Rączy
2d107da5cf
controlsd: disable controlsdLagging event during process replay ( #28177 )
...
Disable controlsdLagging event during process replay
old-commit-hash: e08952acc8
2 years ago
Adeeb Shihadeh
7e73e412ee
gate no gps alert on valid localizer inputs ( #28135 )
...
old-commit-hash: 154a42dcbd
2 years ago
Adeeb Shihadeh
4e87efb78c
controlsd: remove procs from ignore list ( #26848 )
...
* trim list
* check for file
old-commit-hash: c4501e4bc1
2 years ago
Shane Smiskol
6f0efe4ea0
Lane Departure Warning: fix desire index bug ( #28119 )
...
don't subtract 1
old-commit-hash: 4e951e4524
2 years ago
Shane Smiskol
71fed2384d
Remove dashcam override param ( #27509 )
...
* remove dashcam override
* sort
* remove ford from segments
old-commit-hash: e729f5b763
2 years ago
Adeeb Shihadeh
0691c6b6de
improved fan malfunction detection ( #27405 )
...
old-commit-hash: 9d64fb2d1a
2 years ago
Adeeb Shihadeh
bc61a6b1fd
controlsd: higher default set speed in experimental mode ( #27279 )
...
* controlsd: higher default set speed in experimental mode
* update tests
* update tests
old-commit-hash: 5ab2d35f7b
2 years ago