itaMotorNanotec.m 873 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
classdef itaMotorNanotec < itaHandle
    properties(Access = protected, Hidden = true)
       motorID = [];
       motorName = [];
%        mInUse = false;
       
       old_position        =   itaCoordinates(1);
       
       mIsReferenced = false;
       mIsInit = false;
Jan-Gerrit Richter's avatar
Jan-Gerrit Richter committed
11 12
       
       motorLimits = [];
13 14 15
    end
    
    properties
Jan-Gerrit Richter's avatar
Jan-Gerrit Richter committed
16
        
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    end
    
    methods(Abstract)
        % basic motor functions
        this = init(this);
        stop(this);
        active = isActive(this);
        setActive(this,value);
%         isInitialized(this);
        getStatus(this);
        getMotorID(this);
        getMotorName(this);
        % basic moves: requires execution to halt while something is moving
        this = moveToReferencePosition(this);
        this = startMoveToPosition(this);
        
        ret = prepareMove(this,position,varargin);
    end    
end