Пример #1
0
    def __str__(self):

        return '<%s ticks_per_cycle=%d>' % (WheeledVehicle.__str__(self),
                                            self.ticks_per_cycle)
Пример #2
0
    def computeVelocities(self, odometry):

        return WheeledVehicle.computeVelocities(self, odometry[0], odometry[1],
                                                odometry[2])
Пример #3
0
    def __init__(self):

        WheeledVehicle.__init__(self, 77, 165)

        self.ticks_per_cycle = 2000
Пример #4
0
    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
Пример #6
0
 def __init__(self):
     # d=155mm 
     WheeledVehicle.__init__(self, wheelRadiusMillimeters=77.5, halfAxleLengthMillimeters=190.5)
     previous_left_wheel = 0
     previous_right_wheel = 0
Пример #7
0
    def __init__(self):

        WheeledVehicle.__init__(self, 785, 178)

        self.ticks_per_cycle = 1000
Пример #8
0
 def __init__(self):
     
     WheeledVehicle.__init__(self, 77, 165)
     
     self.ticks_per_cycle = 2000
Пример #9
0
 def __str__(self):
     
     return '<%s ticks_per_cycle=%d>' % (WheeledVehicle.__str__(self), self.ticks_per_cycle)
Пример #10
0
 def computePoseChange(self, odometry):
     
     return WheeledVehicle.computePoseChange(self, odometry[0], odometry[1], odometry[2])
Пример #11
0
    def __init__(self):
        WheeledVehicle.__init__(
            self, 195 / 2, 381 /
            2)  # 195 - диаметр колеса робота, 381 - расстояние между колесами

        self.ticks_per_cycle = 2000
Пример #12
0
 def computePoseChange(self, timestamp, leftWheelOdometry,
                       rightWheelOdometry):
     return WheeledVehicle.computePoseChange(self, timestamp,
                                             leftWheelOdometry,
                                             rightWheelOdometry)
Пример #13
0
 def __init__(self):
     WheeledVehicle.__init__(self, 55, 1200)
Пример #14
0
    def __init__(self):

        WheeledVehicle.__init__(self, 38.1, 200)

        self.ticks_per_cycle = 1800