(self, action, control_mode=None)
Steps simulation.
Steps simulation.
Steps simulation .
def Step(self, action, control_mode=None):
    """Steps simulation."""
    if self._enable_action_filter:
      action = self._FilterAction(action)
    if control_mode==None:
      control_mode = self._motor_control_mode
    for i in range(self._action_repeat):
      proc_action = self.ProcessAction(action, i)
      self._StepInternal(proc_action, control_mode)
      self._step_counter += 1

    self._last_action = action
def Step ( self , action , control_mode = None ) : if self . _enable_action_filter : action = self . _FilterAction ( action ) if control_mode == None : control_mode = self . _motor_control_mode for i in range ( self . _action_repeat ) : proc_action = self . ProcessAction ( action , i ) self . _StepInternal ( proc_action , control_mode ) self . _step_counter += 1 self . _last_action = action