TL;DR
This paper introduces the "plan database" (pDB), a novel software component designed to manage robot plans during execution. The pDB allows for dynamic plan modifications (adding/removing tasks) and safe concurrent execution and adaptation, crucial for complex multi-robot and human-robot systems operating in unpredictable environments.
What Problem Does This Paper Address?
Robotic systems often struggle with the dynamic nature of real-world operations. Planners generate initial plans, but these plans can quickly become outdated due to unforeseen events or changing mission objectives. Traditional approaches often separate the planning and execution phases, leading to a disconnect in information and making it difficult to adapt plans on the fly. Existing architectures like Claraty and IDEA have limitations in handling dynamic plan modifications, especially the removal of tasks, and in providing a global view for tasks like redundancy detection in multi-robot scenarios. This paper addresses the need for a robust system that can seamlessly integrate planning and execution, allowing for continuous adaptation and modification of robot plans in real-time.
Methods
The core innovation is the plan database (pDB), a central component that acts as an intermediary between the planner and the robot's functional layer. The pDB manages plans as directed graphs of tasks and events. Key features include:
- Dynamic Plan Management: The pDB supports operations for inserting and removing tasks, enabling flexible plan adaptation.
- Concurrent Execution and Modification: It provides a mechanism for safe, simultaneous modification and execution of plans. This is achieved through transactions, which allow planners to build sets of modifications in a sandbox environment before committing them atomically. This prevents the executive from acting on incomplete or inconsistent plan changes.
- Task Models and Hierarchy: Plans are built using task models, which define a set of events representing milestones. These models are organized in a hierarchy, allowing for task substitution (e.g., replacing one type of movement with another if it achieves the same goal).
- Event-Driven Execution: The system operates on an event-based model, where events (like task completion or sensor readings) trigger subsequent actions or plan modifications.
- Error Handling and Repair: The pDB explicitly accounts for failures, treating them not as exceptions but as potential conditions that need to be planned for. It supports "plan repairs" which are tasks designed to handle non-nominal events, with associated timeouts.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- Transactions are Crucial for Safe Dynamic Adaptation: The concept of transactions is a significant contribution, enabling planners to modify plans concurrently with execution without compromising the system's integrity. This is a key enabler for real-time adaptation.
- Task Removal is as Important as Task Addition: The paper highlights that the ability to remove tasks from a plan is often overlooked but is essential for efficiency, especially in multi-robot coordination and workload balancing.
- A Unified Plan Representation: By maintaining a single, dynamic representation of the plan, the pDB facilitates a global view, which is beneficial for tasks like detecting redundancies across multiple robots.
- Explicit Handling of Failures: Treating failures as planned events rather than unexpected exceptions leads to more robust and predictable robot behavior.
Key Results
The paper presents the pDB as a functional component implemented in Ruby. While specific quantitative results are not detailed, the authors emphasize the system's efficiency, with an execution cycle below 10ms for their rover supervisor. They highlight that the pDB's modular design allows for easy extension and integration with various functional layers and planning algorithms.
Limitations and Future Work
- Garbage Collection Latency: The use of Ruby introduces latency due to garbage collection, which the authors acknowledge can block the interpreter for up to 40-50ms. They suggest that incremental garbage collectors could mitigate this.
- Multiple Planner Integration: A key future direction is to allow the simultaneous use of multiple planners, requiring the development of plan merging mechanisms that can handle conflicts between tasks.
- Temporal Event Estimation: The authors aim to incorporate time estimation for event achievements, enabling more advanced scheduling and balancing between planners and the executive. This would involve developing a complete temporal model of the system.
- Conflict Predicates: For tasks that cannot run in parallel, additional conflict predicates need to be defined.
Summary updated