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.


Member Function Documentation

def life_test::test_param::TestParam::__init__ (   self  ) 

Definition at line 226 of file test_param.py.

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.

def life_test::test_param::TestParam::name (   self  ) 

Definition at line 273 of file test_param.py.

def life_test::test_param::TestParam::rate (   self  ) 

Definition at line 276 of file test_param.py.

def life_test::test_param::TestParam::set_namespace (   self,
  ns 
)
Set parameter's value in appropriate namespace

Definition at line 257 of file test_param.py.

def life_test::test_param::TestParam::value (   self  ) 

Definition at line 265 of file test_param.py.


Member Data Documentation

Definition at line 230 of file test_param.py.

Definition at line 228 of file test_param.py.

Definition at line 232 of file test_param.py.

Definition at line 233 of file test_param.py.

Definition at line 231 of file test_param.py.

Definition at line 227 of file test_param.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


life_test
Author(s): Kevin Watts
autogenerated on Fri Jan 11 09:35:06 2013