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 thing I was missing was that it is necessary to init the node in order to access private params. eg.

#!/usr/bin/env python
import rospy
rospy.init_node("some_name")
foo = rospy.get_param("~foo")
print str(foo)