Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drone in tube, new #292

Closed
wants to merge 1 commit into from

Conversation

Peter230655
Copy link
Contributor

I pushed this earlier, from a wrong branch.

This is the drone from examples-gallery, but now it must stay inside a tube of a given radius, and a curve as centerline of the tube.
To get the distance of the drone to the centerline of the tube, I intersect a certain plane (described in more detail in the program) with the centerline.
This will lead to a nonlinear equation for the point of intersection. I declare this equation an additional eom, and the parameter as an additional state variable. I do not think, this method in in examples gallery already.
The distance drone-centerline also becomes a state vatiable, so it can be bound 0 <= distance <= radius of the tube.

It turned out, that it is very difficult to get it to converge. My suspicion is that because the nonlinear equation in general has many solutions, this causes trouble with convergence. For example I never managed to get the drone to fly as fast as possible.

@Peter230655
Copy link
Contributor Author

This PR is very similar to #286 but #286 shows one additional feature: The particle has to pass a gate on its way.
So, I close it.

@Peter230655 Peter230655 closed this Jan 4, 2025
@Peter230655 Peter230655 deleted the drone-in-tube-new branch January 4, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant