how to create 3 link robot using robotic toolbox

조회 수: 356(최근 30일)
Cheng Yoong
Cheng Yoong 2011년 4월 22일
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
Muhammad Zulkarnain Zakaria
Muhammad Zulkarnain Zakaria 2021년 6월 6일
start the toolbox first, use the startup_rvc in command window

댓글을 달려면 로그인하십시오.

채택된 답변

Chirag Gupta
Chirag Gupta 2011년 4월 22일
편집: Walter Roberson 2017년 2월 21일
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})
The last matrix [1,1,1] is the default positions of the links.
To play further, try
  댓글 수: 3
Walter Roberson
Walter Roberson 2020년 4월 4일
The references to link should be references to Link
The functions are from the Peter Corke Robotics toolbox

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by