What problem this addresses
Manufacturers are adopting collaborative robots (Cobots), but programming them for a complex workspace is still hard. Online programming, either by leading the arm by hand or jogging it with a teach pendant, keeps the operator in the loop but needs extensive experience and many rounds of trial and error. Offline programming can use automatic path planners, but it needs a CAD model or a 3D reconstruction of the environment, and random search planners often get stuck when the obstacles are complex. At the same time, the industry is short of experienced robot operators.
This led to the research question of the project: how would a new robot programming method help novice users complete complex tasks effectively, efficiently, and intuitively? To answer this question, we developed HAR²bot, a human-centered augmented reality (AR) programming interface that is aware of the operator’s cognitive load. It builds on our earlier AR robot programming interface.
Approach
We followed the NASA system design process and started from two assessments of the existing methods. The first came from stakeholder expectations: the method should work in a complex environment, be usable by novices, allow paths to be changed, be general, be efficient, and be safe. The second came from cognitive load theory (CLT). We ran a pilot study with a novice operator (about 2 months of experience) and an expert (more than 5 years) to see where each type of cognitive load comes from in online programming. Our strategy from this assessment was to optimize the intrinsic load by making invisible information visible, to reduce the extraneous load through simple interactions and instructions, and to increase the germane load through pre-training.
The resulting workflow keeps the human in the loop (see Figure 1). The operator wears an AR headset and defines waypoints with a virtual robot overlaid on the real workcell. For each waypoint, the operator sets the orientation of the end-effector and picks a robot configuration (see Figure 2). IKFast computes all possible configurations (up to 8 for a 6-DOF arm), and HAR²bot ranks them by how much the joints have to move from the previous waypoint. Note that this ranking is just a suggestion, and the final decision is still made by the operator. The Open Motion Planning Library (OMPL) then plans the motion between neighboring waypoints. The operator checks the simulated path against the real obstacles, with correct occlusion, before the physical robot moves. When the robot is executing the path, its workspace is highlighted in red and an audible alarm plays.
The primary difference from offline programming is that HAR²bot does not need a CAD model or a 3D reconstruction of the environment. The operator’s own perception picks a feasible configuration, and the planner does the rest. The hardware consists of an Oculus Rift headset with a ZED Mini stereo camera and an AUBO i5 Cobot, and the software integrates Unity 3D with ROS.
Results
We first verified HAR²bot with an expert user on two tasks inspired by industrial setups (see Figure 3). In Task 1, a 2 cm tip had to visit four window-like destinations in sequence, as in automotive welding. In Task 2, a T-shaped tool had to pass through a narrow slot. Each task included waypoint definition, path verification, and path adjustment. Compared with manual leading and pendant teaching, HAR²bot saved 58.2% and 48.1% of the time in Task 1, and 54.6% and 61.6% in Task 2.
We then ran a user study with 16 participants, comparing HAR²bot with the existing online programming methods (ONP). To eliminate any possible bias due to order, half of the participants used HAR²bot first and the other half used ONP first. The overall completion time dropped by 37% on average with HAR²bot (t(15) = 4.637, p = 0.0003), and participants defined fewer waypoints (p = 0.0005). The NASA Task Load Index score was significantly lower with HAR²bot (M = 28.33 vs. M = 42.19, t(15) = 2.448, p = 0.0271), as shown in Figure 4. The total cognitive load from the CLC questionnaire was also significantly lower (p = 0.0482), and each of the three load types was lower with HAR²bot. In the interviews, 14 out of 16 participants reported feeling quite or extremely safe with HAR²bot. One participant (P14) described it as “easier to use and friendly for users”.
What’s next
There are drawbacks mentioned by the participants. The visualization accuracy was not satisfactory, which made it hard to place waypoints precisely and to judge collisions. That limitation started our next line of work on visualization error in video see-through AR. Some participants also preferred bare-hand interaction to the hand-held controllers, and others asked for a more detailed pre-training session. We believe an AI-based pre-training system could support operators better and increase their germane cognitive load.
This work was published in the Journal of Intelligent Manufacturing (see the citation).