ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

The source code behind "libstd_msgs__rosidl_typesupport_c.so"

asked 2020-02-19 10:41:34 -0500

Saeid Dehnavi gravatar image

Hi,

For some reason I need to have access to the source code behind libstd_msgs__rosidl_typesupport_c.so. There are some functions like 'rosidl_typesupport_c__get_message_type_support_handle__std_msgs__msg__Int32' which I need for my work. I know that this file is created by colcon during building time but I am wondering where is the source codes and dependencies of this file? Thanks for your response in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-02-19 11:16:15 -0500

Dirk Thomas gravatar image

updated 2020-02-19 11:16:45 -0500

The prefix of the function rosidl_typesupport_cindicates the package where that symbol is being defined: https://github.com/ros2/rosidl_typesu...

The package is generating C typesupport information for every message/service/action. Its responsibilty is to dispatch to a C typesupport of a specific RMW implementation. That could be e.g. https://github.com/ros2/rosidl_typesu... , https://github.com/ros2/rosidl/tree/f... , etc.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-02-19 10:41:34 -0500

Seen: 166 times

Last updated: Feb 19 '20