Functions | |
def | topic_callback (self, data) |
Variables | |
args = rospy.myargv(argv=sys.argv) | |
int | node_name = args[1]iflen(args)>1 |
sub = rospy.Subscriber(topic_name, std_msgs.msg.String, topic_callback) | |
test_message = rospy.get_param("~test_message", "") | |
topic_name = rospy.get_param("~topic_name", "") | |
A dummy ROS node
def string_sub_node.topic_callback | ( | self, | |
data | |||
) |
Definition at line 16 of file string_sub_node.py.
string_sub_node.args = rospy.myargv(argv=sys.argv) |
Definition at line 22 of file string_sub_node.py.
Definition at line 23 of file string_sub_node.py.
string_sub_node.sub = rospy.Subscriber(topic_name, std_msgs.msg.String, topic_callback) |
Definition at line 39 of file string_sub_node.py.
string_sub_node.test_message = rospy.get_param("~test_message", "") |
Definition at line 33 of file string_sub_node.py.
string_sub_node.topic_name = rospy.get_param("~topic_name", "") |
Definition at line 28 of file string_sub_node.py.