コード例 #1
0
    def _init(self):
        AbstractHardware._init(self)

        # Number of steps for a full turn
        self.__encoderFullCircle = None

        # Moto max speed
        self.__maxSpeed = None

        # Used to memorize previous position while driving to position
        self.__drivePos = 0

        # Used to know if it's moving
        self.__firstMove = False

        # Usefull for first manual mode
        self.__firstJog = False
コード例 #2
0
    def _init(self):
        AbstractHardware._init(self)

        # Number of steps for a full turn
        self.__encoderFullCircle = None

        # Moto max speed
        self.__maxSpeed = None

        # Used to memorize previous position while driving to position
        self.__drivePos = 0

        # Used to know if it's moving
        self.__firstMove = False

        # Usefull for first manual mode
        self.__firstJog = False
コード例 #3
0
 def _init(self):
     AbstractHardware._init(self)
     self.__triggerLine = None
     self.__triggerLineInverted = None
コード例 #4
0
 def _init(self):
     AbstractHardware._init(self)
     self.__triggerLine = None
     self.__triggerLineInverted = None
コード例 #5
0
 def _init(self):
     AbstractHardware._init(self)
     self.__encoderFullCircle = None
コード例 #6
0
 def _init(self):
     AbstractHardware._init(self)
     self.__encoderFullCircle = None