SImulink PurePursuit error; trajectory problem (Version:R2023a)
Mostrar comentarios más antiguos
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 comentario
Walter Roberson
el 14 de Oct. de 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.
Respuesta aceptada
Más respuestas (1)
Aishwarya
el 25 de Oct. de 2023
0 votos
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.
Categorías
Más información sobre Modeling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
