sot-talos-balance  2.0.5
Collection of dynamic-graph entities aimed at implementing balance control on talos.
test_feet_admittance.py
Go to the documentation of this file.
1 """Test feet admittance control"""
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_feet_admittance.py")
16 
17 run_ft_calibration("robot.ftc")
18 input("Wait before running the test")
19 
20 print("Set saturation value")
21 runCommandClient("robot.admBF_dqSaturation.sin.value = [0.0, 0.0, 0.01, 0.0, 0.0, 0.0]")
22 
23 input("Wait before dumping the data")
24 
25 runCommandClient("dump_tracer(robot.tracer)")
def run_ft_calibration(sensor_name, force=False)
def run_test(appli, verbosity=1, interactive=True)