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

Revision history [back]

click to hide/show revision 1
initial version

The functionality is there by using XmlRpcValue versions of the getParam functions.

The functionality is there by using XmlRpcValue versions of the getParam functions.

The functionality is there by using XmlRpcValue versions of the getParam functions.

An example of how to get a list is available: http://www.ros.org/wiki/roscpp/Overview/Parameter%20Server#Retrieving_Lists.

If you need more, i.e. dictionaries the refer to the XmlRpcValue docs.

The functionality is there by using XmlRpcValue versions of the getParam functions.

An example of how to get a list is available: http://www.ros.org/wiki/roscpp/Overview/Parameter%20Server#Retrieving_Lists.

If you need more, i.e. dictionaries the refer to the XmlRpcValue docs.

TypeStruct is a dictionary. There is hidden functionality that the official docs do not list and afaik was added to ROS. For a dictionary there are begin() and end() functions that allow to iterate over the dict entries. You can find an example here: http://code.google.com/p/alufr-ros-pkg/source/browse/trunk/freiburg_tools/rxparamedit/src/xmlRpcTreeItem.cpp#180.

The functionality is there by using XmlRpcValue versions of the getParam functions.

An example of how to get a list is available: http://www.ros.org/wiki/roscpp/Overview/Parameter%20Server#Retrieving_Lists.

If you need more, i.e. dictionaries the then refer to the XmlRpcValue docs.

TypeStruct is a dictionary. There is hidden functionality that the official docs do not list and afaik was added to ROS. For a dictionary there are begin() and end() functions that allow to iterate over the dict entries. You can find an example here: http://code.google.com/p/alufr-ros-pkg/source/browse/trunk/freiburg_tools/rxparamedit/src/xmlRpcTreeItem.cpp#180.

click to hide/show revision 6
No.6 Revision

The functionality is there by using XmlRpcValue versions of the getParam functions.

An example of how to get a list is available: http://www.ros.org/wiki/roscpp/Overview/Parameter%20Server#Retrieving_Lists.

If you need more, i.e. dictionaries then refer to the XmlRpcValue docs.

TypeStruct is a dictionary. There is hidden functionality that the official docs do not list and afaik was added to ROS. For a dictionary there are begin() and end() functions that allow to iterate over the dict entries. You can find an example here: http://code.google.com/p/alufr-ros-pkg/source/browse/trunk/freiburg_tools/rxparamedit/src/xmlRpcTreeItem.cpp#180.http://code.google.com/p/alufr-ros-pkg/source/browse/trunk/freiburg_tools/rxparamedit/src/xmlRpcTreeItem.cpp#180