Skip to content
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

micro-ROS Library auto-update 21-05-2024 06:19 #1763

Merged
merged 1 commit into from
May 21, 2024
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 @@ -94,6 +94,7 @@ geometry_msgs/TwistWithCovariance.msg
geometry_msgs/TwistWithCovarianceStamped.msg
geometry_msgs/Vector3.msg
geometry_msgs/Vector3Stamped.msg
geometry_msgs/VelocityStamped.msg
geometry_msgs/Wrench.msg
geometry_msgs/WrenchStamped.msg
lifecycle_msgs/ChangeState.srv
Expand Down
2 changes: 1 addition & 1 deletion built_packages
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ https://github.com/micro-ROS/rosidl_typesupport.git 20f4849939c60d46f6e39b3720bb
https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git 7e0331f2ea7329fb05e496a614e7e1f912f6d839
https://github.com/ros-controls/control_msgs 1416954c31432c192ff95a06559847e87386cf60
https://github.com/ros2/ament_cmake_ros.git 60572fa1bec50b9e6fbe64e1b23640d21c15e9d0
https://github.com/ros2/common_interfaces.git f4eac72f0bbd70f7955a5f709d4a6705eb6ca7e8
https://github.com/ros2/common_interfaces.git 53761cba9a000902602e7e695cb40de78eadee7f
https://github.com/ros2/example_interfaces.git f8deb566a1facf91bd38b9f00c4cf684c5007d85
https://github.com/ros2/libyaml_vendor.git 239f695ceaa0820255f3d0fe02ec8c2bd41b8e78
https://github.com/ros2/rcl.git 619dfb3083bf1121d60767f190eff11ef975e476
Expand Down
Binary file modified src/cortex-m0plus/libmicroros.a
Binary file not shown.
Binary file modified src/cortex-m3/libmicroros.a
Binary file not shown.
Binary file modified src/cortex-m4/libmicroros.a
Binary file not shown.
Binary file modified src/cortex-m7/fpv5-d16-softfp/libmicroros.a
Binary file not shown.
Binary file modified src/cortex-m7/fpv5-sp-d16-hardfp/libmicroros.a
Binary file not shown.
Binary file modified src/cortex-m7/fpv5-sp-d16-softfp/libmicroros.a
Binary file not shown.
Binary file modified src/esp32/libmicroros.a
Binary file not shown.
177 changes: 177 additions & 0 deletions src/geometry_msgs/msg/detail/velocity_stamped__functions.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
// generated from rosidl_generator_c/resource/idl__functions.h.em
// with input from geometry_msgs:msg/VelocityStamped.idl
// generated code does not contain a copyright notice

#ifndef GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__FUNCTIONS_H_
#define GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__FUNCTIONS_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdbool.h>
#include <stdlib.h>

#include "rosidl_runtime_c/visibility_control.h"
#include "geometry_msgs/msg/rosidl_generator_c__visibility_control.h"

#include "geometry_msgs/msg/detail/velocity_stamped__struct.h"

/// Initialize msg/VelocityStamped 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(
* geometry_msgs__msg__VelocityStamped
* )) before or use
* geometry_msgs__msg__VelocityStamped__create()
* to allocate and initialize the message.
* \return true if initialization was successful, otherwise false
*/
ROSIDL_GENERATOR_C_PUBLIC_geometry_msgs
bool
geometry_msgs__msg__VelocityStamped__init(geometry_msgs__msg__VelocityStamped * msg);

/// Finalize msg/VelocityStamped message.
/**
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_geometry_msgs
void
geometry_msgs__msg__VelocityStamped__fini(geometry_msgs__msg__VelocityStamped * msg);

/// Create msg/VelocityStamped message.
/**
* It allocates the memory for the message, sets the memory to zero, and
* calls
* geometry_msgs__msg__VelocityStamped__init().
* \return The pointer to the initialized message if successful,
* otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_geometry_msgs
geometry_msgs__msg__VelocityStamped *
geometry_msgs__msg__VelocityStamped__create();

/// Destroy msg/VelocityStamped message.
/**
* It calls
* geometry_msgs__msg__VelocityStamped__fini()
* and frees the memory of the message.
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_geometry_msgs
void
geometry_msgs__msg__VelocityStamped__destroy(geometry_msgs__msg__VelocityStamped * msg);

/// Check for msg/VelocityStamped 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_geometry_msgs
bool
geometry_msgs__msg__VelocityStamped__are_equal(const geometry_msgs__msg__VelocityStamped * lhs, const geometry_msgs__msg__VelocityStamped * rhs);

/// Copy a msg/VelocityStamped 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_geometry_msgs
bool
geometry_msgs__msg__VelocityStamped__copy(
const geometry_msgs__msg__VelocityStamped * input,
geometry_msgs__msg__VelocityStamped * output);

/// Initialize array of msg/VelocityStamped messages.
/**
* It allocates the memory for the number of elements and calls
* geometry_msgs__msg__VelocityStamped__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_geometry_msgs
bool
geometry_msgs__msg__VelocityStamped__Sequence__init(geometry_msgs__msg__VelocityStamped__Sequence * array, size_t size);

/// Finalize array of msg/VelocityStamped messages.
/**
* It calls
* geometry_msgs__msg__VelocityStamped__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_geometry_msgs
void
geometry_msgs__msg__VelocityStamped__Sequence__fini(geometry_msgs__msg__VelocityStamped__Sequence * array);

/// Create array of msg/VelocityStamped messages.
/**
* It allocates the memory for the array and calls
* geometry_msgs__msg__VelocityStamped__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_geometry_msgs
geometry_msgs__msg__VelocityStamped__Sequence *
geometry_msgs__msg__VelocityStamped__Sequence__create(size_t size);

/// Destroy array of msg/VelocityStamped messages.
/**
* It calls
* geometry_msgs__msg__VelocityStamped__Sequence__fini()
* on the array,
* and frees the memory of the array.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_geometry_msgs
void
geometry_msgs__msg__VelocityStamped__Sequence__destroy(geometry_msgs__msg__VelocityStamped__Sequence * array);

/// Check for msg/VelocityStamped 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_geometry_msgs
bool
geometry_msgs__msg__VelocityStamped__Sequence__are_equal(const geometry_msgs__msg__VelocityStamped__Sequence * lhs, const geometry_msgs__msg__VelocityStamped__Sequence * rhs);

/// Copy an array of msg/VelocityStamped 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_geometry_msgs
bool
geometry_msgs__msg__VelocityStamped__Sequence__copy(
const geometry_msgs__msg__VelocityStamped__Sequence * input,
geometry_msgs__msg__VelocityStamped__Sequence * output);

#ifdef __cplusplus
}
#endif

#endif // GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__FUNCTIONS_H_
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from geometry_msgs:msg/VelocityStamped.idl
// generated code does not contain a copyright notice

#ifndef GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_

#ifdef __cplusplus
extern "C"
{
#endif


#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "geometry_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"

ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_geometry_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, geometry_msgs, msg, VelocityStamped)();

#ifdef __cplusplus
}
#endif

#endif // GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// generated from rosidl_typesupport_microxrcedds_c/resource/idl__rosidl_typesupport_c.h.em
// with input from geometry_msgs:msg/VelocityStamped.idl
// generated code does not contain a copyright notice
#ifndef GEOMETRY_MSGS__MSG__VELOCITY_STAMPED__ROSIDL_TYPESUPPORT_MICROXRCEDDS_C_H_
#define GEOMETRY_MSGS__MSG__VELOCITY_STAMPED__ROSIDL_TYPESUPPORT_MICROXRCEDDS_C_H_


#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "geometry_msgs/msg/rosidl_typesupport_microxrcedds_c__visibility_control.h"

#ifdef __cplusplus
extern "C"
{
#endif

ROSIDL_TYPESUPPORT_MICROXRCEDDS_C_PUBLIC_geometry_msgs
size_t get_serialized_size_geometry_msgs__msg__VelocityStamped(
const void * untyped_ros_message,
size_t current_alignment);

ROSIDL_TYPESUPPORT_MICROXRCEDDS_C_PUBLIC_geometry_msgs
size_t max_serialized_size_geometry_msgs__msg__VelocityStamped(
bool * full_bounded,
size_t current_alignment);

ROSIDL_TYPESUPPORT_MICROXRCEDDS_C_PUBLIC_geometry_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_microxrcedds_c, geometry_msgs, msg, VelocityStamped)();

#ifdef __cplusplus
}
#endif


#endif // GEOMETRY_MSGS__MSG__VELOCITY_STAMPED__ROSIDL_TYPESUPPORT_MICROXRCEDDS_C_H_
57 changes: 57 additions & 0 deletions src/geometry_msgs/msg/detail/velocity_stamped__struct.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from geometry_msgs:msg/VelocityStamped.idl
// generated code does not contain a copyright notice

#ifndef GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__STRUCT_H_
#define GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__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 'header'
#include "std_msgs/msg/detail/header__struct.h"
// Member 'body_frame_id'
// Member 'reference_frame_id'
#include "rosidl_runtime_c/string.h"
// Member 'velocity'
#include "geometry_msgs/msg/detail/twist__struct.h"

/// Struct defined in msg/VelocityStamped in the package geometry_msgs.
/**
* This expresses the timestamped velocity vector of a frame 'body_frame_id' in the reference frame 'reference_frame_id' expressed from arbitrary observation frame 'header.frame_id'.
* - If the 'body_frame_id' and 'header.frame_id' are identical, the velocity is observed and defined in the local coordinates system of the body
* which is the usual use-case in mobile robotics and is also known as a body twist.
*/
typedef struct geometry_msgs__msg__VelocityStamped
{
std_msgs__msg__Header header;
rosidl_runtime_c__String body_frame_id;
rosidl_runtime_c__String reference_frame_id;
geometry_msgs__msg__Twist velocity;
} geometry_msgs__msg__VelocityStamped;

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

#ifdef __cplusplus
}
#endif

#endif // GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__STRUCT_H_
33 changes: 33 additions & 0 deletions src/geometry_msgs/msg/detail/velocity_stamped__type_support.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// generated from rosidl_generator_c/resource/idl__type_support.h.em
// with input from geometry_msgs:msg/VelocityStamped.idl
// generated code does not contain a copyright notice

#ifndef GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__TYPE_SUPPORT_H_
#define GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__TYPE_SUPPORT_H_

#include "rosidl_typesupport_interface/macros.h"

#include "geometry_msgs/msg/rosidl_generator_c__visibility_control.h"

#ifdef __cplusplus
extern "C"
{
#endif

#include "rosidl_runtime_c/message_type_support_struct.h"

// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_geometry_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
geometry_msgs,
msg,
VelocityStamped
)();

#ifdef __cplusplus
}
#endif

#endif // GEOMETRY_MSGS__MSG__DETAIL__VELOCITY_STAMPED__TYPE_SUPPORT_H_
12 changes: 12 additions & 0 deletions src/geometry_msgs/msg/velocity_stamped.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// generated from rosidl_generator_c/resource/idl.h.em
// with input from geometry_msgs:msg/VelocityStamped.idl
// generated code does not contain a copyright notice

#ifndef GEOMETRY_MSGS__MSG__VELOCITY_STAMPED_H_
#define GEOMETRY_MSGS__MSG__VELOCITY_STAMPED_H_

#include "geometry_msgs/msg/detail/velocity_stamped__struct.h"
#include "geometry_msgs/msg/detail/velocity_stamped__functions.h"
#include "geometry_msgs/msg/detail/velocity_stamped__type_support.h"

#endif // GEOMETRY_MSGS__MSG__VELOCITY_STAMPED_H_
Binary file modified src/imxrt1062/fpv5-d16-hard/libmicroros.a
Binary file not shown.
Binary file modified src/mk20dx256/libmicroros.a
Binary file not shown.
Binary file modified src/mk64fx512/fpv4-sp-d16-hard/libmicroros.a
Binary file not shown.
Binary file modified src/mk66fx1m0/fpv4-sp-d16-hard/libmicroros.a
Binary file not shown.
Loading