long maneuvers https://github.com/commaai/openpilot/issues/26778 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
newish notes/ideas
maybe add options for constant accel control and constant velocity control, and a blend of both
good idea would probably be to filll a long_plan with speeds, times, accels from maneuver
speeds, accels, jerks
what do do about jerks
looks like jerks dont quite matter.
start with basic accels as derivative of speed graph
reset LoC at beginning
oldish notes
TODO: this is just for velocity.
but i used to set cruisestate speed to 0 and such, it was pretty responsive.
maybe start out with that and add acceleration stuff later
because right now, responsiveness to maneuver change in velocity is at the mercy of chill mode planning? (e2e is happy to keep barreling down at 60mph after you set speed to 10mph)
need to feeed desired vel directly into pid controller or somethign.
?closer to joystick code
?maybe in longcontrol.py vtarget upper lower stuff instead of long planner