|
@ -127,8 +127,9 @@ public class TubeTestTask extends TaskBase { |
|
|
|
|
|
|
|
|
// 摇匀 |
|
|
// 摇匀 |
|
|
private void shake( JsonNode stepNode ) { |
|
|
private void shake( JsonNode stepNode ) { |
|
|
|
|
|
int count = stepNode.get("count").asInt(); |
|
|
UfCmdSnippetExecutor.execute("SampleTestShakePrepare"); |
|
|
UfCmdSnippetExecutor.execute("SampleTestShakePrepare"); |
|
|
for ( int i=0; i<3; i++ ) { |
|
|
|
|
|
|
|
|
for ( int i=0; i<count; i++ ) { |
|
|
UfActuatorCmdExecutor.execute("MotorTubeShake","step_motor_easy_move_to", "60"); |
|
|
UfActuatorCmdExecutor.execute("MotorTubeShake","step_motor_easy_move_to", "60"); |
|
|
UfActuatorCmdExecutor.execute("MotorTubeShake","step_motor_easy_move_to", "120"); |
|
|
UfActuatorCmdExecutor.execute("MotorTubeShake","step_motor_easy_move_to", "120"); |
|
|
} |
|
|
} |
|
|