Exemple #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]]
Exemple #2
0
 def move(self, period):
   Motor.move(self, period)
     
   self.joint.axisRate = self.angularVelocity
   self.joint.maxForce = self.axisForces[0]
   
Exemple #3
0
 def move(self, period):
   Motor.move(self, period)
   
   self.joint.axisVelocity = self.linearVelocity
   self.joint.maxForce = self.axisForces[0]