ROS Parameter Server in DDS

3 posts / 0 new
Last post
Tao
Offline
Last seen: 3 months 2 weeks ago
Joined: 01/13/2022
Posts: 8
ROS Parameter Server in DDS

Dear all,

Does ConnextDDS offer some features similar to the ROS Paramter Server?

E.g. a central location (or distributed locations) that holds paramters for the apps in runtime, the apps can query the parameter server to get the correct value as needed?

Thanks,

Tao

Howard's picture
Offline
Last seen: 9 hours 47 min ago
Joined: 11/29/2012
Posts: 448

Hi Tao,

While there's no Connext service that offers that exact functionality out-of-the-box, it would be pretty straightforward, and simple, to build such a service oneself.

For the parameter server side, you just have to create an application that reads the parameters from a file (using whatever format you want) and writes them with a DataWriter configured to be non-Volatile DurabilityQos.  So the DataWriter has all of the parameters in its cache.  The datatype of the DataWriter's topic should be able to hold the parameter identifier and value, e.g., name/value pair.

Then for the applications themselves, they would use the TopicQuery API to request the values of parameters.

Tao
Offline
Last seen: 3 months 2 weeks ago
Joined: 01/13/2022
Posts: 8

Thanks a lot Howard for your quick reply! We are thinking of same you just pointed out.