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 ?
0 个评论
回答(1 个)
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!