Example #1
0
    def __str__(self):

        return '<%s ticks_per_cycle=%d>' % (WheeledVehicle.__str__(self),
                                            self.ticks_per_cycle)
Example #2
0
    def computeVelocities(self, odometry):

        return WheeledVehicle.computeVelocities(self, odometry[0], odometry[1],
                                                odometry[2])
Example #3
0
    def __init__(self):

        WheeledVehicle.__init__(self, 77, 165)

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

        WheeledVehicle.__init__(self, 785, 178)

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

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

        WheeledVehicle.__init__(self, 38.1, 200)

        self.ticks_per_cycle = 1800