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

Plot pendulum swing up variable duration #241

Prev Previous commit
Next Next commit
better initial guess, fewer frames in the animation
Peter230655 committed Sep 17, 2024

Verified

This commit was signed with the committer’s verified signature.
commit c99a4d94774d2473a79e1dae13f847b039efa9d2
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ def obj_grad(free):
# %%
# Here the better initial conditions are saved and stored

# ``np.save('pendulum_swing_up_variable_duration_solution', solution)``
# ```np.save('pendulum_swing_up_variable_duration_solution', solution)```

# %%
# Plot the optimal state and input trajectories.