Skip to main content

ResQ.Core

DroneStatus Enum

Represents the operational status of a drone.
public enum DroneStatus

Fields

Idle 0 Drone is powered on and ready but not armed. Armed 1 Drone is armed and ready for takeoff. Takeoff 2 Drone is currently taking off. InFlight 3 Drone is airborne and executing its mission. Returning 4 Drone is returning to home/base location. Landing 5 Drone is currently landing. Landed 6 Drone has successfully landed. Emergency 7 Drone has encountered an emergency situation. Offline 8 Drone is offline or not responding.

Example

if (drone.Status == DroneStatus.InFlight)
{
    // Monitor mission progress
}
else if (drone.Status == DroneStatus.Emergency)
{
    // Alert operators
}

Remarks

These statuses represent the drone’s current operational state within its mission lifecycle. State transitions are typically managed by the flight controller and mission management system.