Hi Forum,
I would like to take a measurement with a robot. For this I would like to compare the x/y/(z) position from the device under test with the position of the robot in relation to the reference frame of the DUT. A similar question has already been asked here in the forum and referred to the RobotsMonitor.py script. But I have some troubles with the script:
1.) Does the script have to be executed inside or outside of RoboDK? If I execute the script within RoboDK, the program flow hangs. If I execute the script outside in a console, a crash occurs (see attached image). It seems that the function tic() is not defined. Do I need another library? If Yes, wich one?
2.) How do I get the position related to the reference frame of the DUT?
3.) Do I have access to a time stamp to synchronize the position of the robot with the position of the DUT?
Thanks for your help,
Thomas
I forgot to mention my system:
Linux Mint Cinnamon with Anaconda
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
RoboDK V5.2.0.19949 (64 Bit)
I would like to take a measurement with a robot. For this I would like to compare the x/y/(z) position from the device under test with the position of the robot in relation to the reference frame of the DUT. A similar question has already been asked here in the forum and referred to the RobotsMonitor.py script. But I have some troubles with the script:
1.) Does the script have to be executed inside or outside of RoboDK? If I execute the script within RoboDK, the program flow hangs. If I execute the script outside in a console, a crash occurs (see attached image). It seems that the function tic() is not defined. Do I need another library? If Yes, wich one?
2.) How do I get the position related to the reference frame of the DUT?
3.) Do I have access to a time stamp to synchronize the position of the robot with the position of the DUT?
Thanks for your help,
Thomas
I forgot to mention my system:
Linux Mint Cinnamon with Anaconda
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
RoboDK V5.2.0.19949 (64 Bit)