更新
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,222 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__STRUCT_H_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__STRUCT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'py_tree_json'
|
||||
#include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Goal
|
||||
{
|
||||
rosidl_runtime_c__String py_tree_json;
|
||||
} drone_interfaces__action__ExecuteMission_Goal;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_Goal.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Goal__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Goal * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_Goal__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'message'
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Result
|
||||
{
|
||||
bool success;
|
||||
rosidl_runtime_c__String message;
|
||||
} drone_interfaces__action__ExecuteMission_Result;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_Result.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Result__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Result * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_Result__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'node_id'
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Feedback
|
||||
{
|
||||
rosidl_runtime_c__String node_id;
|
||||
/// 0: RUNNING, 1: SUCCESS, 2: FAILURE
|
||||
int32_t status;
|
||||
} drone_interfaces__action__ExecuteMission_Feedback;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_Feedback.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Feedback__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Feedback * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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 "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
drone_interfaces__action__ExecuteMission_Goal goal;
|
||||
} drone_interfaces__action__ExecuteMission_SendGoal_Request;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_SendGoal_Request.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Request__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Response
|
||||
{
|
||||
bool accepted;
|
||||
builtin_interfaces__msg__Time stamp;
|
||||
} drone_interfaces__action__ExecuteMission_SendGoal_Response;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_SendGoal_Response.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Response__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
} drone_interfaces__action__ExecuteMission_GetResult_Request;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_GetResult_Request.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Request__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_GetResult_Request__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'result'
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Response
|
||||
{
|
||||
int8_t status;
|
||||
drone_interfaces__action__ExecuteMission_Result result;
|
||||
} drone_interfaces__action__ExecuteMission_GetResult_Response;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_GetResult_Response.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Response__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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 "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_FeedbackMessage
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
drone_interfaces__action__ExecuteMission_Feedback feedback;
|
||||
} drone_interfaces__action__ExecuteMission_FeedbackMessage;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_FeedbackMessage.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_FeedbackMessage__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_FeedbackMessage__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__STRUCT_H_
|
||||
@@ -0,0 +1,161 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_H_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "drone_interfaces/msg/rosidl_generator_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "rosidl_runtime_c/action_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_action_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission
|
||||
)();
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_Goal
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_Result
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_Feedback
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_SendGoal_Request
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_SendGoal_Response
|
||||
)();
|
||||
|
||||
#include "rosidl_runtime_c/service_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_SendGoal
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_GetResult_Request
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_GetResult_Response
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/service_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_GetResult
|
||||
)();
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_FeedbackMessage
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__EXECUTE_MISSION_H_
|
||||
#define DRONE_INTERFACES__ACTION__EXECUTE_MISSION_H_
|
||||
|
||||
#include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__type_support.h"
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__EXECUTE_MISSION_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
// generated from rosidl_generator_c/resource/rosidl_generator_c__visibility_control.h.in
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
#define DRONE_INTERFACES__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
|
||||
// https://gcc.gnu.org/wiki/Visibility
|
||||
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#ifdef __GNUC__
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_drone_interfaces __attribute__ ((dllexport))
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_drone_interfaces __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_drone_interfaces __declspec(dllexport)
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_drone_interfaces __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_GENERATOR_C_BUILDING_DLL_drone_interfaces
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces ROSIDL_GENERATOR_C_EXPORT_drone_interfaces
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces ROSIDL_GENERATOR_C_IMPORT_drone_interfaces
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_drone_interfaces
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
Reference in New Issue
Block a user