SImulink PurePursuit error; trajectory problem (Version:R2023a)
Afficher commentaires plus anciens
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 commentaire
Walter Roberson
le 14 Oct 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.
Réponse acceptée
Plus de réponses (1)
Aishwarya
le 25 Oct 2023
0 votes
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.
Catégories
En savoir plus sur Modeling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
