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...
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 | |
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.
| 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.
Definition at line 230 of file test_param.py.
life_test::test_param::TestParam::_desc [private] |
Definition at line 228 of file test_param.py.
life_test::test_param::TestParam::_name [private] |
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.
life_test::test_param::TestParam::_value [private] |
Definition at line 227 of file test_param.py.