Functions | Variables
caster_runner Namespace Reference

Functions

def calc_mse
def get_error
def pack_result

Variables

tuple cmd = Float64(rospy.get_param('~command', 16.5))
tuple cmd_pub = rospy.Publisher(TOPIC_NAME, Float64)
string CONTROLLER_NAME = 'caster_motor'
 end_time = start_time+timeout
list errors = []
string JOINT_NAME = 'caster_motor_joint'
tuple js_sub = rospy.Subscriber('joint_states', JointState, get_error, cmd.data)
int last_error = 10000000
tuple my_rate = rospy.Rate(10.0)
string PKG = 'qualification'
tuple result_srv = rospy.ServiceProxy('test_result', TestResult)
tuple start_time = rospy.get_time()
tuple timeout = rospy.get_param('~time', 15.0)
tuple tolerance = rospy.get_param('~tolerance', 1.0)
string TOPIC_NAME = '/command'

Function Documentation

def caster_runner.calc_mse (   errors)

Definition at line 38 of file caster_runner.py.

def caster_runner.get_error (   msg,
  command 
)

Definition at line 28 of file caster_runner.py.

def caster_runner.pack_result (   proxy,
  command,
  mse,
  tolerance 
)

Definition at line 42 of file caster_runner.py.


Variable Documentation

tuple caster_runner::cmd = Float64(rospy.get_param('~command', 16.5))

Definition at line 60 of file caster_runner.py.

tuple caster_runner::cmd_pub = rospy.Publisher(TOPIC_NAME, Float64)

Definition at line 57 of file caster_runner.py.

string caster_runner::CONTROLLER_NAME = 'caster_motor'

Definition at line 19 of file caster_runner.py.

Definition at line 73 of file caster_runner.py.

Definition at line 67 of file caster_runner.py.

string caster_runner::JOINT_NAME = 'caster_motor_joint'

Definition at line 21 of file caster_runner.py.

tuple caster_runner::js_sub = rospy.Subscriber('joint_states', JointState, get_error, cmd.data)

Definition at line 69 of file caster_runner.py.

int caster_runner::last_error = 10000000

Definition at line 23 of file caster_runner.py.

tuple caster_runner::my_rate = rospy.Rate(10.0)

Definition at line 71 of file caster_runner.py.

string caster_runner::PKG = 'qualification'

Definition at line 4 of file caster_runner.py.

tuple caster_runner::result_srv = rospy.ServiceProxy('test_result', TestResult)

Definition at line 64 of file caster_runner.py.

tuple caster_runner::start_time = rospy.get_time()

Definition at line 72 of file caster_runner.py.

tuple caster_runner::timeout = rospy.get_param('~time', 15.0)

Definition at line 61 of file caster_runner.py.

tuple caster_runner::tolerance = rospy.get_param('~tolerance', 1.0)

Definition at line 62 of file caster_runner.py.

Definition at line 20 of file caster_runner.py.



qualification
Author(s): Kevin Watts (watts@willowgarage.com), Josh Faust (jfaust@willowgarage.com)
autogenerated on Sat Dec 28 2013 17:57:34