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

UR10e Using Touchprobe To Probe Object

#1
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?
Code:
MoveTo(Point);

while(ProbeSignal == OFF){
MoveToPoint(XSTEP, YSTEP, ZSTEP);
}
在(ProbeSignal = =) {
MoveAwayOfPoint(-XSTEP/10, -YSTEP/10, -ZSTEP/10);
}
生理记录仪dData(JointValues, CartesianValues);
#2
Are you planning on using the post-processor or RoboDK to drive the robot and record the data?
The latter is easier to implement. You can find an example here://www.sinclairbody.com/forum/Thread-Executin...8#pid10558
Please read theForum Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .
#3
Hi Sam!

Thanks for the code of the other post!
I've got it all working now!


- Shkar




Users browsing this thread:
1 Guest(s)