#TorsoHold01.sh - test HoldAngleWithMotor() function
0,StartLogging 
# X -6.1 -10.1 -6.0 1.0 1.1 0.8 
0,HoldAngleWithMotor(ETHACCELS_TORSO,0,0,2.0,-1,10,ETHMOTORS_LOWER_BODY,MOTOR_LEFT_LEG,3000,WAIT_STAGE)
0,HoldAngleWithMotor(ETHACCELS_TORSO,0,0,2.0,-1,10,ETHMOTORS_LOWER_BODY,MOTOR_RIGHT_LEG,3000,WAIT_STAGE)
# Z 3.8  0.9 4.4 3.0 2.7
#0,HoldAngleWithMotor(ETHACCELS_TORSO,0,2,-1.1,2.9,ETHMOTORS_LOWER_BODY,MOTOR_LEFT_SIDE,3000,WAIT_STAGE)
#0,HoldAngleWithMotor(ETHACCELS_TORSO,0,2,-1.1,2.9,ETHMOTORS_LOWER_BODY,MOTOR_RIGHT_SIDE,3000,WAIT_STAGE)

#0,HoldAngleWithMotor(ETHACCELS_TORSO,1,0,-42,-38,ETHMOTORS_UPPER_BODY,MOTOR_HEAD,1000,WAIT_STAGE)
#1,HoldAngleWithMotor(ETHACCELS_TORSO,1,0,-10,-7,ETHMOTORS_UPPER_BODY,MOTOR_HEAD,1000,WAIT_STAGE)
#2,HoldAngleWithMotor(ETHACCELS_TORSO,1,0,-42,-38,ETHMOTORS_UPPER_BODY,MOTOR_HEAD,1000,WAIT_STAGE)
#3,HoldAngleWithMotor(ETHACCELS_TORSO,1,0,-10,-7,ETHMOTORS_UPPER_BODY,MOTOR_HEAD,1000,WAIT_STAGE)
4,StopLogging
