예제 #1
0
        public void AddNewPoint(MeasurementModel left, MeasurementModel right)
        {
            MotorLeftValues.Add(left);
            MotorRightValues.Add(right);

            if (MotorLeftValues.Count > 120)
            {
                MotorLeftValues.RemoveAt(0);
            }
            if (MotorRightValues.Count > 120)
            {
                MotorRightValues.RemoveAt(0);
            }

            SetAxisLimits(DateTime.Now);
        }
 public void AddMotorSpeed(float left, float right)
 {
     MotorLeftValues.Add(left);
     MotorRightValues.Add(right);
 }