Lab Assignment 1 - Dual Cobot Assembly Task
Lab Assignment 1 - Dual Cobot Assembly Task
Weight: 20%.
Demo Due: Week 6 Lab Class – 18:00 Monday, 29 March (Viva booking Zoom meeting)
Report Due: Week 6 – 21:00 Friday 2 April
All demonstrations will be done individually with each student via Zoom. You must have a microphone,
camera and be able to share your screen, so as to show your code / simulation. If you can attend UTS and use
the real robots then you should video the outcomes. There is no need to demonstrate the real robots live, just
play the video. However, it may be impossible for some students to attend UTS to use the labs or equipment.
If you can safely attend UTS within the policy/regulations at the time, it will improve your learning experience.
But if you cannot attend then we will ignore the real robot marks and scale your marks accordingly.
Background:
Your company, SafeCo, assembles small brick walls. SafeCo have recently had a significant increase in orders
that the staff and existing robots simply cannot keep up with.
Fig 1: (a) An example of a Universal Robot mounted on a linear rail; (b) A brick to be layed; (c) Rough sketch
of the layout using 2 UR5s on linear rails; (d) Same sketch different view.
SafeCo already have one UR5 robot which is mounted on a linear rail. This model is given to you (in the
toolbox) and you may use this. SafeCo’s management would like to introduce another robot into their
production workflow to help with menial tasks such as the stacking of the bricks. Due to space limitations, it is
important to management that the factory workspace is not changed significantly or rearranged unnecessarily.
Additionally, SafeCo will still have many people performing various other tasks in the factory. Thus, for safety
and efficiency, SafeCo have decided to buy a UR3 (not a UR3e) OR a Sawyer – you must decide.
Task Overview:
Before the robots arrive, management wants some modelling done, and someone to investigate how and
where to mount the robot bases, and a simulated demonstration of the assembly task being performed given
a more open-ended scenario. You, as the person with the most experience working with robots, have been
delegated this task. You have been instructed to use Matlab and to adhere to SafeCo’s coding standards (they
will be provided). You will need to write a professional report describing in detail your findings, and reflections.
D1) Investigate Matlab’s “GUIDE “to input a transform for the base of the arms, and the start location of the
bricks and the drop off location.
D2) Given a ROS '.bag' file of a real robot moving, playback the .bag file and demonstrate your simulated robot
movements match the movements from the video of the real robot.
D3) Incorporate a sensor (e.g. camera, e-Stop, limit switch) via ROS that passes data into your Matlab system.
You may like to use your SBC (e.g. Raspberry Pi) or an Arduino.
D4) Use the Virtual reality setup OR the UR simulated robot on either the CloudLab or your local Polyscope VM.
R1) Use Matlab’s “profile” tool to investigate which functions consume most of the time. Reflect briefly (in the
report) on alternative methods to improve computational efficiency.
R2) Given the brick models, select an appropriate gripper1 and discuss with the use of diagrams the ideal way
to grasp the objects.
1
https://www.universal-robots.com/plus/end-effectors/#/01011111111111111111
Marking Scheme:
The assignment is worth 20% of the subject. The assignment will be marked out of 100, attempting the
extension bonus questions is encouraged but not compulsory, and the highest mark that can be received is
still 100 (i.e. 20% for the subject).
Demo Bonus (3 marks each): (#1) GUI, (#2) Playback ROS bag, (#3) Incorporate sensor 12
Demo
(#4) Control VR or simulated UR
Report Bonus (3 marks each): (#1) Profile tool analysis, (#2) Gripper 6 Report
Total Bonus (Bonus tasks worth 3 marks each (6 x 3)) 18