1 """Test CoM admittance control as described in paper, with pre-loaded movements"""
5 from dynamic_graph.sot_talos_balance.utils.run_test_utils
import (
18 test_folder = argv[1]
if len(argv) > 1
else "TestKajita2003WalkingOnSpot64/DSP20SSP780"
19 print(
"Using folder " + test_folder)
23 run_test(
"appli_dcmZmpControl_file.py")
26 input(
"Wait before running the test")
29 print(
"Connect ZMP reference")
30 runCommandClient(
"plug(robot.zmp_estimator.emergencyStop,robot.cm.emergencyStop_zmp)")
31 runCommandClient(
"plug(robot.dcm_control.zmpRef,robot.com_admittance_control.zmpDes)")
33 "robot.com_admittance_control.setState(robot.wp.comDes.value,[0.0,0.0,0.0])"
41 print(
"Executing the trajectory")
44 print(
"Not executing the trajectory")
46 input(
"Wait before dumping the data")
def ask_for_confirmation(text)
def run_ft_calibration(sensor_name, force=False)
def run_test(appli, verbosity=1, interactive=True)