44 #define ACTUATOR_CONTROLS_NUM_ACTUATOR_CONTROLS 8 45 #define ACTUATOR_CONTROLS_NUM_ACTUATOR_CONTROL_GROUPS 4 46 #define ACTUATOR_CONTROLS_INDEX_ROLL 0 47 #define ACTUATOR_CONTROLS_INDEX_PITCH 1 48 #define ACTUATOR_CONTROLS_INDEX_YAW 2 49 #define ACTUATOR_CONTROLS_INDEX_THROTTLE 3 50 #define ACTUATOR_CONTROLS_INDEX_FLAPS 4 51 #define ACTUATOR_CONTROLS_INDEX_SPOILERS 5 52 #define ACTUATOR_CONTROLS_INDEX_AIRBRAKES 6 53 #define ACTUATOR_CONTROLS_INDEX_LANDING_GEAR 7 54 #define ACTUATOR_CONTROLS_GROUP_INDEX_ATTITUDE 0 55 #define ACTUATOR_CONTROLS_GROUP_INDEX_ATTITUDE_ALTERNATE 1 71 static constexpr uint8_t NUM_ACTUATOR_CONTROLS = 8;
72 static constexpr uint8_t NUM_ACTUATOR_CONTROL_GROUPS = 4;
73 static constexpr uint8_t INDEX_ROLL = 0;
74 static constexpr uint8_t INDEX_PITCH = 1;
75 static constexpr uint8_t INDEX_YAW = 2;
76 static constexpr uint8_t INDEX_THROTTLE = 3;
77 static constexpr uint8_t INDEX_FLAPS = 4;
78 static constexpr uint8_t INDEX_SPOILERS = 5;
79 static constexpr uint8_t INDEX_AIRBRAKES = 6;
80 static constexpr uint8_t INDEX_LANDING_GEAR = 7;
81 static constexpr uint8_t GROUP_INDEX_ATTITUDE = 0;
82 static constexpr uint8_t GROUP_INDEX_ATTITUDE_ALTERNATE = 1;
API for the uORB lightweight object broker.
ORB_DECLARE(actuator_controls)
uint64_t timestamp_sample
static float actuator_controls[output_max]