Closed mossmaurice closed 2 years ago
@ZhenshengLee Could you have a look at this pull request?
What's not working/ known limitations
>>> [rcutils|error_handling.c:108] rcutils_set_error_state() This error state is being overwritten: 'Handle's typesupport identifier (rosidl_typesupport_c) is not supported by this library, at /home/simon.hoinkis/ros2_galactic_ade/src/ros2/rosidl_typesupport/rosidl_typesupport_c/src/type_support_dispatch.hpp:113' with this new error message: 'Handle's typesupport identifier (rosidl_typesupport_cpp) is not supported by this library, at /home/simon.hoinkis/ros2_galactic_ade/src/ros2/rosidl_typesupport/rosidl_typesupport_cpp/src/type_support_dispatch.hpp:111' rcutils_reset_error() should be called after error handling to avoid this.
I just recently found the "solution" for this case of an error message being overwritten, so I thought I'd mention it. Currently, if get_message_typesupport_handle()
returns a nullptr
, it sets an error message, so you're expected to call rcutils_reset_error()
. Example: https://github.com/ros2/rmw_connextdds/pull/22/files#diff-8310735a1b9a2eb25a4d85563c1a1862ca08f0243488ac9867c76a7ae7d9ed01
It looks like this behaviour may change at some point though: https://github.com/ros2/rosidl_typesupport/pull/102
@jeising Would you mind doing a review of the changes? Thanks in advance!
@Karsten1987 Could you please set the default branch for this repository to the branch galactic
? Cheers and have a nice weekend!
Done
What's working
ros2
command line supportWhat's not working/ known limitations
RMW_IMPLEMENTATION=rmw_iceoryx_cpp ros2 topic echo /chatter
Closes #48