Hello everybody! This is my first post
Does anyone of you have experience with a UR10 combined with a SensoPart camera?
The camera is used for tracking a drilling in a car door.
If the door comes in, the robot sends a trigger signal to the camera to get the values (delta x and delta y).
I just started programming but the Robot doesn´t move the way I want
MoveJ
startposition
VISOR_CommandSocket_open()
VISOR_ResultSocket_open()
VISOR_setTrigger()
result_VISOR = socket_read_ascii_float(2, "VISOR_ResultSocket")
result_Meter = [result_VISOR[1]/1000000, result_VISOR[2]/1000000]
objectPosition = p[result_Meter[1], result_Meter[2], 0, 0, 0, 0]
VISOR_CommandSocket_close()
VISOR_ResultSocket_close()
pos_NewObject = pose_add(startposition, objectPosition)
MoveL
pos_NewObject
Does anyone of you have a clue for me?
Greetings Hawkey