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

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


#ifndef PX4_MSGS__MSG__DETAIL__TRAJECTORY_SETPOINT__STRUCT_H_
#define PX4_MSGS__MSG__DETAIL__TRAJECTORY_SETPOINT__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

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

// Constants defined in the message

/// Struct defined in msg/TrajectorySetpoint in the package px4_msgs.
/**
  * Trajectory setpoint in NED frame
  * Input to PID position controller.
  * Needs to be kinematically consistent and feasible for smooth flight.
  * setting a value to NaN means the state should not be controlled
 */
typedef struct px4_msgs__msg__TrajectorySetpoint
{
  /// time since system start (microseconds)
  uint64_t timestamp;
  /// NED local world frame
  /// in meters
  float position[3];
  /// in meters/second
  float velocity[3];
  /// in meters/second^2
  float acceleration[3];
  /// in meters/second^3 (for logging only)
  float jerk[3];
  /// euler angle of desired attitude in radians -PI..+PI
  float yaw;
  /// angular velocity around NED frame z-axis in radians/second
  float yawspeed;
} px4_msgs__msg__TrajectorySetpoint;

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

#ifdef __cplusplus
}
#endif

#endif  // PX4_MSGS__MSG__DETAIL__TRAJECTORY_SETPOINT__STRUCT_H_
