TL;DR
CoSTAR is a modular framework that enables non-experts to program collaborative robots using an intuitive Behavior Tree interface and vision-based abstractions. By translating raw sensor data into human-understandable "symbols" and "predicates," the system allows users to author robust task plans that adapt to environmental changes across different robot platforms.
What Problem Does This Paper Address?
While collaborative robots (cobots) are increasingly common in large-scale manufacturing, small and medium-sized enterprises often struggle to adopt them. The barrier isn't the hardware, but the software: programming a robot for a new task typically requires specialized robotics expertise, high setup costs, and significant time.
Existing solutions often fall into two traps: they are either "blind" (relying on hardcoded coordinates that fail if an object moves an inch) or they require complex coding and deep knowledge of ontologies. The authors aim to bridge this gap by creating a system that is capable of diverse tasks, usable by non-experts, and robust to real-world variation.
Methods
The core of CoSTAR (Collaborative System for Task Automation and Recognition) is a modular architecture that separates high-level task logic from low-level hardware control and perception.
1. The Component Architecture
The system is built from discrete Components (e.g., Arm, Gripper, Perception). Each component provides:
- Symbols: Representations of objects or positions (e.g., "Node A").
- Predicates: Qualitative descriptions of relationships (e.g.,
LeftOf,InFrontOf). - Operations: Actions the robot can take (e.g.,
Move,Close Gripper).
These are aggregated by a central hub called Predicator, which provides a unified world state for the task editor.
2. Behavior Trees (BTs) as Task Editors
Instead of traditional linear scripts or complex state machines, CoSTAR uses Behavior Trees. BTs are a hierarchical formalism (popular in the game industry for NPC AI) that allows for modular, branching logic. In the CoSTAR UI, users drag and drop nodes to create sequences, selectors (for fallback logic), and loops.
3. Perception and "SmartMove"
CoSTAR integrates an RGB-D perception pipeline (using ObjRecRANSAC) to detect and estimate the 6-DOF pose of objects. A standout feature is the SmartMove operation. Instead of teaching a robot to move to (x, y, z), a user can instruct it to "Move to the [grasp] position of [Object A] that is [LeftOf] the marker." This makes the task plan inherently robust; if the object moves, the robot simply re-perceives its location and adjusts its path.
Datasets
The paper does not use standard large-scale datasets. Instead, it introduces a streamlined Perception Setup procedure (Fig. 4) that allows users to train the system on new objects in a new environment quickly.
- Training: Users collect organized point clouds of a new object from multiple views using an RGB-D camera and an AR marker to define the workspace.
- Classification: An SVM (Support Vector Machine) is trained on these point clouds to segment the object from the background and classify it.
Key Insights and Ideas
- Natural Abstractions: The "aha moment" is that users don't need to see raw point clouds or coordinate frames. By exposing only symbolic and qualitative information (like
RightOf), the system allows humans to communicate tasks in a way that feels natural. - Modularity via Inheritance: The system uses an abstract "Arm" component. This allowed the researchers to deploy the same task logic on a KUKA LBR iiwa and a Universal Robots UR5 with minimal changes, despite their different kinematics and grippers.
- Persistence is Hard: To keep track of objects across multiple camera frames, the authors implemented a
persistenceUpdate()function using R*-Trees. This ensures that "Block 1" remains "Block 1" even if the robot's arm momentarily obscures the camera's view.
Key Results
CoSTAR was the winning entry in the 2016 KUKA Innovation Award. The authors demonstrated its effectiveness through several real-world deployments:
- Rapid Authoring: At the Hannover Messe trade show, complex tasks like collaborative assembly and surface polishing were programmed on-site in roughly 30 minutes.
- Reliability: In a multi-step "Assemble Structure" task using a UR5, the system achieved a 10/10 success rate. Even when sensor noise caused slight pose inaccuracies, the system's integration of perception and hardware (e.g., the gripper's physical centering) allowed it to succeed.
- Cross-Platform Success: The system successfully ran on two very different robots (KUKA LBR iiwa and UR5) using different end-effectors, proving the modular design works.
Limitations and Future Work
- Perception Speed: The current system relies on a perception update rate that might be too slow for highly dynamic environments where objects move rapidly.
- Geometric Ambiguity: The system can struggle with objects that have complex concavities or high degrees of symmetry (though they implemented a
setCanonicalOrientationfunction to mitigate the latter). - Logic Complexity: The current Behavior Tree implementation lacks user-specified variables and variable scoping, which might limit extremely complex logic.
- User Studies: While the system is designed for non-experts, the authors note that formal user studies are needed to quantitatively assess its usability compared to traditional methods.
Summary updated