ros2 / rmw_fastrtps

Implementation of the ROS Middleware (rmw) Interface using eProsima's Fast RTPS.
Apache License 2.0
157 stars 117 forks source link

rmw_fastrtps_dynamic_cpp is currently incomplete #599

Closed ivanpauno closed 2 years ago

ivanpauno commented 2 years ago

Bug report

Required Info:

Steps to reproduce issue

RMW_IMPLEMENTATION=rmw_fastrtps_dynamic_cpp ros2 run demo_nodes_cpp listener
Output ``` >>> [rcutils|error_handling.c:108] rcutils_set_error_state() This error state is being overwritten: [0/54] 'failed to resolve symbol 'rmw_subscription_set_on_new_message_callback' in shared library '/home/ivanpauno/ros2_ws/install/rmw_fastrtps_dynamic_cpp/lib/librmw_fastrtps_dynamic_cpp.so', at /home/ivanpa$ no/ros2_ws/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:152' with this new error message: 'failed to resolve symbol 'rmw_service_set_on_new_request_callback' in shared library '/home/ivanpauno/ros2_ws/install/rmw_fastrtps_dynamic_cpp/lib/librmw_fastrtps_dynamic_cpp.so', at /home/ivanpauno/r$ s2_ws/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:152' rcutils_reset_error() should be called after error handling to avoid this. <<< >>> [rcutils|error_handling.c:108] rcutils_set_error_state() This error state is being overwritten: 'failed to resolve symbol 'rmw_service_set_on_new_request_callback' in shared library '/home/ivanpauno/ros2_ws/install/rmw_fastrtps_dynamic_cpp/lib/librmw_fastrtps_dynamic_cpp.so', at /home/ivanpauno/r$ s2_ws/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:152' with this new error message: 'failed to resolve symbol 'rmw_client_set_on_new_response_callback' in shared library '/home/ivanpauno/ros2_ws/install/rmw_fastrtps_dynamic_cpp/lib/librmw_fastrtps_dynamic_cpp.so', at /home/ivanpauno/r$ s2_ws/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:152' rcutils_reset_error() should be called after error handling to avoid this. <<< >>> [rcutils|error_handling.c:108] rcutils_set_error_state() This error state is being overwritten: 'failed to resolve symbol 'rmw_client_set_on_new_response_callback' in shared library '/home/ivanpauno/ros2_ws/install/rmw_fastrtps_dynamic_cpp/lib/librmw_fastrtps_dynamic_cpp.so', at /home/ivanpauno/r$ s2_ws/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:152' with this new error message: 'failed to resolve symbol 'rmw_event_set_callback' in shared library '/home/ivanpauno/ros2_ws/install/rmw_fastrtps_dynamic_cpp/lib/librmw_fastrtps_dynamic_cpp.so', at /home/ivanpauno/ros2_ws/src/ros2/r$ w_implementation/rmw_implementation/src/functions.cpp:152' rcutils_reset_error() should be called after error handling to avoid this. <<< >>> [rcutils|error_handling.c:108] rcutils_set_error_state() This error state is being overwritten: 'failed to resolve symbol 'rmw_event_set_callback' in shared library '/home/ivanpauno/ros2_ws/install/rmw_fastrtps_dynamic_cpp/lib/librmw_fastrtps_dynamic_cpp.so', at /home/ivanpauno/ros2_ws/src/ros2/rm w_implementation/rmw_implementation/src/functions.cpp:152' with this new error message: 'Expected lexeme type (19) not found, search ended at index 74, at /home/ivanpauno/ros2_ws/src/ros2/rcl/rcl/src/rcl/lexer_lookahead.c:239' rcutils_reset_error() should be called after error handling to avoid this. <<< ```

Expected behavior

Should publish messages.

Actual behavior

Crashes while trying to load the rmw implementation.

Additional information

Seems to have been caused by https://github.com/ros2/rmw_fastrtps/pull/468#issuecomment-1106847128.