Ask Your Question
0

How does ROS selects default dds implementation

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

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 -0600

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 imageAnandShastry ( 2019-04-09 02:13:13 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 68 times

Last updated: Apr 01