Skip to content
Snippets Groups Projects
Commit a2cfa16c authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[test_dcmZmpControl_file] Ask for confirmation before executing trajectory

parent 47705d30
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,12 @@ runCommandClient('robot.com_admittance_control.Kp.value = Kp_adm')
runCommandClient('robot.dcm_control.resetDcmIntegralError()')
runCommandClient('robot.dcm_control.Ki.value = Ki_dcm')
raw_input("Wait before executing the trajectory")
print('Executing the trajectory')
runCommandClient('robot.triggerTrajGen.sin.value = 1')
c = ask_for_confirmation('Execute trajectory?')
if c:
print('Executing the trajectory')
runCommandClient('robot.triggerTrajGen.sin.value = 1')
else:
print('Not executing the trajectory')
raw_input("Wait before dumping the data")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment