Team 1 challenge complete.
https://youtu.be/scZhHsYZktE
Here is the code and program in zip file
Program
Init Variables
BeforeStart
socket_close("stream")
socket_open("127.0.0.1",63351,"stream")
Script: accessor_capt.script
Fx≔0.0
Fy≔0.0
Fz≔0.0
Mx≔0.0
My≔0.0
Mz≔0.0
Fz_max≔15
Fz_tolerance≔2.5
x_increment≔0.002
z_increment≔0.0005
Robot Program
rq_set_zero()
Gripper Open
MoveJ
home
Camera Locate
MoveL
Robo_Approach
Robo_Pick
Gripper Close
Robo_Exit
MoveJ
Waypoint_1
Gripper Open
home
Camera Locate
MoveL
UR_Approach
UR_Pick
Gripper Close
UR_Approach
MoveJ
Waypoint_2
Gripper Open
home
'Call '
push_z_axis
Loop norm(Fz)<Fz_max
position_increm≔Tool
position_increm[2] = position_increm[2]-z_increment
movel(position_increm,1.2,0.01,0,0.0001)
Thread_1
Script: sensor_thread.script_bak
For this challenge you need to pick & package parts with labels and weights.
Provided material :
- 4 blue containers all identified (1 item each)
- 1 black puck of 6oz = 170g
- 1 blue puck of 4oz = 113g
- 1 Robotiq Box
- 1 UR Box
- 1 Robotiq Sticker
- 1 UR Sticker
Goal : Place each item in the appropriate container.Hint 2: The boxes can only be identified by their labels, you will need to proceed in two steps.
Good luck !