Skip to content

How to create a moving platform that follows a user-defined path #578

Answered by oharrald-Dstl
ekhunter123 asked this question in Q&A
Discussion options

You must be logged in to vote

You could use the create_smooth_transition_models (constant accel, constant turn) or ConstantJerkSimulator (constant jerk) simulators to achieve this. You pass them a sequence of timestamped states and they will attempt to generate a sequence of transition models and durations (intended to be passed to the MultiTransitionMovingPlatform) that will allow a platform to achieve the states in the timestamps specified.
See:
https://stonesoup.readthedocs.io/en/latest/auto_examples/Smooth_Platform_Coordinate_Transitions.html#sphx-glr-auto-examples-smooth-platform-coordinate-transitions-py

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ekhunter123
Comment options

ekhunter123 Jan 18, 2022
Collaborator Author

@ekhunter123
Comment options

ekhunter123 Jan 28, 2022
Collaborator Author

Answer selected by ekhunter123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants