Skip to content

Commit 465b718

Browse files
micro-ROS galactic Library auto-update 15-07-2021 06:18 (#376)
Co-authored-by: pablogs9 <pablogs9@users.noreply.github.com>
1 parent f88d29b commit 465b718

File tree

13 files changed

+138
-1
lines changed

13 files changed

+138
-1
lines changed

built_packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ https://github.com/micro-ROS/rosidl_typesupport.git 0e03d18809cb08215877ff856a91
1313
https://github.com/micro-ROS/rcutils 500ee3fcb16bf6260453c75b50c3d7785d724443
1414
https://github.com/micro-ROS/micro_ros_utilities c829971bd33ac1f14a94aa722476110b4b59eaf9
1515
https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git/ 07ae5aa5c456f887f2aa82896e207a3209309a50
16-
https://github.com/ros2/rclc 88cd65c27f6e45ea53c653231f59882bd0995bed
16+
https://github.com/ros2/rclc 2668550d040fe70906a37232c2a5f689970c2d8d
1717
https://github.com/micro-ROS/micro_ros_msgs.git c8af6d4f246d1b324e6578ec967c8ddc1f4093d5
1818
https://github.com/ros-controls/control_msgs 11fdcdf76434d8ca9047787d17add4e18f56e9d6
1919
https://github.com/ros2/rcl_interfaces.git c5d0a20150533a6cb93d5dcbd6e27cea9300aa6e

src/cortex-m0plus/libmicroros.a

6.31 KB
Binary file not shown.

src/cortex-m3/libmicroros.a

4.16 KB
Binary file not shown.
4.28 KB
Binary file not shown.
6.04 KB
Binary file not shown.
6.04 KB
Binary file not shown.

src/mk20dx256/libmicroros.a

5.86 KB
Binary file not shown.
5.86 KB
Binary file not shown.

src/rclc/client.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,34 @@ rclc_client_init_best_effort(
7878
const rosidl_service_type_support_t * type_support,
7979
const char * service_name);
8080

81+
/**
82+
* Creates an rcl client with defined QoS
83+
*
84+
* * <hr>
85+
* Attribute | Adherence
86+
* ------------------ | -------------
87+
* Allocates Memory | Yes (in RCL)
88+
* Thread-Safe | No
89+
* Uses Atomics | No
90+
* Lock-Free | Yes
91+
*
92+
* \param[inout] client pointer to zero_initialized rcl_client_t
93+
* \param[in] node pointer to an initialized rcl node
94+
* \param[in] type_support the message data type
95+
* \param[in] service_name the name of service topic
96+
* \param[in] qos_profile the qos of the topic
97+
* \return `RCL_RET_OK` if successful
98+
* \return `RCL_ERROR` (or other error code) if an error has occurred
99+
*/
100+
RCLC_PUBLIC
101+
rcl_ret_t
102+
rclc_client_init(
103+
rcl_client_t * client,
104+
const rcl_node_t * node,
105+
const rosidl_service_type_support_t * type_support,
106+
const char * service_name,
107+
const rmw_qos_profile_t * qos_profile);
108+
81109
#if __cplusplus
82110
}
83111
#endif

src/rclc/executor.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,30 @@ rclc_executor_remove_guard_condition(
568568
rclc_executor_t * executor,
569569
const rcl_guard_condition_t * guard_condition);
570570

571+
/**
572+
* The executor prepare function prepare the waitset of the executor if
573+
* it is invalid. Does nothing if a valid waitset is already prepared.
574+
*
575+
* Memory is dynamically allocated within rcl-layer, when DDS queue is accessed with rcl_wait_set_init()
576+
*
577+
* <hr>
578+
* Attribute | Adherence
579+
* ------------------ | -------------
580+
* Allocates Memory | Yes
581+
* Thread-Safe | No
582+
* Uses Atomics | No
583+
* Lock-Free | Yes
584+
*
585+
*
586+
* \param [inout] executor pointer to initialized executor
587+
* \return `RCL_RET_OK` if executor prepare operation was successful
588+
* \return `RCL_RET_INVALID_ARGUMENT` if any parameter is a null pointer
589+
* \return `RCL_RET_ERROR` if any other error occured
590+
*/
591+
RCLC_PUBLIC
592+
rcl_ret_t
593+
rclc_executor_prepare(
594+
rclc_executor_t * executor);
571595

572596
/**
573597
* The spin-some function checks one-time for new data from the DDS-queue.

0 commit comments

Comments
 (0)