44 #define VEHICLE_COMMAND_ACK_VEHICLE_RESULT_ACCEPTED 0 45 #define VEHICLE_COMMAND_ACK_VEHICLE_RESULT_TEMPORARILY_REJECTED 1 46 #define VEHICLE_COMMAND_ACK_VEHICLE_RESULT_DENIED 2 47 #define VEHICLE_COMMAND_ACK_VEHICLE_RESULT_UNSUPPORTED 3 48 #define VEHICLE_COMMAND_ACK_VEHICLE_RESULT_FAILED 4 49 #define VEHICLE_COMMAND_ACK_VEHICLE_RESULT_IN_PROGRESS 5 50 #define VEHICLE_COMMAND_ACK_ARM_AUTH_DENIED_REASON_GENERIC 0 51 #define VEHICLE_COMMAND_ACK_ARM_AUTH_DENIED_REASON_NONE 1 52 #define VEHICLE_COMMAND_ACK_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT 2 53 #define VEHICLE_COMMAND_ACK_ARM_AUTH_DENIED_REASON_TIMEOUT 3 54 #define VEHICLE_COMMAND_ACK_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE 4 55 #define VEHICLE_COMMAND_ACK_ARM_AUTH_DENIED_REASON_BAD_WEATHER 5 56 #define VEHICLE_COMMAND_ACK_ORB_QUEUE_LENGTH 3 78 static constexpr uint8_t VEHICLE_RESULT_ACCEPTED = 0;
79 static constexpr uint8_t VEHICLE_RESULT_TEMPORARILY_REJECTED = 1;
80 static constexpr uint8_t VEHICLE_RESULT_DENIED = 2;
81 static constexpr uint8_t VEHICLE_RESULT_UNSUPPORTED = 3;
82 static constexpr uint8_t VEHICLE_RESULT_FAILED = 4;
83 static constexpr uint8_t VEHICLE_RESULT_IN_PROGRESS = 5;
84 static constexpr uint16_t ARM_AUTH_DENIED_REASON_GENERIC = 0;
85 static constexpr uint16_t ARM_AUTH_DENIED_REASON_NONE = 1;
86 static constexpr uint16_t ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT = 2;
87 static constexpr uint16_t ARM_AUTH_DENIED_REASON_TIMEOUT = 3;
88 static constexpr uint16_t ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE = 4;
89 static constexpr uint16_t ARM_AUTH_DENIED_REASON_BAD_WEATHER = 5;
90 static constexpr uint8_t ORB_QUEUE_LENGTH = 3;
ORB_DECLARE(vehicle_command_ack)
API for the uORB lightweight object broker.