Skip to content

micro-ROS Library auto-update 05-02-2023 06:17 #1281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions available_ros2_types
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ sensor_msgs/RelativeHumidity.msg
sensor_msgs/SetCameraInfo.srv
sensor_msgs/Temperature.msg
sensor_msgs/TimeReference.msg
service_msgs/ServiceEventInfo.msg
shape_msgs/Mesh.msg
shape_msgs/MeshTriangle.msg
shape_msgs/Plane.msg
Expand Down
10 changes: 5 additions & 5 deletions built_packages
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ https://github.com/ros-controls/control_msgs 1416954c31432c192ff95a06559847e8738
https://github.com/ros2/ament_cmake_ros.git 134b6b8f7775d6b72bf6fc95d09bc884f521c1f8
https://github.com/ros2/common_interfaces.git eb4f3e31ddd223fd33f69f40f0ce6d79da8effe2
https://github.com/ros2/example_interfaces.git b8f0d45b3f5a7dd2f493ca9821bcfc40f69d5103
https://github.com/ros2/libyaml_vendor.git 1501196665666188702cdba4f9537ff0e20a5a41
https://github.com/ros2/libyaml_vendor.git 47199192a732db4c99d34dfb7faa6ed51f6c959a
https://github.com/ros2/rcl.git b9de17458e5f359368257a2f0608c7031d607595
https://github.com/ros2/rcl_interfaces.git 43ffb7b6df6a98a1a35d0932d148ad12de549594
https://github.com/ros2/rcl_interfaces.git 466e0855f9b4b87c8e57571aa5c81b02012e95db
https://github.com/ros2/rcl_logging.git 6612b45b23500f3a798c3b9cc293abb234c70a5a
https://github.com/ros2/rclc 361fcdf6574eefb61ec82e50a7b82231394c3e41
https://github.com/ros2/rclc 1d31f436592a778158d5b800c1854adcf8ddc798
https://github.com/ros2/rcpputils.git 8593a4fc66bb1348eba263639559ca638f21a19a
https://github.com/ros2/rmw.git 4b6f14b3f03fa3fea31f31ab7c232eceb12b0c41
https://github.com/ros2/rmw_implementation.git 5ca69c397ac694598c8f4c3f34aac8256aa0ae17
https://github.com/ros2/rosidl.git a46056cc3cf0c69d1d1db5b9c2afbfd13fe9fba3
https://github.com/ros2/rosidl.git a63f32e7c425da1a8ea300227ac82fb7b3a0bd28
https://github.com/ros2/rosidl_core.git ef51d18c37ab3fe9da87b2f6e0eb38730c5daad4
https://github.com/ros2/rosidl_dds.git b77614d56bd69b76099add672c42b4a32c3075d1
https://github.com/ros2/rosidl_defaults.git 3a33f8afee61cf77480a7bac1ae6d176bbc34c7e
https://github.com/ros2/rosidl_defaults.git a3f753d1527cbc8be3b6c41c172d68732414584d
https://github.com/ros2/test_interface_files.git 9735cbc1b4116c3f59289e2be45b1bd70a3b4e40
https://github.com/ros2/unique_identifier_msgs.git 1183d57d2ec2598fa4285fb0f38fd0f56d90d08f
https://github.com/yaml/libyaml.git 2c891fc7a770e8ba2fec34fc6b545c672beb37e6
Expand Down
151 changes: 151 additions & 0 deletions src/action_msgs/srv/detail/cancel_goal__functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,157 @@ action_msgs__srv__CancelGoal_Response__Sequence__copy(
const action_msgs__srv__CancelGoal_Response__Sequence * input,
action_msgs__srv__CancelGoal_Response__Sequence * output);

/// Initialize srv/CancelGoal message.
/**
* If the init function is called twice for the same message without
* calling fini inbetween previously allocated memory will be leaked.
* \param[in,out] msg The previously allocated message pointer.
* Fields without a default value will not be initialized by this function.
* You might want to call memset(msg, 0, sizeof(
* action_msgs__srv__CancelGoal_Event
* )) before or use
* action_msgs__srv__CancelGoal_Event__create()
* to allocate and initialize the message.
* \return true if initialization was successful, otherwise false
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
bool
action_msgs__srv__CancelGoal_Event__init(action_msgs__srv__CancelGoal_Event * msg);

/// Finalize srv/CancelGoal message.
/**
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
void
action_msgs__srv__CancelGoal_Event__fini(action_msgs__srv__CancelGoal_Event * msg);

/// Create srv/CancelGoal message.
/**
* It allocates the memory for the message, sets the memory to zero, and
* calls
* action_msgs__srv__CancelGoal_Event__init().
* \return The pointer to the initialized message if successful,
* otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
action_msgs__srv__CancelGoal_Event *
action_msgs__srv__CancelGoal_Event__create();

/// Destroy srv/CancelGoal message.
/**
* It calls
* action_msgs__srv__CancelGoal_Event__fini()
* and frees the memory of the message.
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
void
action_msgs__srv__CancelGoal_Event__destroy(action_msgs__srv__CancelGoal_Event * msg);

/// Check for srv/CancelGoal message equality.
/**
* \param[in] lhs The message on the left hand size of the equality operator.
* \param[in] rhs The message on the right hand size of the equality operator.
* \return true if messages are equal, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
bool
action_msgs__srv__CancelGoal_Event__are_equal(const action_msgs__srv__CancelGoal_Event * lhs, const action_msgs__srv__CancelGoal_Event * rhs);

/// Copy a srv/CancelGoal message.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source message pointer.
* \param[out] output The target message pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer is null
* or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
bool
action_msgs__srv__CancelGoal_Event__copy(
const action_msgs__srv__CancelGoal_Event * input,
action_msgs__srv__CancelGoal_Event * output);

/// Initialize array of srv/CancelGoal messages.
/**
* It allocates the memory for the number of elements and calls
* action_msgs__srv__CancelGoal_Event__init()
* for each element of the array.
* \param[in,out] array The allocated array pointer.
* \param[in] size The size / capacity of the array.
* \return true if initialization was successful, otherwise false
* If the array pointer is valid and the size is zero it is guaranteed
# to return true.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
bool
action_msgs__srv__CancelGoal_Event__Sequence__init(action_msgs__srv__CancelGoal_Event__Sequence * array, size_t size);

/// Finalize array of srv/CancelGoal messages.
/**
* It calls
* action_msgs__srv__CancelGoal_Event__fini()
* for each element of the array and frees the memory for the number of
* elements.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
void
action_msgs__srv__CancelGoal_Event__Sequence__fini(action_msgs__srv__CancelGoal_Event__Sequence * array);

/// Create array of srv/CancelGoal messages.
/**
* It allocates the memory for the array and calls
* action_msgs__srv__CancelGoal_Event__Sequence__init().
* \param[in] size The size / capacity of the array.
* \return The pointer to the initialized array if successful, otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
action_msgs__srv__CancelGoal_Event__Sequence *
action_msgs__srv__CancelGoal_Event__Sequence__create(size_t size);

/// Destroy array of srv/CancelGoal messages.
/**
* It calls
* action_msgs__srv__CancelGoal_Event__Sequence__fini()
* on the array,
* and frees the memory of the array.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
void
action_msgs__srv__CancelGoal_Event__Sequence__destroy(action_msgs__srv__CancelGoal_Event__Sequence * array);

/// Check for srv/CancelGoal message array equality.
/**
* \param[in] lhs The message array on the left hand size of the equality operator.
* \param[in] rhs The message array on the right hand size of the equality operator.
* \return true if message arrays are equal in size and content, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
bool
action_msgs__srv__CancelGoal_Event__Sequence__are_equal(const action_msgs__srv__CancelGoal_Event__Sequence * lhs, const action_msgs__srv__CancelGoal_Event__Sequence * rhs);

/// Copy an array of srv/CancelGoal messages.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source array pointer.
* \param[out] output The target array pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer
* is null or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
bool
action_msgs__srv__CancelGoal_Event__Sequence__copy(
const action_msgs__srv__CancelGoal_Event__Sequence * input,
action_msgs__srv__CancelGoal_Event__Sequence * output);
#ifdef __cplusplus
}
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_action_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, action_msgs, srv, CancelGoal_Response)();

// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "action_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"

ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_action_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, action_msgs, srv, CancelGoal_Event)();

#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
Expand Down
37 changes: 37 additions & 0 deletions src/action_msgs/srv/detail/cancel_goal__struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,43 @@ typedef struct action_msgs__srv__CancelGoal_Response__Sequence
size_t capacity;
} action_msgs__srv__CancelGoal_Response__Sequence;


// Constants defined in the message

// Include directives for member types
// Member 'info'
#include "service_msgs/msg/detail/service_event_info__struct.h"

// constants for array fields with an upper bound
// request
enum
{
action_msgs__srv__CancelGoal_Event__request__MAX_SIZE = 1
};
// response
enum
{
action_msgs__srv__CancelGoal_Event__response__MAX_SIZE = 1
};

/// Struct defined in srv/CancelGoal in the package action_msgs.
typedef struct action_msgs__srv__CancelGoal_Event
{
service_msgs__msg__ServiceEventInfo info;
action_msgs__srv__CancelGoal_Request__Sequence request;
action_msgs__srv__CancelGoal_Response__Sequence response;
} action_msgs__srv__CancelGoal_Event;

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

#ifdef __cplusplus
}
#endif
Expand Down
39 changes: 39 additions & 0 deletions src/action_msgs/srv/detail/cancel_goal__type_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@ ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
CancelGoal_Response
)();

// 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_action_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
action_msgs,
srv,
CancelGoal_Event
)();

#include "rosidl_runtime_c/service_type_support_struct.h"

// Forward declare the get type support functions for this type.
Expand All @@ -51,6 +64,32 @@ ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
CancelGoal
)();

// Forward declare the function to create a service event message for this type.
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
void *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_CREATE_EVENT_MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
action_msgs,
srv,
CancelGoal
)(
const rosidl_service_introspection_info_t * info,
rcutils_allocator_t * allocator,
const void * request_message,
const void * response_message);

// Forward declare the function to destroy a service event message for this type.
ROSIDL_GENERATOR_C_PUBLIC_action_msgs
bool
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_DESTROY_EVENT_MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
action_msgs,
srv,
CancelGoal
)(
void * event_msg,
rcutils_allocator_t * allocator);

#ifdef __cplusplus
}
#endif
Expand Down
Loading