Beispiel #1
0
 def move(self, period):
   Motor.move(self, period)
   
   self.linearJoint.axisVelocities = [self.linearVelocity[0],
     self.linearVelocity[1], 0]
   self.linearJoint.maxForce = [self.axisForces[0],
     self.axisForces[1], float("inf")]
     
   self.angularJoint.axisAngles = [0, 0, self.axisAngle]
   self.angularJoint.axisRates = [0, 0, self.angularVelocity]
   self.angularJoint.maxForce = [float("inf"), float("inf"),
     self.axisForces[2]]
Beispiel #2
0
 def move(self, period):
   Motor.move(self, period)
     
   self.joint.axisRate = self.angularVelocity
   self.joint.maxForce = self.axisForces[0]
   
Beispiel #3
0
 def move(self, period):
   Motor.move(self, period)
   
   self.joint.axisVelocity = self.linearVelocity
   self.joint.maxForce = self.axisForces[0]