Robust & Event-Driven Navigation

Kompass allows your robot to think in reflexes and self-heal when things go wrong.

These tutorials focus on the Adaptive and Dynamic Orchestration in Kompass. You will learn how to make your robot robust to failures and reactive to changing environments without hardcoding complex state machines inside your components.

Recommended

Complete one of the basic navigation patterns tutorials before starting this part.

Tutorials

Understanding Fallbacks/Events/Actions

Reflexes, not callbacks. Complete guide on defining custom Fallbacks/Events/Actions for your recipe

Fallbacks, Events & Actions: Design Guide
Self-Healing

Robustness with Fallbacks “If the planner fails, don’t crash—restart it.” Learn how to configure individual components to automatically recover from internal hardware disconnects and algorithm failures.

Making the system robust with Fallbacks
System Reflexes

Cross-Component Healing “If the Controller gets stuck, ask the Driver to unblock.” Learn to create system-level reflexes where components monitor each other’s status to fix deadlock situations.

Events For Cross-Component Healing
External Reflexes

Vision Reflexes “If a person is seen, follow them.” Create behavioral reflexes that react to external perception events, switching the robot’s mode from patrolling to tracking.

Events for External Reflexes
Logic Gates

Composed Conditions “If path is blocked AND battery is low…” Use Python bitwise operators (&, |, ~) to create smart composed events that fuse data from multiple topics.

Complex Events: Logic Gates & Fusion
Dynamic Data

Context-Aware Actions “Don’t just detect—adapt.” Extract data from the triggering event and pass it dynamically to actions to reconfigure the robot on the fly.

Context-Aware Actions