Skip to content

Commit 2386c86

Browse files
micro-ROS Library auto-update 05-11-2020 06:02 (#15)
Co-authored-by: pablogs9 <pablogs9@users.noreply.github.com>
1 parent 35fa4aa commit 2386c86

File tree

9 files changed

+71
-9
lines changed

9 files changed

+71
-9
lines changed

built_packages

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ https://github.com/ros2/rosidl_defaults.git 0a7c99c3c350146b044cb13f4885877d82c9
2323
https://github.com/ros2/tinydir_vendor.git f1ee71b2fb02b24ee40123a905b16922938ca80a
2424
https://github.com/ros2/libyaml_vendor.git 50546eff5f0146c027d63d7e2e473c9956e2eabf
2525
https://github.com/ros2/test_interface_files.git c4d710e3394ad09a71a257f5490688653fb441b3
26-
https://github.com/micro-ROS/rosidl_typesupport.git a551397fa40385f88c325e5de6e75393877c8a72
26+
https://github.com/micro-ROS/rosidl_typesupport.git 2b644340e327b486873c012fcbc075dbde6fe44c
2727
https://github.com/micro-ROS/rclc 443b5c40c022321b9f4a3b72d69eefc90edce6b4
2828
https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git 6cb7eaf4b633e037d1efe9f89416549c44cba2e6
29-
https://github.com/micro-ROS/rcl 20e2496ddc846cdda38d25c1c284b23e24735230
29+
https://github.com/micro-ROS/rcl c992c726a60946ed2c168e27b22a2f7f69c2dd59
3030
https://github.com/micro-ROS/rmw-microxrcedds.git b969cca2fa1a7d5e18e87996b9b82bef59837801
31-
https://github.com/micro-ROS/rcutils be853df53c3b7bf2188010e4bbeab7bc64d5f169
31+
https://github.com/micro-ROS/rcutils 26b71425579a8f4ea4c6171b9dcb471bd8e9ad87
3232
https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing d11b87737245b8456bbada44dfa7b1d670b1c4d0
588 Bytes
Binary file not shown.
1.41 KB
Binary file not shown.

src/mk20dx256/libmicroros.a

1.42 KB
Binary file not shown.

src/rcl/context.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ rcl_get_zero_initialized_context(void);
158158
/**
159159
* The context to be finalized must have been previously initialized with
160160
* `rcl_init()`, and then later invalidated with `rcl_shutdown()`.
161+
* A zero-initialized context that has not been initialized can be finalized.
161162
* If context is `NULL`, then `RCL_RET_INVALID_ARGUMENT` is returned.
162-
* If context is zero-initialized, then `RCL_RET_INVALID_ARGUMENT` is returned.
163+
* If context is zero-initialized, then `RCL_RET_OK` is returned.
163164
* If context is initialized and valid (`rcl_shutdown()` was not called on it),
164165
* then `RCL_RET_INVALID_ARGUMENT` is returned.
165166
*

src/rcl/logging.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ typedef rcutils_logging_output_handler_t rcl_logging_output_handler_t;
4848
* \return `RCL_RET_OK` if successful, or
4949
* \return `RCL_RET_BAD_ALLOC` if allocating memory failed, or
5050
* \return `RCL_RET_INVALID_ARGUMENT` if any arguments are invalid, or
51-
* \return `RCL_RET_ERR` if a general error occurs
51+
* \return `RCL_RET_ERROR` if a general error occurs
5252
*/
5353
RCL_PUBLIC
5454
RCL_WARN_UNUSED
@@ -74,8 +74,9 @@ rcl_logging_configure(
7474
* \param allocator Used to allocate memory used by the logging system
7575
* \param output_handler Output handler to be installed
7676
* \return `RCL_RET_OK` if successful, or
77+
* \return `RCL_RET_INVALID_ARGUMENT` if any arguments are invalid, or
7778
* \return `RCL_RET_BAD_ALLOC` if allocating memory failed, or
78-
* \return `RCL_RET_ERR` if a general error occurs
79+
* \return `RCL_RET_ERROR` if a general error occurs
7980
*/
8081
RCL_PUBLIC
8182
RCL_WARN_UNUSED
@@ -97,7 +98,7 @@ rcl_logging_configure_with_output_handler(
9798
* Lock-Free | Yes
9899
*
99100
* \return `RCL_RET_OK` if successful.
100-
* \return `RCL_RET_ERR` if a general error occurs
101+
* \return `RCL_RET_ERROR` if a general error occurs
101102
*/
102103
RCL_PUBLIC
103104
RCL_WARN_UNUSED

src/rcl/logging_rosout.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ rcl_logging_rosout_fini();
9898
* \return `RCL_RET_BAD_ALLOC` if allocating memory failed, or
9999
* \return `RCL_RET_ERROR` if an unspecified error occurs.
100100
*/
101-
RCL_LOCAL
101+
RCL_PUBLIC
102102
RCL_WARN_UNUSED
103103
rcl_ret_t
104104
rcl_logging_rosout_init_publisher_for_node(
@@ -124,7 +124,7 @@ rcl_logging_rosout_init_publisher_for_node(
124124
* \return `RCL_RET_BAD_ALLOC` if allocating memory failed, or
125125
* \return `RCL_RET_ERROR` if an unspecified error occurs.
126126
*/
127-
RCL_LOCAL
127+
RCL_PUBLIC
128128
RCL_WARN_UNUSED
129129
rcl_ret_t
130130
rcl_logging_rosout_fini_publisher_for_node(

src/rcl/remap.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,31 @@ rcl_remap_node_namespace(
247247
rcl_allocator_t allocator,
248248
char ** output_namespace);
249249

250+
/// Copy one remap structure into another.
251+
/**
252+
* <hr>
253+
* Attribute | Adherence
254+
* ------------------ | -------------
255+
* Allocates Memory | Yes
256+
* Thread-Safe | No
257+
* Uses Atomics | No
258+
* Lock-Free | Yes
259+
*
260+
* \param[in] rule The structure to be copied.
261+
* Its allocator is used to copy memory into the new structure.
262+
* \param[out] rule_out A zero-initialized rcl_remap_t structure to be copied into.
263+
* \return `RCL_RET_OK` if the structure was copied successfully, or
264+
* \return `RCL_RET_INVALID_ARGUMENT` if any function arguments are invalid, or
265+
* \return `RCL_RET_BAD_ALLOC` if allocating memory failed, or
266+
* \return `RCL_RET_ERROR` if an unspecified error occurs.
267+
*/
268+
RCL_PUBLIC
269+
RCL_WARN_UNUSED
270+
rcl_ret_t
271+
rcl_remap_copy(
272+
const rcl_remap_t * rule,
273+
rcl_remap_t * rule_out);
274+
250275
/// Reclaim resources held inside rcl_remap_t structure.
251276
/**
252277
* <hr>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Copyright 2020 Open Source Robotics Foundation, Inc.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
#ifndef RCL__RMW_IMPLEMENTATION_IDENTIFIER_CHECK_H_
16+
#define RCL__RMW_IMPLEMENTATION_IDENTIFIER_CHECK_H_
17+
18+
#ifdef __cplusplus
19+
extern "C"
20+
{
21+
#endif
22+
23+
#include "rcl/visibility_control.h"
24+
25+
#define RMW_IMPLEMENTATION_ENV_VAR_NAME "RMW_IMPLEMENTATION"
26+
#define RCL_ASSERT_RMW_ID_MATCHES_ENV_VAR_NAME "RCL_ASSERT_RMW_ID_MATCHES"
27+
28+
RCL_PUBLIC
29+
rcl_ret_t rcl_rmw_implementation_identifier_check(void);
30+
31+
#ifdef __cplusplus
32+
}
33+
#endif
34+
35+
#endif // RCL__RMW_IMPLEMENTATION_IDENTIFIER_CHECK_H_

0 commit comments

Comments
 (0)