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

#ifndef INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_STATE__STRUCT_H_
#define INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_STATE__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

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


// Constants defined in the message

/// Constant 'STATUS_DISABLED'.
enum
{
  interface_protocol__msg__JointMotionPlanState__STATUS_DISABLED = 0
};

/// Constant 'IDLE'.
enum
{
  interface_protocol__msg__JointMotionPlanState__IDLE = 1
};

/// Constant 'EXECUTING'.
enum
{
  interface_protocol__msg__JointMotionPlanState__EXECUTING = 2
};

/// Constant 'EXITING'.
enum
{
  interface_protocol__msg__JointMotionPlanState__EXITING = 3
};

/// Struct defined in msg/JointMotionPlanState in the package interface_protocol.
/**
  * Planner status
 */
typedef struct interface_protocol__msg__JointMotionPlanState
{
  int32_t request_id;
  uint8_t status;
  /// Progress and time
  /// 0.0~1.0, overall planning/execution progress
  double progress;
} interface_protocol__msg__JointMotionPlanState;

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

#ifdef __cplusplus
}
#endif

#endif  // INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_STATE__STRUCT_H_
