Abstract
This paper presents an innovative approach to intuitive, force-controlled path planning for collaborative robots (cobots) using Augmented Reality (AR). By utilizing a Mixed Reality Head-Mounted Display (HMD), virtual content is overlaid onto the physical environment, enabling seamless interaction with the robotic system. The interface provides comprehensive status data, including joint positions, velocities, and flange forces. Operators can issue motion commands in both joint and Cartesian space, plan paths intuitively, and execute force-controlled motions by defining waypoints. A significant contribution is the use of virtual sliders for dynamic force regulation, minimizing the need for complex textual programming. The system architecture integrates Unity3D for the human-machine interface and the Robot Operating System (ROS) for data transmission and control.
Introduction
The programming of collaborative robots often requires a compromise between intuitive "teach-in" methods and powerful but complex textual programming. This challenge is particularly acute for tasks requiring hybrid force-motion control, such as sanding or assembly, where the robot must maintain specific contact forces while following a path. Small modeling errors in traditional programming can lead to system instability or task failure. This research explores an AR-based interface designed to bridge this gap, allowing non-experts to program complex, force-sensitive tasks through intuitive visual feedback and interaction.
System Architecture
The proposed system architecture integrates high-level visualization with low-level robotic control through a multi-layered framework. The hardware setup consists of a collaborative robot and a Microsoft HoloLens 2. The software stack utilizes Unity3D and the Mixed Reality Toolkit (MRTK) for the user interface, while the Robot Operating System (ROS) manages the robot's control loops.
Communication between the AR environment and the robot controller is facilitated by a ROS TCP endpoint, allowing for the bidirectional exchange of JSON-formatted data. This setup enables a "digital twin" approach, where a virtual model of the robot is precisely overlaid on the physical hardware, supporting a "Preview Mode" for safety verification before physical execution.
Intuitive Interaction and Force Control
A core innovation of this interface is the abstraction of complex robotic parameters into interactive UI elements. Instead of simple coordinate inputs, the system employs virtual arrow pointers to define the 6-DOF Tool Center Point (TCP), ensuring that orientation—critical for tasks like drilling—is handled intuitively.
Force control is managed through virtual sliders within the AR view. This allows operators to adjust the desired contact force ($F_d$) dynamically. The interface transforms these high-level user inputs into commands for a Cartesian force controller, effectively treating "force" as a manageable UI element rather than a complex mathematical constraint.
Implementation and Results
The system supports both linear and Bezier curve path interpolation. To ensure accuracy, the implementation addresses the coordinate transformation between Unity's left-handed system and ROS's right-handed system.
Validation was conducted through a practical edge-following test. Quantitative results demonstrated that the robot accurately tracked dynamic force profiles set by the operator via the AR sliders. The transition between free-space motion and force-controlled interaction was handled seamlessly by the ROS controller manager, confirming the robustness of the integrated architecture.
Conclusion and Future Work
The proposed AR interface offers a safe and intuitive method for programming collaborative robots, particularly for tasks involving physical interaction. By providing a "safety sandbox" through motion previews and abstracting force control into simple UI elements, the system lowers the barrier to entry for complex robotic tasks. Future work will focus on supporting more complex geometries, conducting formal user studies to measure cognitive load, and implementing automated spatial alignment to streamline the initial setup process.
Summary updated