06-21-2022, 01:14 PM
Hello!
I'm currently working on a project with the UR10e and Robodk. To automatically probe an object using a touchprobe, the probe is connected to Digital Input 2 (I can read the output), as I was hoping to make use of SearchL.
However I can't find any way in the post processor to enable setup the SearchL function.
I saw in a different forum post, something called Binary Search being recommended, but I haven't found any information on how to actually implement this in to the RoboDK API in Python.
The basic idea for my project is explained in the pseudocode down below.
Any ideas on how to implement this code within RoboDK?
I'm currently working on a project with the UR10e and Robodk. To automatically probe an object using a touchprobe, the probe is connected to Digital Input 2 (I can read the output), as I was hoping to make use of SearchL.
However I can't find any way in the post processor to enable setup the SearchL function.
I saw in a different forum post, something called Binary Search being recommended, but I haven't found any information on how to actually implement this in to the RoboDK API in Python.
The basic idea for my project is explained in the pseudocode down below.
Any ideas on how to implement this code within RoboDK?
Code:
MoveTo(Point);
while(ProbeSignal == OFF){
MoveToPoint(XSTEP, YSTEP, ZSTEP);
}
在(ProbeSignal = =) {
MoveAwayOfPoint(-XSTEP/10, -YSTEP/10, -ZSTEP/10);
}
生理记录仪dData(JointValues, CartesianValues);