Functions | Variables
control_laser Namespace Reference

Functions

def print_usage (exit_code=0)
 

Variables

 amplitude = float(sys.argv[4])
 
 controller = sys.argv[1]
 
 offset = float(sys.argv[5])
 
 period = float(sys.argv[3])
 
string PKG = "pr2_mechanism_controllers"
 
int profile_type = 4
 
 resp = s.call(SetProfileRequest(0.0, 0.0, 0.0, 0.0, profile_type, period, amplitude, offset))
 
 s = rospy.ServiceProxy(controller + '/set_profile', SetProfile)
 

Function Documentation

def control_laser.print_usage (   exit_code = 0)

Definition at line 16 of file control_laser.py.

Variable Documentation

control_laser.amplitude = float(sys.argv[4])

Definition at line 30 of file control_laser.py.

control_laser.controller = sys.argv[1]

Definition at line 28 of file control_laser.py.

control_laser.offset = float(sys.argv[5])

Definition at line 31 of file control_laser.py.

control_laser.period = float(sys.argv[3])

Definition at line 29 of file control_laser.py.

string control_laser.PKG = "pr2_mechanism_controllers"

Definition at line 3 of file control_laser.py.

int control_laser.profile_type = 4

Definition at line 27 of file control_laser.py.

control_laser.resp = s.call(SetProfileRequest(0.0, 0.0, 0.0, 0.0, profile_type, period, amplitude, offset))

Definition at line 41 of file control_laser.py.

control_laser.s = rospy.ServiceProxy(controller + '/set_profile', SetProfile)

Definition at line 40 of file control_laser.py.



pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Mon Jun 10 2019 14:26:33