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 hope now I did the branching correctly.
A particle in 3D must move from A to B and must stay in a tube definded by a parametric curve and a radius.
(Essentially like the drone, but I switched to a particle to get simple (=faster) EOMs)
Here one can see the following:
Trying to get the distance from the particle to the curve results in a nonlinear equation for the parameter which gives the point of the curve with smallest distance. I make this an additional rom, and the parameter n additional state variable. to ensure the particle stays inside the tube, I add another eom: dist = distance, and bound dist <= radius of tube.at some intermediate time tm the particle should move through a gate, modelled as a circle with center on the curve. To do this, I introduce yet another state variable and another specified variable, gate_h, and add gate = gate_h * distance. I bound gate_h >= 1 and set the instance constraint gate(tm) = radius of the gate.
Most of this is in other PRs, but I find maybe nicely summarized here.