Pure Pursuit (simulink) error :' Expected waypoints to be an array with number of columns equal to 2. '
9 次查看(过去 30 天)
显示 更早的评论
Good morning,
I'm trying to give to the PurePursuit simulink block a matrix n-by-2 in which the two columns are vectors x and y, the waypoints of a trajectory, but it continues to give me this error.
Can anyone tell me what the problem could be?
Thanks in advance.
1 个评论
Ajay Pattassery
2022-11-22
Could you confirm whether the waypoints are nx2 by verifying
width(waypoints) == 2
If it is true, please share a minimal working simulink example to inspect.
回答(2 个)
Ajay Pattassery
2023-1-27
This example demonstrates how to execute an obstacle-free path between two locations on a given map in Simulink. The example provide waypoints as an nx2 matrix.
Let us know if the issue still exist. If it exists share the actual error message and preferably a minimal simulink example to inspect.
0 个评论
Joshua Tashbar
2023-10-8
Hi.
I am having this same problem with the PurePursuit simulink block.
The error is below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1505699/image.png)
I also attached a minimally working Simulink file (Version:R2023a).
Thank you
Josh
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!