virtual world challenge pack 中的基本运动
已有 1401 次阅读2018-7-7 06:45
task main()
{
float dist = 1200;
setMotorTarget(leftMotor, dist, 50);
setMotorTarget(rightMotor, dist, 50);
waitUntilMotorStop(leftMotor);
waitUntilMotorStop(rightMotor);
setMotorTarget(clawMotor, 200, 31);
waitUntilMotorStop(clawMotor);
setMotorTarget(armMotor, 600, 50);
waitUntilMotorStop(armMotor);
}