Functions | Variables
sr_link_joints_example Namespace Reference

Functions

def callback (data)
 
def listener ()
 

Variables

string child_name = "rh_rfj3"
 
string controller_type = "_position_controller"
 
string parent_name = "rh_ffj3"
 
 pub
 

Function Documentation

def sr_link_joints_example.callback (   data)
The callback function: called each time a message is received on the
topic parent joint controller state topic

@param data: the message

Definition at line 55 of file sr_link_joints_example.py.

def sr_link_joints_example.listener ( )
The main function

Definition at line 67 of file sr_link_joints_example.py.

Variable Documentation

string sr_link_joints_example.child_name = "rh_rfj3"

Definition at line 46 of file sr_link_joints_example.py.

string sr_link_joints_example.controller_type = "_position_controller"

Definition at line 49 of file sr_link_joints_example.py.

string sr_link_joints_example.parent_name = "rh_ffj3"

Definition at line 45 of file sr_link_joints_example.py.

sr_link_joints_example.pub
Initial value:
1 = rospy.Publisher(
2  '/sh_' + child_name + controller_type + '/command', Float64, queue_size=1)

Definition at line 51 of file sr_link_joints_example.py.



sr_example
Author(s): Ugo Cupcic
autogenerated on Wed Oct 14 2020 04:05:12