Пример #1
0
 public UArm(String port_name, bool isDebug, int delay)
 {
     arduino = new Arduino(port_name, 57600, delay, isDebug);
     init();
     this.isDebug = isDebug;
     if (true)
     {
         Console.WriteLine("ServoRot Offset: " + servoRotOffset);
         Console.WriteLine("ServoLeft Offset: " + servoLeftOffset);
         Console.WriteLine("ServoRight Offset: " + servoRightOffset);
         Console.WriteLine("ServoHandRot Offset: " + servoHandRotOffset);
         Console.WriteLine("servoRightLinearIntercept, servoRightLinearSlope: " + servoRightLinearIntercept + "," + servoRightLinearSlope);
         Console.WriteLine("servoLeftLinearIntercept, servoLeftLinearSlope: " + servoLeftLinearIntercept + "," + servoLeftLinearSlope);
         Console.WriteLine("servoRotLinearIntercept, servoRotLinearSlope: " + servoRotLinearIntercept + "," + servoRotLinearSlope);
         Console.WriteLine("servoHandRotLinearIntercept, servoHandRotLinearSlope: " + servoHandRotLinearIntercept + "," + servoHandRotLinearSlope);
     }
 }