Team 3
Part 1: PCB Insertion using force sensor
https://www.youtube.com/watch?v=L6TJVJl2s68
Part 2: Lid Placement
https://www.youtube.com/watch?v=DtYgwjChN3k
Here is the code
Loop
'Write robot program here.'
Call Task_4
Wait: 0.01
Thread_1
sensor_data≔socket_read_ascii_float(6,"stream")
If sensor_data[0] ≥6
Fx≔sensor_data[1]
Fy≔sensor_data[2]
Fz≔sensor_data[3]
Mx≔sensor_data[4]
My≔sensor_data[5]
Mz≔sensor_data[6]
Else
Fx≔0.0
Fy≔0.0
Fz≔0.0
Mx≔0.0
My≔0.0
Mz≔0.0
SubP_rq_set_zero
rq_set_zero()
SubP_rq_print_firmware_version
rq_print_firmware_version()
SubP_rq_print_prod_year
rq_print_prod_year()
SubP_rq_print_serial_number
rq_print_serial_number()
SubP_rq_print_version
rq_get_version()
Task_4
MoveJ
Waypoint_1
Gripper Move 65%
'Camera Locate'
Gripper Open
Camera Locate
MoveL
Waypoint_14
Waypoint_16
Gripper Close
Waypoint_14
MoveJ
Waypoint_17
Waypoint_18
Gripper Open
Waypoint_17
Waypoint_19
Gripper Close
Wait: 1.0
Loop Fy<5
MoveL
Waypoint_20
Waypoint_23
Waypoint_21
Wait: 1.0
Loop Fx>-5
MoveL
Waypoint_22
Waypoint_21
This challenge consists of an advanced assembly of a Robotiq Universal Controller
Provided material:
- Control box with panel
- Panel screws (black)
- Din rails with screws
- PCB with screws
- 12V Spur Gearmotor with hex-shank bit holder
- Complete bit set
Goal: Use vision to pick the PCB, the panel and the DIN rails. Assemble the control box.Hint 1: You can control the motor with IO's.
Hint 2: You can insert the PCB in place using force signals.
Good luck!