(self, physics)
return specs.BoundedArray(shape=action_spec.shape,
                              dtype=action_spec.dtype,
                              minimum=action_spec.minimum,
                              maximum=action_spec.maximum,
                              name='\t'.join(names))
Returns a `BoundedArray` spec matching the `Physics` actuators.

    BoundedArray.name should contain a tab-separated list of actuator names.
    When overloading this method, non-MuJoCo actuators should be added to the
    top of the list when possible, as a matter of convention.

    Args:
      physics: used to query actuator names in the model.
Returns a `BoundedArray` spec matching the `Physics` actuators.
Returns a BoundedArray spec matching the Physics actuators .
def action_spec(self, physics):
    """Returns a `BoundedArray` spec matching the `Physics` actuators.

    BoundedArray.name should contain a tab-separated list of actuator names.
    When overloading this method, non-MuJoCo actuators should be added to the
    top of the list when possible, as a matter of convention.

    Args:
      physics: used to query actuator names in the model.
    """
    names = [physics.model.id2name(i, 'actuator') or str(i)
             for i in range(physics.model.nu)]
    action_spec = mujoco.action_spec(physics)
    return specs.BoundedArray(shape=action_spec.shape,
                              dtype=action_spec.dtype,
                              minimum=action_spec.minimum,
                              maximum=action_spec.maximum,
                              name='\t'.join(names))
def action_spec ( self , physics ) : names = [ physics . model . id2name ( i , 'actuator' ) or str ( i ) for i in range ( physics . model . nu ) ] action_spec = mujoco . action_spec ( physics ) return specs . BoundedArray ( shape = action_spec . shape , dtype = action_spec . dtype , minimum = action_spec . minimum , maximum = action_spec . maximum , name = '\t' . join ( names ) )