Path following animation with PyVista #5482
Replies: 2 comments 1 reply
-
Super, super cool. Thanks for sharing. I saw in the README that one of the objectives is to reduce drastic control actions, and the impact of those control actions is immediately apparent in the videos. |
Beta Was this translation helpful? Give feedback.
-
Thanks all! :) And thanks to the PyVista team for developing such a user-friendly visualization suite! For those curious, the objective function that the optimizer minimizes is specified here in the code: opti.minimize(
(np.maximum(duration, 0) / 240) ** 2
+ 15 * np.mean(dyn.altitude) / 440
+ 1e-3 * wiggliness
) where And the PyVista code to generate the path video is here. |
Beta Was this translation helpful? Give feedback.
-
Shout out to @peterdsharpe and his excellent path following video using PyVista in Air Racing Trajectory Optimization
.
trajectory-short.mp4
Beta Was this translation helpful? Give feedback.
All reactions