Skip to content

Commit 89a1fa0

Browse files
micro-ROS foxy Library auto-update 15-07-2021 06:18 (#374)
Co-authored-by: pablogs9 <[email protected]>
1 parent 8578f0a commit 89a1fa0

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
@@ -12,7 +12,7 @@ https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git acb2fb6f7b5bde2
1212
https://github.com/micro-ROS/rosidl_typesupport.git 5d974dbee4cd6988ce33923246eb404db327fad8
1313
https://github.com/micro-ROS/rcutils 0fd0c442dfa343dcfd0cb3674012039bed0c9389
1414
https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing d11b87737245b8456bbada44dfa7b1d670b1c4d0
15-
https://github.com/ros2/rclc 5b11c5a9ca2e0f120f8d1dfeb30bf480689abfa9
15+
https://github.com/ros2/rclc f246f1accf6a3e6ea22ff4ffb8f0f229f635694b
1616
https://github.com/micro-ROS/micro_ros_msgs.git c8af6d4f246d1b324e6578ec967c8ddc1f4093d5
1717
https://github.com/ros-controls/control_msgs 338ef98b4a4d763fe5df39e86a1967844ceb506e
1818
https://github.com/ros2/rcl_interfaces.git ee04e046132be9d9fdcdaeff8dd54a5d0d9aa022

src/cortex-m0plus/libmicroros.a

5.79 KB
Binary file not shown.

src/cortex-m3/libmicroros.a

3.64 KB
Binary file not shown.
3.74 KB
Binary file not shown.
5.52 KB
Binary file not shown.
5.52 KB
Binary file not shown.

src/mk20dx256/libmicroros.a

5.35 KB
Binary file not shown.
5.35 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
@@ -601,6 +601,30 @@ rclc_executor_remove_guard_condition(
601601
rclc_executor_t * executor,
602602
const rcl_guard_condition_t * guard_condition);
603603

604+
/**
605+
* The executor prepare function prepare the waitset of the executor if
606+
* it is invalid. Does nothing if a valid waitset is already prepared.
607+
*
608+
* Memory is dynamically allocated within rcl-layer, when DDS queue is accessed with rcl_wait_set_init()
609+
*
610+
* <hr>
611+
* Attribute | Adherence
612+
* ------------------ | -------------
613+
* Allocates Memory | Yes
614+
* Thread-Safe | No
615+
* Uses Atomics | No
616+
* Lock-Free | Yes
617+
*
618+
*
619+
* \param [inout] executor pointer to initialized executor
620+
* \return `RCL_RET_OK` if executor prepare operation was successful
621+
* \return `RCL_RET_INVALID_ARGUMENT` if any parameter is a null pointer
622+
* \return `RCL_RET_ERROR` if any other error occured
623+
*/
624+
RCLC_PUBLIC
625+
rcl_ret_t
626+
rclc_executor_prepare(
627+
rclc_executor_t * executor);
604628

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

0 commit comments

Comments
 (0)