How can I change the base position of universalUR10 robot model
Mostra commenti meno recenti
Code:
ur10 = loadrobot('universalUR10');
ur10Moved = rigidBodyTree;
rb = rigidBody('newBaseForUR10');
rb.Joint.setFixedTransform(trvec2tform([3,0,0]));
ur10Moved.addBody(rb, 'base');
ur10Moved.addSubtree('newBaseForUR10', ur10);
show(ur10);
xlim([-2 4])
zlim([0, 1.5])
hold on
show(ur10Moved);
Error:
The name of the body, base, has already been used in the robot. Use a different name for the body.
when I use a different name, i got this error:
Body with name bbase is not found. Check the BodyNames property of the rigidBodyTree object to get a list of body names.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Manipulator Modeling 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!