Skip to content

Commit 9ae8b79

Browse files
micro-ROS rolling Library auto-update 25-02-2023 06:17 (#1307)
Co-authored-by: pablogs9 <[email protected]>
1 parent 7d4f6b1 commit 9ae8b79

File tree

3 files changed

+69
-5
lines changed

3 files changed

+69
-5
lines changed

built_packages

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ https://github.com/eProsima/Micro-CDR.git ed4fd513a24a53b93d548d342cb7aa0a18716f
99
https://github.com/eProsima/Micro-XRCE-DDS-Client.git 8dfd8dc031b1aaf10a088e541ef932f54c9678a5
1010
https://github.com/micro-ROS/micro_ros_msgs.git e3664463e78ae5d0c34d86be92d707b3d9dfd27d
1111
https://github.com/micro-ROS/micro_ros_utilities fa107f7a935fd2fb9b05e2c1ee9f1819b56da68d
12-
https://github.com/micro-ROS/rcl e18713a5d842a159773df994e16bc88427904551
13-
https://github.com/micro-ROS/rcutils acd0e1bd9ad8a4da6580570175ab6c344d33fdf1
14-
https://github.com/micro-ROS/rmw-microxrcedds.git 96487376bb38cc8bce36be34fc74958ee2f5a76e
12+
https://github.com/micro-ROS/rcl 36d292020abde294fc46538cb5c285658ebb1b6e
13+
https://github.com/micro-ROS/rcutils fea70a911b1c51c8e53cdeda6d50158092e1361b
14+
https://github.com/micro-ROS/rmw-microxrcedds.git c4a5111c8702fd6016ad1ef0e403f0e047280f3e
1515
https://github.com/micro-ROS/rosidl_typesupport.git 8477585bfa0cf98deeeb15aa10a525cba9edaea9
1616
https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git 1310b44fa2fd5327634a39e640a644d2dca745e4
1717
https://github.com/ros-controls/control_msgs 1416954c31432c192ff95a06559847e87386cf60
1818
https://github.com/ros2/ament_cmake_ros.git ede6248e1f36aaef85eb4eac23c782a134ef2bff
1919
https://github.com/ros2/common_interfaces.git 4bac182a0a582b5e6b784d9fa9f0dabc1aca4d35
2020
https://github.com/ros2/example_interfaces.git 58899de0f85388be333e32bcb78c551a6877db4d
2121
https://github.com/ros2/libyaml_vendor.git 0c814892fe8c31aeb20688a8b43906aeefda015e
22-
https://github.com/ros2/rcl.git d15594effa63065a19a9f69960ea80f5ac5be8bd
22+
https://github.com/ros2/rcl.git 2d34ba831fc4693e2e44af2da40281f393ed88c8
2323
https://github.com/ros2/rcl_interfaces.git 0aa89223ab92fc028173047a2ba3d987b0f01f71
2424
https://github.com/ros2/rcl_logging.git cdef749a304f734ba275f8466a4883db6400dc75
2525
https://github.com/ros2/rclc 3b4ff9e46ad63ca08a1131760a86b0f42c2bba63
2626
https://github.com/ros2/rcpputils.git 39b20134e571ba74baa7c77750eab586da90b7a5
27-
https://github.com/ros2/rmw.git 44ad18714f8e6c156e74609324b1c464a7d84674
27+
https://github.com/ros2/rmw.git c570323007190812ff3cd1ff45121855a2e5b7a9
2828
https://github.com/ros2/rmw_implementation.git 2adb8a0858477c839affd9b97b6ae4599ae85dc4
2929
https://github.com/ros2/rosidl.git 7790c70717e09c003711f6f65015666c223fc283
3030
https://github.com/ros2/rosidl_core.git 83df4c6574f90a8479d0b0211a463a7806ad6179

src/rcl/logging_rosout.h

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,69 @@ rcl_logging_rosout_output_handler(
188188
const char * format,
189189
va_list * args);
190190

191+
/// Add a subordinate logger based on a logger
192+
/**
193+
* Calling this will use the existing publisher of `logger_name` on a node to create an subordinate
194+
* logger that will be used by the logging system to publish all log messages from that Node's
195+
* logger.
196+
*
197+
* If a subordinate logger already exists, it will NOT be created.
198+
*
199+
* It is expected that after creating a subordinate logger with this function
200+
* rcl_logging_rosout_remove_sublogger() will be called for the node to cleanup
201+
* the subordinate logger while the publisher of `logger_name` is still valid.
202+
*
203+
*
204+
* <hr>
205+
* Attribute | Adherence
206+
* ------------------ | -------------
207+
* Allocates Memory | Yes
208+
* Thread-Safe | No
209+
* Uses Atomics | No
210+
* Lock-Free | Yes
211+
*
212+
* \param[in] logger_name a logger_name that has a corresponding rosout publisher on a node
213+
* \param[in] sublogger_name a sublogger name
214+
* \return #RCL_RET_OK if the subordinate logger was created successfully, or
215+
* \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
216+
* \return #RCL_RET_SUBLOGGER_ALREADY_EXIST if the subordinate logger already exists, or
217+
* \return #RCL_RET_BAD_ALLOC if allocating memory failed, or
218+
* \return #RCL_RET_ERROR if an unspecified error occurs.
219+
*/
220+
RCL_PUBLIC
221+
RCL_WARN_UNUSED
222+
rcl_ret_t
223+
rcl_logging_rosout_add_sublogger(
224+
const char * logger_name, const char * sublogger_name);
225+
226+
/// Remove a subordinate logger and cleans up allocated resources
227+
/**
228+
* Calling this will destroy the subordinate logger based on
229+
* `logger_name+RCUTILS_LOGGING_SEPARATOR_STRING+sublogger_name` on that node and remove it from
230+
* the logging system so that no more Log messages are published to this function.
231+
*
232+
*
233+
* <hr>
234+
* Attribute | Adherence
235+
* ------------------ | -------------
236+
* Allocates Memory | Yes
237+
* Thread-Safe | No
238+
* Uses Atomics | No
239+
* Lock-Free | Yes
240+
*
241+
* \param[in] logger_name a logger_name that has a corresponding rosout publisher on a node
242+
* \param[in] sublogger_name a sublogger name
243+
* \return #RCL_RET_OK if the subordinate logger was finalized successfully, or
244+
* \return #RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
245+
* \return #RCL_RET_BAD_ALLOC if allocating memory failed, or
246+
* \return #RCL_RET_ERROR if an unspecified error occurs.
247+
*/
248+
RCL_PUBLIC
249+
RCL_WARN_UNUSED
250+
rcl_ret_t
251+
rcl_logging_rosout_remove_sublogger(
252+
const char * logger_name, const char * sublogger_name);
253+
191254
#ifdef __cplusplus
192255
}
193256
#endif

src/rcutils/sha256.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ extern "C"
3838
{
3939
#endif
4040

41+
#include <stddef.h>
4142
#include <stdint.h>
4243

4344
#include "rcutils/visibility_control.h"

0 commit comments

Comments
 (0)