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

Accessing arbitrary rosparam namespaces in Orocos/RTT

asked 2012-04-13 20:52:07 -0500

jbohren gravatar image

The current rtt_ros_integration (2.5/Electric) only allows RTT components to get/set rosparam params in the namespace corresponding to the name of the component. I could see how this might be desirable to enforce synchronization between rosparam and the component properties, but if I want several components to pull something like an URDF off of the parameter server, it means I need to load it each time. This clutters both the parameter server and launchfiles. Is this a design decision or would a patch be welcomed to enable something like:

loadService("my_component","rosparam")
my_component.rosparam.refreshProperties("/some/arbitrary/namespace")
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-04-16 22:24:59 -0500

updated 2012-04-16 22:25:18 -0500

As shown on the wiki page (http://www.ros.org/wiki/rtt_ros_param ), it is possible to load parameters from other places than the /nodename/componentname namespace: http://www.ros.org/wiki/rtt_ros_param#Refresh_a_single_properties

I do have to admit that there is no possibility yet to load it from an arbitrary namespace. A patch to provide this extra functionality is always welcome.

Ruben

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-13 20:52:07 -0500

Seen: 266 times

Last updated: Apr 16 '12