コード例 #1
0
 /// <summary>
 /// Represent the movement of a SINGLE actuator. timeout is how long the motion is expected to take (plus some) before the motion should be finished. If it isnt the motion should "fail" as something likely went wrong.
 /// </summary>
 /// <param name="timeout"></param>
 /// <param name="jointVal"></param>
 /// <param name="actuatorID"></param>
 public armCommand( double jointVal, armConstants.armActuatorID actuatorID)
 {
     target = jointVal;
     ID = actuatorID;
 }
コード例 #2
0
 /// <summary>
 /// Represent the movement of a SINGLE actuator. timeout is how long the motion is expected to take (plus some) before the motion should be finished. If it isnt the motion should "fail" as something likely went wrong.
 /// </summary>
 /// <param name="timeout"></param>
 /// <param name="jointVal"></param>
 /// <param name="actuatorID"></param>
 public armMovement(int timeout, double jointVal, armConstants.armActuatorID actuatorID)
 {
     waitTime = timeout;
     target = jointVal;
     ID = actuatorID;
 }