Public Member Functions | Private Attributes
life_test.test_param.TestParam Class Reference

Stores parameter data for each test Parameters are ROS parameters, and are updated in test log Examples: cycle rate, joint torque, roll on/off Allows changes in test setup or implementation to be logged automatically. More...

List of all members.

Public Member Functions

def __init__
def init_xml
def name
def rate
def set_namespace
def value

Private Attributes

 _cumulative
 _desc
 _name
 _namespace
 _param_name
 _value

Detailed Description

Stores parameter data for each test Parameters are ROS parameters, and are updated in test log Examples: cycle rate, joint torque, roll on/off Allows changes in test setup or implementation to be logged automatically.

Definition at line 225 of file test_param.py.


Constructor & Destructor Documentation

Definition at line 226 of file test_param.py.


Member Function Documentation

def life_test.test_param.TestParam.init_xml (   self,
  param_xml 
)
Initialize from XML

Required elements:
name - Name of param
param_name - ROS name of param
desc - Description
value - Value of param
rate = "true" if parameters is cumulative, or a rate

@raise Exception : If required attribs aren't present
@return bool : True if OK

Definition at line 235 of file test_param.py.

Definition at line 273 of file test_param.py.

Definition at line 276 of file test_param.py.

Set parameter's value in appropriate namespace

Definition at line 257 of file test_param.py.

Definition at line 265 of file test_param.py.


Member Data Documentation

Definition at line 226 of file test_param.py.

Definition at line 226 of file test_param.py.

Definition at line 226 of file test_param.py.

Definition at line 226 of file test_param.py.

Definition at line 226 of file test_param.py.

Definition at line 226 of file test_param.py.


The documentation for this class was generated from the following file:


life_test
Author(s): Kevin Watts
autogenerated on Sat Dec 28 2013 17:56:37