How to vary the output waypoints or number of outputs of a polynomial trajectory generator ?

1 次查看(过去 30 天)
I am using a polynomial trajectory generator. These are it's settings -
It constantly gives an output of 55 points for any settings. How can I increase the output or waypints ? Please suggest what settings I should change for it ?

回答(1 个)

Raghava S N
Raghava S N 2025-4-3
You can refer to this example model - https://www.mathworks.com/help/releases/R2024b/robotics/ug/generate-cubic-poly-traj-ex1.html. The number of output samples generated by the polynomial trajectory generator is impacted by the sample times used in the model.
In the example model that I have shared above, if you change the sample time block parameter of one of the scope block from -1 to say 0.1, the number of output samples generated will change based on the stop time. So, to see a change in the number of outputs generated, you may seek to tweak the sample times used in your model and achieve the desired results.
Hope that helped!

类别

Help CenterFile Exchange 中查找有关 Polynomials 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by