(cls, model)
return cls(data)
A named constructor from a `wrapper.MjModel` instance.
A named constructor from a `wrapper.MjModel` instance.
A named constructor from a wrapper . MjModel instance .
def from_model(cls, model):
    """A named constructor from a `wrapper.MjModel` instance."""
    data = wrapper.MjData(model)
    return cls(data)
def from_model ( cls , model ) : data = wrapper . MjData ( model ) return cls ( data )