manipulatorStateSpace error when I replace the originial robot with another one

I am getting an error when I want to replace this robot robot = loadrobot("quanserQArm",DataFormat="row") of this example https://fr.mathworks.com/help/robotics/ref/manipulatorcollisionbodyvalidator.html with my own robot. I have it's URDF format and all but as soon as I replace it and run it I get this error:
The specified superclass 'nav.StateSpace' contains a parse error, cannot be found on MATLAB's search path, or is shadowed by another file with the same name.
I can use my own robot to generate trajecotries with RRT or CHOMP with no problem so URDF of the robot works just fine. I don't know if this problem is related to URDF or something else.
Anyone has any idea ?

 Respuesta aceptada

Using manipulatorStateSpace requires Navigation Toolbox. Do you have the toolbox installed?
Best,
Karsh

Más respuestas (0)

Productos

Versión

R2023b

Etiquetas

Preguntada:

el 27 de Feb. de 2024

Respondida:

el 5 de Mzo. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by