Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

No public property 'TIMEOUT' for class 'Robolink error with MoveL()

#1
Exclamation
Hello, I have a Matlab script controlling RoboDK station (attached). I want to use robot.MoveL() function to move to target called '44'. But I am getting an error" No public property 'TIMEOUT' for class 'Robolink'."
Here is my code:
Code:
%RoboDK inititalization
RDK = Robolink;

path = RDK.getParam('PATH_LIBRARY');
fprintf('Available items in the station:\n');
%disp(RDK.ItemList());
robot = RDK.Item('UR5e');
tool = RDK.Item('RobotiQ 2F85');
fprintf('Robot selected:\t%s\n', robot.Name());
robot.setVisible(1);
frameref = robot.Parent();
fprintf('Robot reference selected:\t%s\n', frameref.Name());
object = RDK.Item('base');
fprintf('Object selected:\t%s\n', object.Name());

targetMap = [3,3];
valueRow = targetMap(1);
valueColumn = targetMap(2);
home = RDK.Item('44');
robot.MoveL(home);
while robot.Busy()
暂停(100);
fprintf('Waiting for the robot to finish...\n');
end

Here is my Command window log with error mesages:
Code:
>> analysis_test
抢劫ot selected: UR5e
抢劫ot reference selected: UR5e Base
Object selected: UR5e Base
No public property 'TIMEOUT' for class 'Robolink'.

Error in RobolinkItem/WaitMove (line 706)
set(this.link.COM,'Timeout', this.link.TIMEOUT);

Error in Robolink/moveX (line 272)
itemrobot.WaitMove();% checks connection

Error in RobolinkItem/MoveL (line 578)
this.link.moveX(target,this,2,blocking);

Error in analysis_test (line 20)
robot.MoveL(home);


Attached Files
.rdk robot_station7x7.rdk(Size: 3.51 MB / Downloads: 350)
#2
Can you make sure you are running the latest version of Robolink and RobolinkItem?
You should find the latest version here:
https://github.com/RoboDK/RoboDK-API/tree/master/Matlab

Also, make sure you don't have previous versions of these files in the path.

If you still have issues: What version of Matlab are you using?
#3
Exclamation
(05-25-2020, 09:41 PM)Albert Wrote:Can you make sure you are running the latest version of Robolink and RobolinkItem?
You should find the latest version here:
https://github.com/RoboDK/RoboDK-API/tree/master/Matlab

Also, make sure you don't have previous versions of these files in the path.

If you still have issues: What version of Matlab are you using?

Hello
My MATLAB version is R2021a. I have the latest version of Robolink and RobolinkItem. Unfortunately, I have the same problem. I'll appreciate your help.
Thanks
#4
Can you provide us with the RoboDK project and Matlab code you used to reproduce this issue?




Users browsing this thread:
1 Guest(s)