On the UR10 I can use the force function force() to halt the robot when it finds the part. What's the easiest way to replicate this on RoboDK? My guess is that I need a python script with the position of the part and a loop checking the force() variable. Is there an easier way?
Do you mean just replicate this behavior in the simulation environment?
If so, checking for a "collision" could be a good approach.
Thanks for the reply. I'm programming a UR10 and RoboDK has been excellent so far but I'd like to use the force mode of the UR10 and I'd like to run the program exclusively from RoboDK (that's what I've been doing up until now - i.e. I'm not transferring programs then running from the teach pendant).
The force mode seems relatively easy to use on the UR10 so I'd like to take advantage of it in RoboDK. I want to send the robot to a target but also monitor the force() function as it does so.
03-31-2022, 08:07 AM (This post was last modified: 03-31-2022, 08:09 AM by Jonatanlaz.)
I want that during the execution of the program, the robot stops for 2 seconds when it detects a force greater than 1.5 Newton and then continues.
Doing it directly from RoboDK and sending it to the robot, I can't get it to stop. What am I doing wrong?
I attach my robodk file.
In addition to my previous query, I would like to create in python a program that would take the current value of my robot and move me, for example, 10 mm in the X axis with respect to this last position. I have written these lines of code but it gives me an error. I attach the program.
What am I doing wrong?