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

◆ callback()

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.

◆ listener()

def sr_link_joints_example.listener ( )
The main function

Definition at line 67 of file sr_link_joints_example.py.

Variable Documentation

◆ child_name

string sr_link_joints_example.child_name = "rh_rfj3"

Definition at line 46 of file sr_link_joints_example.py.

◆ controller_type

string sr_link_joints_example.controller_type = "_position_controller"

Definition at line 49 of file sr_link_joints_example.py.

◆ parent_name

string sr_link_joints_example.parent_name = "rh_ffj3"

Definition at line 45 of file sr_link_joints_example.py.

◆ pub

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 Mon Feb 28 2022 23:52:10