(self, action)
Moves forward in time one step. Calls the renderer if applicable.
Moves forward in time one step. Calls the renderer if applicable.
Moves forward in time one step . Calls the renderer if applicable .
def run_next(self, action):
        """Moves forward in time one step. Calls the renderer if applicable."""
        if self.render:
            super(ArmWorld, self).run_next(action)
        else:
            if action is not None:
                self.joint1.motorSpeed = action[0]
                self.joint2.motorSpeed = action[1]
            self.world.Step(1.0 / fwSettings.hz, fwSettings.velocityIterations,
                            fwSettings.positionIterations)
def run_next ( self , action ) : if self . render : super ( ArmWorld , self ) . run_next ( action ) else : if action is not None : self . joint1 . motorSpeed = action [ 0 ] self . joint2 . motorSpeed = action [ 1 ] self . world . Step ( 1.0 / fwSettings . hz , fwSettings . velocityIterations , fwSettings . positionIterations )