Skip to main content

Overview

The Excavate action interface provides mechanism-agnostic control for material collection operations. It supports both autonomous and teleoperated modes with configurable fill targets and safety interlocks. Action Server Endpoint: /mission/excavate

Goal Parameters

mode
uint8
required
Operation mode for excavation
  • MODE_AUTO (0): Fully autonomous excavation
  • MODE_TELEOP_ASSIST (1): Teleoperated with assistance
timeout_s
float64
required
Maximum time allowed for excavation operation in seconds
target_fill_fraction
float32
required
Target fill level as a fraction (0.0 to 1.0) of total capacity
max_drive_speed_mps
float32
required
Maximum drive speed in meters per second during excavation

Result Fields

success
bool
Whether the excavation operation completed successfully
reason_code
uint8
Result reason code indicating outcome:
  • REASON_SUCCESS (0): Operation completed successfully
  • REASON_TIMEOUT (1): Operation exceeded timeout limit
  • REASON_ESTOP (2): Emergency stop activated
  • REASON_DRIVER_FAULT (3): Motor driver fault detected
  • REASON_JAM_OR_OVERCURRENT (4): Jam or overcurrent condition detected
  • REASON_INTERLOCK_BLOCKED (5): Safety interlock prevented operation
  • REASON_CANCELED (6): Operation was canceled
  • REASON_FORCED_FAILURE (7): Operation forced to fail
  • REASON_SHUTDOWN (8): System shutdown requested
failure_reason
string
Human-readable description of failure cause (empty on success)
collected_mass_kg_estimate
float32
Estimated mass of collected material in kilograms
duration_s
float64
Total duration of the excavation operation in seconds

Feedback Fields

phase
uint8
Current phase of the excavation operation:
  • PHASE_PRECHECK (0): Pre-operation safety checks
  • PHASE_SPINUP (1): Excavation mechanism starting
  • PHASE_DIGGING (2): Active material collection
  • PHASE_RETRACT (3): Retracting excavation mechanism
elapsed_s
float64
Time elapsed since operation start in seconds
fill_fraction_estimate
float32
Current estimated fill level as a fraction (0.0 to 1.0)
excavation_motor_current_a
float32
Current draw of excavation motor in amperes
jam_detected
bool
Whether a jam condition has been detected
estop_active
bool
Whether emergency stop is currently active

Build docs developers (and LLMs) love