Functions | |
| def | ask_for_confirmation (text) | 
| def | evalCommandClient (code) | 
| def | get_file_folder (argv, send=True) | 
| def | launch_script (code, title, description="", verbosity=1, interactive=True) | 
| def | run_ft_calibration (sensor_name, force=False) | 
| def | run_ft_wrist_calibration (sensor_name, force=False) | 
| def | run_test (appli, verbosity=1, interactive=True) | 
| def | runVerboseCommandClient (code, verbosity=1) | 
Variables | |
| input = raw_input | |
| runCommandClient = rospy.ServiceProxy("run_command", RunCommand) | |
2019, LAAS/CNRS @author: Gabriele Buondonno This module contains utilities for running the tests
| def sot_talos_balance.utils.run_test_utils.ask_for_confirmation | ( | text | ) | 
Definition at line 111 of file run_test_utils.py.
| def sot_talos_balance.utils.run_test_utils.evalCommandClient | ( | code | ) | 
Auxiliary function to quickly extract return values from runCommandClient. This will only work when the result in a plain object data type (such as an in or float) or a string
Definition at line 50 of file run_test_utils.py.
| def sot_talos_balance.utils.run_test_utils.get_file_folder | ( | argv, | |
send = True  | 
        |||
| ) | 
Definition at line 153 of file run_test_utils.py.
| def sot_talos_balance.utils.run_test_utils.launch_script | ( | code, | |
| title, | |||
description = "",  | 
        |||
verbosity = 1,  | 
        |||
interactive = True  | 
        |||
| ) | 
Definition at line 58 of file run_test_utils.py.
| def sot_talos_balance.utils.run_test_utils.run_ft_calibration | ( | sensor_name, | |
force = False  | 
        |||
| ) | 
Definition at line 119 of file run_test_utils.py.
| def sot_talos_balance.utils.run_test_utils.run_ft_wrist_calibration | ( | sensor_name, | |
force = False  | 
        |||
| ) | 
Definition at line 133 of file run_test_utils.py.
| def sot_talos_balance.utils.run_test_utils.run_test | ( | appli, | |
verbosity = 1,  | 
        |||
interactive = True  | 
        |||
| ) | 
Definition at line 84 of file run_test_utils.py.
| def sot_talos_balance.utils.run_test_utils.runVerboseCommandClient | ( | code, | |
verbosity = 1  | 
        |||
| ) | 
Auxiliary function to manage the verbosity of runCommandClient verbosity = 0: simply execute runCommandClient verbosity = 1 (default): if runCommandClient returns something on the standard output or standard error, print it verbosity = 2: print the whole answer returned by runCommandClient
Definition at line 27 of file run_test_utils.py.
| input = raw_input | 
Definition at line 20 of file run_test_utils.py.
| runCommandClient = rospy.ServiceProxy("run_command", RunCommand) | 
Definition at line 24 of file run_test_utils.py.