Functions | Variables
string_slow_node Namespace Reference

Functions

def service_callback (data)
 

Variables

 args = rospy.myargv(argv=sys.argv)
 
int node_name = args[1] if len(args) > 1 else 'string_slow_node'
 
 slow_service_name = rospy.get_param("~slow_service_name", "slow_service")
 
 srv = rospy.Service(slow_service_name, StringEchoService, service_callback)
 

Function Documentation

◆ service_callback()

def string_slow_node.service_callback (   data)

Definition at line 21 of file string_slow_node.py.

Variable Documentation

◆ args

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

Definition at line 31 of file string_slow_node.py.

◆ node_name

int string_slow_node.node_name = args[1] if len(args) > 1 else 'string_slow_node'

Definition at line 32 of file string_slow_node.py.

◆ slow_service_name

string_slow_node.slow_service_name = rospy.get_param("~slow_service_name", "slow_service")

Definition at line 37 of file string_slow_node.py.

◆ srv

string_slow_node.srv = rospy.Service(slow_service_name, StringEchoService, service_callback)

Definition at line 43 of file string_slow_node.py.



pyros_test
Author(s): AlexV
autogenerated on Mon Feb 28 2022 23:17:57