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

How does ROS selects default dds implementation

asked 2019-04-01 06:36:10 -0500

AnandShastry gravatar image

I am trying to understand how ROS selects default DDS implementation while creating a service. I could see service constructor is using rosidl_typesupport_cpp namespace by default. How it gets type support handle for fast rtps cpp?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-04-01 17:31:49 -0500

William gravatar image

The rmw implementation is selected when the program starts, if there is more than one to choose from, otherwise it is linked directly to the only one available. See: https://github.com/ros2/rmw_implement...

The type support is selected based on the rmw implementation which is selected. See:

The type support structure is generated for each message and typesupport, e.g. fastrtps:

edit flag offensive delete link more

Comments

Thank you. I have one more doubt. What and all environment variables needed for this?

AnandShastry gravatar image AnandShastry  ( 2019-04-09 02:13:13 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-04-01 06:36:10 -0500

Seen: 233 times

Last updated: Apr 01 '19