how to create 3 link robot using robotic toolbox

106 vues (au cours des 30 derniers jours)
Cheng Yoong
Cheng Yoong le 22 Avr 2011
I'm trying to create a 3 links revolute robot using robotic toolbox release 8.
I define the links as below:
L1=link([0 1 0 0 0],'standard')
L2=link([0 1 0 0 0],'standard')
L3=link([0 1 0 0 0],'standard')
r=robot({L1 L2 L3})
plot(r,[1 1])
but it returns error"Insufficient columns in q"
how to solve this?
  6 commentaires
esraa
esraa le 25 Avr 2017
Excuse me I am new to this , but can you tell me on what basis are the values assigned to q1, q2 and q ?
Muhammad Zulkarnain Zakaria
start the toolbox first, use the startup_rvc in command window

Connectez-vous pour commenter.

Réponse acceptée

Chirag Gupta
Chirag Gupta le 22 Avr 2011
Modifié(e) : Walter Roberson le 21 Fév 2017
Try this:
L1 = link([0 1 0 0],'standard')
L2 = link([0 1 0 0],'standard')
L3 = link([0 1 0 0],'standard')
r = robot({L1,L2,L3})
plot(r,[1,1,1]);
The last matrix [1,1,1] is the default positions of the links.
To play further, try
drivebot(r)
  3 commentaires
öncü uzun
öncü uzun le 3 Avr 2020
Undefined function 'link' for input arguments of type 'double'.
it is giving this error
Walter Roberson
Walter Roberson le 4 Avr 2020
The references to link should be references to Link
The functions are from the Peter Corke Robotics toolbox https://petercorke.com/toolboxes/robotics-toolbox/

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur ROS Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by