Kacper Rączy
48d933970b
mpc_lib: fix dependencies ( #29621 )
...
* Remove common dependency of lateral mpc
* Replace cereal dir dependency with cereal lib in long mpc
* Add missing files to generated sources
* Typo fix
* messaging_python dep
old-commit-hash: 517499294a
2 years ago
Cameron Clough
2b38b62afe
add missing openpilot prefix to imports
...
old-commit-hash: 74b9a6af9e
2 years ago
Dean Lee
7b4400f2c6
scons: remove missing MPC headers ( #29485 )
...
* remove invalid files
* Update selfdrive/controls/lib/lateral_mpc_lib/SConscript
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Apply suggestions from code review
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 55cca6ed26
2 years ago
Justin Newberry
1a29920369
CI: enable missing tests ( #29538 )
...
old-commit-hash: 979c96167d
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
Eric Brown
1f6a7d4796
Swap `belowSteerSpeed` and `resumeRequired` alert priorities ( #28795 )
...
* GM: Don't send belowSteerSpeed when resumeRequired
* Set belowSteerSpeed alert to LOW priority, resumeRequired to MID
* Add script to output all events and their priorities by type
* Set CP, CS, sm
* Subscribe to same messages as controlsd
* Create callable alerts
* Remove event print script
* Remove sng check
old-commit-hash: 111b6438c6
2 years ago
Kacper Rączy
eb87a31bc5
Unpin numpy ( #29421 )
...
* Unpin numpy
* Update lock file
* leave acados comment
* Fix warnings
* Fix more paramsd warnings
old-commit-hash: 62a88e504d
2 years ago
Justin Newberry
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e65924
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
eFini
8ccdd58174
longitudinal_planner.py: cleaner variable assignment ( #29290 )
...
* cleaner variable assignment
* Update selfdrive/controls/lib/longitudinal_planner.py
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8ca7753c95
2 years ago
Justin Newberry
3ee0786de3
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
old-commit-hash: 7fdd9fc37c
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
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b
2 years ago
Justin Newberry
99006365a3
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a
2 years ago
Kacper Rączy
edc31db6df
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
old-commit-hash: c640429406
2 years ago
Lee Jong Mun
de51cfd9e5
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>
old-commit-hash: a61df2bdde
2 years ago
Adeeb Shihadeh
8bcaf1f942
increase min duration of steer saturated alert ( #29191 )
...
* increase min duration of steer saturated alert
* update refs
old-commit-hash: 3476205569
2 years ago
Maxime Desroches
06125f1309
Test scons multithreaded random build ( #29082 )
...
* random build
* name
* 2 pass
* clean after
* fail on this
* fix deps
* format
* var
* try without lfs
old-commit-hash: 97eec45d42
2 years ago
Harald Schäfer
8a48732784
radard: no clustering ( #29010 )
...
* First commit
* cleanup
* Update ref
* Doesnt deserve two files
* cleanup radard
old-commit-hash: ca699e3989
2 years ago
eFini
05181ed6b1
long_mpc: clean up get_T_FOLLOW() usage ( #29033 )
...
old-commit-hash: 7a5dbe6132
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
Eric Brown
3ebff5c415
Events: debug script ( #28898 )
...
* Move to separate branch
* Fix mypy
* Better printout
* Fix spacing
* cleanup
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 22c413af6d
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
Adeeb Shihadeh
27b53b914b
reduce startup alert duration ( #28749 )
...
* reduce startup alert duration
* update refs
old-commit-hash: 336b5f7324
2 years ago
Shane Smiskol
82eb958e41
desire helper: fix text flicker when changing direction ( #28720 )
...
* draft
* or this works
* or simply this
old-commit-hash: e8007950ae
2 years ago
Harald Schäfer
075dc34240
Test and fix cruise speed all personalities ( #28658 )
...
* Fix cruise speed in non-standard mode
* Test all personalities
* Test only critical speeds
* 35ms max
old-commit-hash: ae3681f2bb
2 years ago
Adeeb Shihadeh
826706dd30
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>
old-commit-hash: 4464383833
2 years ago
Dean Lee
1b3ba1c7ee
ui: multilang offroad alerts ( #28512 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 2b800cf2e7
2 years ago
Kacper Rączy
9917924ee5
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
old-commit-hash: 83d6552a15
2 years ago
Dean Lee
0f8ce1d31f
handle conversion exception for LongitudinalPersonality ( #28426 )
...
* handle type conversion exception
* catch multiple exception
old-commit-hash: 48b507c0b4
2 years ago
Harald Schäfer
36aa81cdc3
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
old-commit-hash: 205c900742
2 years ago
Harald Schäfer
4477f8a3a3
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
old-commit-hash: a446c1fa56
2 years ago
Harald Schäfer
bb8eeb7873
Remove INDI controller ( #28366 )
...
old-commit-hash: dba437bc8d
2 years ago
Harald Schäfer
ef130058c6
Plannerd: higher upper bound cost for lateral planner ( #28352 )
...
20k not good upper bound for 10s
old-commit-hash: cbd3e5b946
2 years ago
Shane Smiskol
8bb530cec5
Deprecate brakeUnavailable event ( #28351 )
...
* bump cereal
* deprecate
* Update selfdrive/controls/lib/events.py
old-commit-hash: fc2bd16e72
2 years ago
Shane Smiskol
dc829240cd
offroad alerts: change email reference to support page ( #28311 )
...
old-commit-hash: 79872db741
2 years ago
Kacper Rączy
40094396b4
lateral_planner: init missing variables ( #28222 )
...
Init missing variables in LateralPlanner constructor
old-commit-hash: 7b68a13048
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
Shane Smiskol
298e7466f5
Ford: hybrids are unsupported ( #28171 )
...
* hybrid fords are dashcammed
* something like this?
* just do an alert
* good comment
* space
* bb
bb
* top
* Update selfdrive/car/ford/interface.py
* add a noEntry
* remove from release notes
* sad :(
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 344064d6bd
2 years ago
Vivek Aithal
4be83d0d57
Lateral Planner: Calibrate model speed with vEgo ( #28049 )
...
* calibrate speed in the lateral planner
* make speed err helper fn
* check if trans has values
* clip the vel_err
* update refs
old-commit-hash: a599890fed
2 years ago
Shane Smiskol
da12bfb021
Ford: add alert for steering wheel angle not ready ( #28140 )
...
* add event for steering angle calibrating
* how about this
how about this
* rename
* more openpilot-y
* add comment to code
* move to top
* better wording
* more general
* fix
* ?
* above
* bump cereal to master
* add more comms
old-commit-hash: fb29d0f3bf
2 years ago
Harald Schäfer
73e00a05ac
Calibration remount detector: soft disable ( #27993 )
...
* Calibration remount detector: soft disable
* Update test_calibrationd.py
old-commit-hash: a979a54cf9
2 years ago
Vivek Aithal
b6909a65e7
Bolt EUV: Non-linear torque function ( #27696 )
...
* add erf based ff
* silly bug; diff of nonlinear != nonlinear of diff
* add sigmoid based ff, ensure slope at 0 > 1
* reduce steer down limit and increase driver allowance
* rebase panda
* atry without friction, and with tanh nonlinear
* finalize the nonlinear function
* do not disable friction compensation in the ff
* bump panda
* bump panda
* update refs
* update refs
* resolve comments
* Add type hints
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 15b880c0ea
2 years ago
Jason Young
6433154d5d
remove accFaultedTemp, add steerTimeLimit ( #27720 )
...
* remove accFaultedTemp
* retry CI
* bump cereal
* grab the new steerTimeLimit Event
* bump cereal to updated master
old-commit-hash: 267974e002
2 years ago
Shane Smiskol
827c5678f0
uiPlan: add planned acceleration field ( #27484 )
...
* add accel
* bump cereal
* Update ref_commit
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 3ab8645d3a
2 years ago
Adeeb Shihadeh
70cfe29351
better main off alert ( #27442 )
...
old-commit-hash: 7a3b3e8b56
2 years ago
Adeeb Shihadeh
956918eb1d
GM: revert custom Bolt torque tune ( #27403 )
...
* Revert "GM: cleanup torque feedforward function (#27347 )"
This reverts commit cdd8f003e3571d4b33fc71c4bc23744cea02140c.
* Revert "Chevrolet Bolt: Non-linear torque tune (#27344 )"
This reverts commit b6737ca5903ecaac3d6322b92112ccb67116b149.
* update refs
old-commit-hash: 2008332bd4
2 years ago
Adeeb Shihadeh
0a1ee30b15
add 'remount device' to permanent calibration invalid alert ( #27407 )
...
old-commit-hash: ea419c5764
2 years ago