Functions | Variables
string_sub_node Namespace Reference

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", "")
 

Detailed Description

A dummy ROS node 

Function Documentation

def string_sub_node.topic_callback (   self,
  data 
)

Definition at line 16 of file string_sub_node.py.

Variable Documentation

string_sub_node.args = rospy.myargv(argv=sys.argv)

Definition at line 22 of file string_sub_node.py.

int string_sub_node.node_name = args[1]iflen(args)>1

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.



pyros_test
Author(s): AlexV
autogenerated on Mon Jun 10 2019 14:20:23