SImulink PurePursuit error; trajectory problem (Version:R2023a)
Mostra commenti meno recenti
Hi.
I'm getting an error with the PurePursuit simulink block.
The error is "Excepted waypoints to be an array with number of columns equal to 2"
I also attached a minimally working Simulink file (Version:R2023a).
Thank you
Josh
1 Commento
Walter Roberson
il 14 Ott 2023
This does not appear to be using the Mathworks Robotics System Toolbox; it appears to be using the Peter Corke Robotics Toolbox. Peter Corke's toolbox is well respected for robotics work, but it is a third-party toolbox.
Risposta accettata
Più risposte (1)
Aishwarya
il 25 Ott 2023
0 voti
Hi Joshua,
As per my understanding, you are facing error in your Simulink model which points that waypoints are not in correct dimension as required by the ‘Pure Pursuit’ block.
Below are some suggestions that can help resolve the error:
- Ensure that the ‘waypoints’ input to the ‘Pure Pursuit’ block is an n-by-2 array of [x y] pairs, where ‘n’ is number of waypoints.
- The waypoints can be specified as an array in Simulink.
Please refer to below MathWorks documentation for more details on ‘Pure pursuit’ block:
I hope this helps.
Categorie
Scopri di più su Axes Transformations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
