We are tring to use a custom message for ROS2 in Coppelia plugin. When we run coppelia, we have this error:
"
symbol lookup error: /home/avena/ros2_ws/install/custom_interfaces/lib/libcustom_interfaces__rosidl_typesupport_fastrtps_cpp.so: undefined symbol: _ZN8tf2_msgs3msg24typesupport_fastrtps_cpp29max_serialized_size_TFMessageERbm
"
It looks like that that there is a problem due to tf2_msgs field in our custom msg. Do you have a solution for that?
ROS2 Custom message in plugin
Re: ROS2 Custom message in plugin
So, if you remove the tf2_msgs dependency, the plugin loads fine?
-
- Posts: 16
- Joined: 11 Aug 2020, 12:47
Re: ROS2 Custom message in plugin
Yes, we removed tf2_msgs/TFMessage and explicitly put transforms field from this message which is geometry_msgs/TransformStamped[] and it works fine
Re: ROS2 Custom message in plugin
Looks similar (but not same) to my question on ROS answers.
In there, my package depends on
Upstream issue?
In there, my package depends on
shape_msgs
and geometry_msgs
, and my package's *_interfaces__rosidl_typesupport_introspection_cpp.so
library can't be loaded because of unresolved symbols related to geometry_msgs
and shape_msgs
packages.Upstream issue?