// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from px4_msgs:msg/ActuatorServos.idl
// generated code does not contain a copyright notice

// IWYU pragma: private, include "px4_msgs/msg/actuator_servos.h"


#ifndef PX4_MSGS__MSG__DETAIL__ACTUATOR_SERVOS__STRUCT_H_
#define PX4_MSGS__MSG__DETAIL__ACTUATOR_SERVOS__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

// Constants defined in the message

/// Constant 'NUM_CONTROLS'.
enum
{
  px4_msgs__msg__ActuatorServos__NUM_CONTROLS = 8
};

/// Struct defined in msg/ActuatorServos in the package px4_msgs.
/**
  * Servo control message
 */
typedef struct px4_msgs__msg__ActuatorServos
{
  /// time since system start (microseconds)
  uint64_t timestamp;
  /// the timestamp the data this control response is based on was sampled
  uint64_t timestamp_sample;
  /// range: [-1, 1], where 1 means maximum positive position,
  /// -1 maximum negative,
  /// and NaN maps to disarmed
  float control[8];
} px4_msgs__msg__ActuatorServos;

// Struct for a sequence of px4_msgs__msg__ActuatorServos.
typedef struct px4_msgs__msg__ActuatorServos__Sequence
{
  px4_msgs__msg__ActuatorServos * data;
  /// The number of valid items in data
  size_t size;
  /// The number of allocated items in data
  size_t capacity;
} px4_msgs__msg__ActuatorServos__Sequence;

#ifdef __cplusplus
}
#endif

#endif  // PX4_MSGS__MSG__DETAIL__ACTUATOR_SERVOS__STRUCT_H_
