Skip to main content

validate_effector_spec

Function validate_effector_spec 

Source
pub fn validate_effector_spec(spec: &EffectorSpec) -> ValidationResult<()>
Expand description

Validate a complete effector specification

Validates:

  • effector_id is present
  • name is present
  • effector_type is specified
  • category is specified
  • max_range >= min_range
  • Type-specific capacity is valid if present
  • Safety interlocks are present