// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from cpp_prococol:action/MoveTo.idl
// generated code does not contain a copyright notice

#ifndef CPP_PROCOCOL__ACTION__DETAIL__MOVE_TO__STRUCT_H_
#define CPP_PROCOCOL__ACTION__DETAIL__MOVE_TO__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

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


// Constants defined in the message

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_Goal
{
  float target_x;
  float target_y;
} cpp_prococol__action__MoveTo_Goal;

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


// Constants defined in the message

/// Constant 'STATUS_SUCCEEDED'.
enum
{
  cpp_prococol__action__MoveTo_Result__STATUS_SUCCEEDED = 1
};

/// Constant 'STATUS_ABORTED'.
enum
{
  cpp_prococol__action__MoveTo_Result__STATUS_ABORTED = 2
};

/// Constant 'STATUS_CANCELED'.
enum
{
  cpp_prococol__action__MoveTo_Result__STATUS_CANCELED = 3
};

// Include directives for member types
// Member 'message'
#include "rosidl_runtime_c/string.h"

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_Result
{
  bool success;
  rosidl_runtime_c__String message;
  int8_t status;
} cpp_prococol__action__MoveTo_Result;

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


// Constants defined in the message

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_Feedback
{
  float progress;
} cpp_prococol__action__MoveTo_Feedback;

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


// Constants defined in the message

// Include directives for member types
// Member 'goal_id'
#include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'goal'
#include "cpp_prococol/action/detail/move_to__struct.h"

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_SendGoal_Request
{
  unique_identifier_msgs__msg__UUID goal_id;
  cpp_prococol__action__MoveTo_Goal goal;
} cpp_prococol__action__MoveTo_SendGoal_Request;

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


// Constants defined in the message

// Include directives for member types
// Member 'stamp'
#include "builtin_interfaces/msg/detail/time__struct.h"

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_SendGoal_Response
{
  bool accepted;
  builtin_interfaces__msg__Time stamp;
} cpp_prococol__action__MoveTo_SendGoal_Response;

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


// Constants defined in the message

// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_GetResult_Request
{
  unique_identifier_msgs__msg__UUID goal_id;
} cpp_prococol__action__MoveTo_GetResult_Request;

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


// Constants defined in the message

// Include directives for member types
// Member 'result'
// already included above
// #include "cpp_prococol/action/detail/move_to__struct.h"

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_GetResult_Response
{
  int8_t status;
  cpp_prococol__action__MoveTo_Result result;
} cpp_prococol__action__MoveTo_GetResult_Response;

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


// Constants defined in the message

// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'feedback'
// already included above
// #include "cpp_prococol/action/detail/move_to__struct.h"

/// Struct defined in action/MoveTo in the package cpp_prococol.
typedef struct cpp_prococol__action__MoveTo_FeedbackMessage
{
  unique_identifier_msgs__msg__UUID goal_id;
  cpp_prococol__action__MoveTo_Feedback feedback;
} cpp_prococol__action__MoveTo_FeedbackMessage;

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

#ifdef __cplusplus
}
#endif

#endif  // CPP_PROCOCOL__ACTION__DETAIL__MOVE_TO__STRUCT_H_
