How do I carry out this trajectory through this data?

2 ビュー (過去 30 日間)
ANDRÉS MAURICIO DÍAZ BELTRÁN
ANDRÉS MAURICIO DÍAZ BELTRÁN 2021 年 10 月 3 日
回答済み: Steve Miller 2022 年 11 月 26 日
I need to do this route, I have one that runs in a circle but I have no idea of ​​doing it for a square like the one in the image.
In addition, I must do it with these data.
My simulink model for the circle is the following.
I am attaching my two files to generate the model.

回答 (1 件)

Steve Miller
Steve Miller 2022 年 11 月 26 日
You can use the Repeating Sequence block to define the sequence for the square. I have attached the model to this answer.
Below you can see the animation for the IK solution for the circular path and the square path
Circular path
Square path (green circle shown as a visual reference)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by