Skip to main content

validate_effector_command

Function validate_effector_command 

Source
pub fn validate_effector_command(cmd: &EffectorCommand) -> ValidationResult<()>
Expand description

Validate an effector command

Validates:

  • command_id is present
  • platform_id is present
  • effector_id is present
  • command_type is specified
  • issued_at is present
  • ARM/ENGAGE commands require authorization