Pure Pursuit (simulink) error :' Expected waypoints to be an array with number of columns equal to 2. '
조회 수: 1 (최근 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에서 Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!