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.
I do not believe, such an example as described below is in examples-gallery.
$t_{intermediate} = integer \cdot h$ , with $0 < integer < num_{nodes}$ and h = interval time.
A car in the X/Y plane should drive close to two points and return to its starting point.
I want opty to decide at what intermediate times it reaches the points.
To the best of my knowledge, opty does not allow variable intermediate times, but they must be of the form:
So, I proceeded as follows:
This is explained in detail in the simulation.
It works, unless the hump is too steep. Mathematically it is differentiable infinitely often, but I guess numerically it ceases to be so, if too steep (?).
This crutch comes at the expense of 2 additional state variables and one specified variable per point, but I could not come up with a better way to do it.