manipulatorStateSpace error when I replace the originial robot with another one

1 view (last 30 days)
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 ?

Accepted Answer

Karsh Tharyani
Karsh Tharyani on 5 Mar 2024
Using manipulatorStateSpace requires Navigation Toolbox. Do you have the toolbox installed?
Best,
Karsh

More Answers (0)

Tags

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!