// NOLINT: This file starts with a BOM since it contain non-ASCII characters
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from cpp_prococol:srv/Position.idl
// generated code does not contain a copyright notice

#ifndef CPP_PROCOCOL__SRV__DETAIL__POSITION__STRUCT_H_
#define CPP_PROCOCOL__SRV__DETAIL__POSITION__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

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


// Constants defined in the message

/// Struct defined in srv/Position in the package cpp_prococol.
typedef struct cpp_prococol__srv__Position_Request
{
  float target_x;
  float target_y;
} cpp_prococol__srv__Position_Request;

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


// Constants defined in the message

/// Constant 'SUCCESS'.
/**
  * 表示成功
 */
enum
{
  cpp_prococol__srv__Position_Response__SUCCESS = 1
};

/// Constant 'FALL'.
/**
  * 表示失败
 */
enum
{
  cpp_prococol__srv__Position_Response__FALL = 0
};

/// Struct defined in srv/Position in the package cpp_prococol.
typedef struct cpp_prococol__srv__Position_Response
{
  /// 表示结果
  int8_t result;
} cpp_prococol__srv__Position_Response;

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

#ifdef __cplusplus
}
#endif

#endif  // CPP_PROCOCOL__SRV__DETAIL__POSITION__STRUCT_H_
