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

I found a way:

XmlRpc::XmlRpcValue a;
a.setSize(2);
a[0] = 0;
a[1] = 1;
ros::param::set("param_name", a);

Just keep nesting this and you can set any parameter structure you want.