Improving Human-Robot Cooperation and Safety In The Shared Automated Workplace