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

You can parse the XmlRpcValue after doing getParam on field_a. ROS' version of XmlRpcValue adds an iterator type and begin()/end() calls, so you can iterate over a struct.

If in doubt, check the header in /opt/ros/XXX/include/XmlRpcValue.h for the API, not the official (non-ROS) docs.