def __str__(self): return '<%s ticks_per_cycle=%d>' % (WheeledVehicle.__str__(self), self.ticks_per_cycle)
def computeVelocities(self, odometry): return WheeledVehicle.computeVelocities(self, odometry[0], odometry[1], odometry[2])
def __init__(self): WheeledVehicle.__init__(self, 77, 165) self.ticks_per_cycle = 2000
def computePoseChange(self, odometry): return WheeledVehicle.computePoseChange(self, odometry[0], odometry[1], odometry[2])
def __init__(self): WheeledVehicle.__init__(self, 100, 500) self.ticks_per_cycle = 2000
def __init__(self): # d=155mm WheeledVehicle.__init__(self, wheelRadiusMillimeters=77.5, halfAxleLengthMillimeters=190.5) previous_left_wheel = 0 previous_right_wheel = 0
def __init__(self): WheeledVehicle.__init__(self, 785, 178) self.ticks_per_cycle = 1000
def __init__(self): WheeledVehicle.__init__( self, 195 / 2, 381 / 2) # 195 - диаметр колеса робота, 381 - расстояние между колесами self.ticks_per_cycle = 2000
def computePoseChange(self, timestamp, leftWheelOdometry, rightWheelOdometry): return WheeledVehicle.computePoseChange(self, timestamp, leftWheelOdometry, rightWheelOdometry)
def __init__(self): WheeledVehicle.__init__(self, 55, 1200)
def __init__(self): WheeledVehicle.__init__(self, 38.1, 200) self.ticks_per_cycle = 1800