/// <summary> /// Build an AxisPositionController object. /// /// </summary> /// <param name="axis">Axis controlled by this object</param> /// <param name="deviceController">Actual hardware controller</param> /// <param name="minusSlewRate">Slew rate to use when moving in the MINUS orientation</param> /// <param name="plusSlewRate">Slew rate to use when moving in the PLUS orientation</param> public AxisController(Axis axis, DeviceController deviceController, double minusSlewRate, double plusSlewRate) { this.traceLogger = new TraceLogger("", "ArduinoST4 AxisPositionController " + axis.ToString()); this.traceLogger.Enabled = true; this.axis = axis; this.deviceController = deviceController; this.minusSlewRate = minusSlewRate; this.plusSlewRate = plusSlewRate; this.axisMovementTracker = new AxisMovementTracker(); }
/// <summary> /// Build an AxisPositionController object. /// /// </summary> /// <param name="axis">Axis controlled by this object</param> /// <param name="deviceController">Actual hardware controller</param> /// <param name="minusSlewRate">Slew rate to use when moving in the MINUS orientation</param> /// <param name="plusSlewRate">Slew rate to use when moving in the PLUS orientation</param> public AxisController(Axis axis, DeviceController deviceController, double minusSlewRate, double plusSlewRate) { this.traceLogger = new TraceLogger("", "ArduinoST4 AxisPositionController " + axis.ToString()); this.traceLogger.Enabled = true; this.axis = axis; this.deviceController = deviceController; this.minusSlewRate = minusSlewRate; this.plusSlewRate = plusSlewRate; this.axisMovementTracker = new AxisMovementTracker(); }