rcutils
rcutils copied to clipboard
Common C functions and data structures used in ROS 2
[rcutils_logging_get_logger_level](https://github.com/ros2/rcutils/blob/98d624a455e52c8bdd150c380ca302cf6a8a750c/include/rcutils/logging.h#L344) (which is called when doing any logging in ROS 2) has never been thread-safe with respect to [rcutils_logging_set_logger_level](https://github.com/ros2/rcutils/blob/98d624a455e52c8bdd150c380ca302cf6a8a750c/include/rcutils/logging.h#L392). However, prior to PR #381, `rcutils_logging_get_logger_level` was thread-safe with respect to...
This reverts commit 98d624a.
On Ubuntu WSL2 subsystem on Windows 10, under the **humble** branch, when running: ``` mkdir build cd build cmake .. ``` I receive the following error: ``` -- The C...
This upgrade was more involved than just increasing the CMAKE_CXX_STANDARD version. In C++17, apparently 'noexcept' became part of the type system. This is problematic because some functions that we use...
Hi, This PR simplifies empy invocation. Hope you like it.
On some architectures, libatomic is needed and should not be dependent on tests being enabled.
Is it currently possible to have human-readable timestamps like in [ROS1](http://wiki.ros.org/rosconsole#Change_default_time_and_walltime_format)? If not then this is a feature request. With some guidance I can contribute here
I had previously encountered an issue where `rcutils set error state` was failing to pass the `error string` appropriately. I was able to identify the `rcutils ret` being returned at...
Add ability to specify the logger severity using a config file similar to ROS1's `ROSCONSOLE_CONFIG_FILE` env-variable, this can be done by `export RCUTILS_LOGGING_CONFIG_FILE=path_to_config_file` This's a demo: https://user-images.githubusercontent.com/16278108/134510231-f88ec412-ae1d-44b0-a832-d48c12cfa3f4.mp4
There's a lot of detail in https://github.com/ros2/rcutils/pull/237#discussion_r408151034 , but to summarize the situation we are now in: As of https://github.com/ros2/rcutils/pull/237, on all platforms `rcutils_get_env` is thread-safe for simultaneously *getting* environment...