sot-talos-balance
2.0.5
Collection of dynamic-graph entities aimed at implementing balance control on talos.
test_dcm_estimator.py
Go to the documentation of this file.
1
from
time
import
sleep
2
3
from
dynamic_graph.sot_talos_balance.utils.run_test_utils
import
(
4
run_ft_calibration,
5
run_test,
6
runCommandClient,
7
)
8
9
try
:
10
# Python 2
11
input = raw_input
# noqa
12
except
NameError:
13
pass
14
15
run_test
(
"appli_dcm_estimator.py"
)
16
17
run_ft_calibration
(
"robot.ftc"
)
18
input
(
"Wait before running the test"
)
19
20
# plug ZMP emergency signal
21
runCommandClient
(
"plug(robot.zmp_estimator.emergencyStop,robot.cm.emergencyStop_zmp)"
)
22
sleep(2.0)
23
runCommandClient
(
"robot.comTrajGen.move(1,-0.025,1.0)"
)
24
sleep(20.0)
25
runCommandClient
(
"robot.comTrajGen.startSinusoid(1,0.05,2.0)"
)
26
sleep(20.0)
27
28
input
(
"Wait before leaving the simulation"
)
sot_talos_balance.utils.run_test_utils.runCommandClient
runCommandClient
Definition:
run_test_utils.py:23
sot_talos_balance.test.test_dcm_estimator.input
input
Definition:
test_dcm_estimator.py:11
sot_talos_balance.utils.run_test_utils.run_ft_calibration
def run_ft_calibration(sensor_name, force=False)
Definition:
run_test_utils.py:118
sot_talos_balance.utils.run_test_utils.run_test
def run_test(appli, verbosity=1, interactive=True)
Definition:
run_test_utils.py:83
src
dynamic_graph
sot_talos_balance
test
test_dcm_estimator.py
Generated by
1.8.17