Skip to content

Commit 465b718

Browse files
micro-ROS galactic Library auto-update 15-07-2021 06:18 (#376)
Co-authored-by: pablogs9 <[email protected]>
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.

src/rclc/publisher.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,34 @@ rclc_publisher_init_best_effort(
8080
const rosidl_message_type_support_t * type_support,
8181
const char * topic_name);
8282

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

src/rclc/service.h

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

81+
/**
82+
* Creates an rcl service 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] service a zero_initialized rcl_service_t
93+
* \param[in] node pointer to an initialized rcl node
94+
* \param[in] type_support type of the request message
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_service_init(
103+
rcl_service_t * service,
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/subscription.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,35 @@ rclc_subscription_init_best_effort(
7878
const rosidl_message_type_support_t * type_support,
7979
const char * topic_name);
8080

81+
82+
/**
83+
* Creates an rcl subscription with defined QoS
84+
*
85+
* * <hr>
86+
* Attribute | Adherence
87+
* ------------------ | -------------
88+
* Allocates Memory | Yes (in RCL)
89+
* Thread-Safe | No
90+
* Uses Atomics | No
91+
* Lock-Free | Yes
92+
*
93+
* \param[inout] subscription - a zero-initialized rcl_subscription_t
94+
* \param[in] node the rcl node
95+
* \param[in] type_support the message data type
96+
* \param[in] topic_name the name of subscribed topic
97+
* \param[in] qos_profile the qos of the topic
98+
* \return `RCL_RET_OK` if successful
99+
* \return `RCL_ERROR` (or other error code) if an error occurred
100+
*/
101+
RCLC_PUBLIC
102+
rcl_ret_t
103+
rclc_subscription_init(
104+
rcl_subscription_t * subscription,
105+
rcl_node_t * node,
106+
const rosidl_message_type_support_t * type_support,
107+
const char * topic_name,
108+
const rmw_qos_profile_t * qos_profile);
109+
81110
#if __cplusplus
82111
}
83112
#endif

0 commit comments

Comments
 (0)