Justin Newberry
7fdd9fc37c
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a
.
2 years ago
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2 years ago
Kacper Rączy
1774b4fc61
Revert "radard: tie radard frequency to modelV2 ( #29063 )" ( #29243 )
...
This reverts commit 255f5c13f2
.
2 years ago
Kacper Rączy
255f5c13f2
radard: tie radard frequency to modelV2 ( #29063 )
2 years ago
Kacper Rączy
c640429406
aarch64: ubuntu build support ( #29171 )
...
* Add support for aarch64 pc linux
* Add new libyuv path to release files
* Add libyuv's x86_64 lib dir
* Move left-over platform specific dirs from files_common
* Remove libyuv/lib directory (duplicate)
* Fix mpc Sconscripts
* Remove acados lib path from mpc sources
* Fix typo
* Add watch3 exec on aarch64
2 years ago
Lee Jong Mun
a61df2bdde
controls: use common car interface acceleration limits ( #29184 )
...
* Duplicate Accel param
using interfaces accel param
* revert brand accel value
* import error
* sort
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Adeeb Shihadeh
3476205569
increase min duration of steer saturated alert ( #29191 )
...
* increase min duration of steer saturated alert
* update refs
2 years ago
Vivek Aithal
92448012f0
[commabody] Support both self-balancing bodies and the wheeled bodies ( #29118 )
...
* add wheeled body support
* add WheeledBody param
* make movement less jerky
2 years ago
Maxime Desroches
97eec45d42
Test scons multithreaded random build ( #29082 )
...
* random build
* name
* 2 pass
* clean after
* fail on this
* fix deps
* format
* var
* try without lfs
2 years ago
Adeeb Shihadeh
1945c356c2
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>
2 years ago
Kacper Rączy
0faab606b0
radard: cleanup and refactor ( #29071 )
...
Re-structure + add typing
2 years ago
Harald Schäfer
ca699e3989
radard: no clustering ( #29010 )
...
* First commit
* cleanup
* Update ref
* Doesnt deserve two files
* cleanup radard
2 years ago
Adeeb Shihadeh
83c5d11dff
controlsd: write ControlsReady in thread ( #29048 )
2 years ago
eFini
7a5dbe6132
long_mpc: clean up get_T_FOLLOW() usage ( #29033 )
2 years ago
Adeeb Shihadeh
9c307f2550
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 76ef1b9b9f
.
2 years ago
Maxime Desroches
76ef1b9b9f
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>
2 years ago
Shane Smiskol
b5b431c12d
Revert "experimental mode: gate navigate on openpilot ( #28883 )" ( #29005 )
...
This reverts commit f973d605b2
.
2 years ago
Eric Brown
22c413af6d
Events: debug script ( #28898 )
...
* Move to separate branch
* Fix mypy
* Better printout
* Fix spacing
* cleanup
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Shane Smiskol
f973d605b2
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
2 years ago
Kacper Rączy
72579a0e10
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
2 years ago
Adeeb Shihadeh
336b5f7324
reduce startup alert duration ( #28749 )
...
* reduce startup alert duration
* update refs
2 years ago
Shane Smiskol
e8007950ae
desire helper: fix text flicker when changing direction ( #28720 )
...
* draft
* or this works
* or simply this
2 years ago
Adeeb Shihadeh
4662a0de82
sim: fix paramsd error ( #28685 )
2 years ago
Harald Schäfer
ae3681f2bb
Test and fix cruise speed all personalities ( #28658 )
...
* Fix cruise speed in non-standard mode
* Test all personalities
* Test only critical speeds
* 35ms max
2 years ago
Adeeb Shihadeh
4464383833
thermald: show temp value in offroad alert ( #28664 )
...
* thermald: show temp value in offroad alert
* update
* better for multilang
* update translations
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Dean Lee
2b800cf2e7
ui: multilang offroad alerts ( #28512 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Kacper Rączy
83d6552a15
lateral_planner: expose solverState, solverCost in debug mode ( #28577 )
...
* Update cereal
* Add xs, ys, solverCost support in lat planner
* Update cereal
* Add support for debug mode. Add solverState
* Read debug mode from env
* Update cereal
2 years ago
Adeeb Shihadeh
111b4eee30
fix a bunch of python warnings ( #28576 )
...
* fix a bunch of python warnings
* fix that
2 years ago
Kacper Rączy
4eb3d54149
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
2 years ago
Dean Lee
4ae0378f63
automatically detect available camera streams ( #27640 )
...
* remove WideCameraOnly
* check in set_initial_state
* no block
* remove try block
* apply reviews
2 years ago
Adeeb Shihadeh
2f117e88b7
test onroad: explicit memory leak check ( #28502 )
2 years ago
Adeeb Shihadeh
a412cd07b1
cloudlog process not running ( #28472 )
...
* cloudlog process not running
* error
2 years ago
Dean Lee
48b507c0b4
handle conversion exception for LongitudinalPersonality ( #28426 )
...
* handle type conversion exception
* catch multiple exception
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
Harald Schäfer
a446c1fa56
Radard: just get relative speed from model ( #27493 )
...
* refactor radard
* Revert "refactor radard"
This reverts commit 4b3507ff58
.
* May work
* No radar for test
* check length
* no accel for now
* First accel
* Cleaner way
* Re-enable radar
* update proc replay
* This might cause oscillation
* Update ref commit
2 years ago
Harald Schäfer
dba437bc8d
Remove INDI controller ( #28366 )
2 years ago
Adeeb Shihadeh
cd57b340c1
test_onroad: ignore vehicleModelInvalid ( #28335 )
...
* test_onroad: ignore vehicleModelInvalid
* not for all ci
2 years ago
Harald Schäfer
cbd3e5b946
Plannerd: higher upper bound cost for lateral planner ( #28352 )
...
20k not good upper bound for 10s
2 years ago
Shane Smiskol
fc2bd16e72
Deprecate brakeUnavailable event ( #28351 )
...
* bump cereal
* deprecate
* Update selfdrive/controls/lib/events.py
2 years ago
Shane Smiskol
715f44ff45
controls: write recalibrating offroad alert once ( #28312 )
...
* only write once
* rm read
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Shane Smiskol
79872db741
offroad alerts: change email reference to support page ( #28311 )
2 years ago
Adeeb Shihadeh
dee7ced00e
controlsd: check longitudinalPlan avg freq ( #28200 )
2 years ago
Kacper Rączy
e6ac6320ac
process_replay: universal replay mechanism using cereal fake sockets ( #28115 )
...
* replay_process_with_fake_sockets implementation
* add missing polled_pubs to configs
* drained_pubs field
* updated cereal
* Remove python/native variations of process replay. Replace with universal one using cereal fake sockets
* Replace old py FakeSocket with DummySocket
* Invalidate and deregister fake sockets after replay is done
* Remove unused import
* Set up new prefix for each replay
* Fixes for radard
* Refactor ReplayContext and ProcessConfig
* Minor fixes
* Reimplement controlsd fingerprinting callback
* time.sleep for sockets to safely reconnect
* Fix fingerprinting for controlsd
* Fixes for regen to work
* Fix replay loop to respect submaster frames
* Fix profiler to use new ProcessConfig fields
* Remove tqdm
* Refactor tests to use new ProcessConfig
* Add FrequencyBasedRcvCallback
* Make tolerance None by default
* Update cereal
* Add get_process_config utility func
* Update cereal. Simplify sync procedure
* Chain context managers
* New sub-socket reconnection procedure
* Fix linter issues
* Revert chaining of context managers
* Init controlsState only when replaying controlsd. Update cereal
* Update cereal
* Update process_replay to use new cereal API
* Update cereal
* Update cereal
* Update cereal
* Simplify radard recv callback
* Update release/files_common
2 years ago
Kacper Rączy
7b68a13048
lateral_planner: init missing variables ( #28222 )
...
Init missing variables in LateralPlanner constructor
2 years ago
Adeeb Shihadeh
e889e09513
controlsd: check for self lagging in radar alert
2 years ago
Adeeb Shihadeh
c192c92a4e
calibrationd: add offroad alert when remount detected ( #28073 )
...
* calibrationd: add offroad alert for recalibration
* Update common/params.cc
2 years ago
Harald Schäfer
598343aad1
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>
2 years ago
Kacper Rączy
e08952acc8
controlsd: disable controlsdLagging event during process replay ( #28177 )
...
Disable controlsdLagging event during process replay
2 years ago