MCPcopy Create free account
hub / github.com/cmower/optas / initial_configuration

Method initial_configuration

optas/builder.py:511–523  ·  view source on GitHub ↗

! Set initial configuration. @param name Name of model. @param init Initial configuration. If None is passed then this is assumed to be zero. @param time_deriv The time-deriviative required (i.e. position is 0, velocity is 1, etc.). The default is 0.

(
        self, name: str, init: Union[None, CasADiArrayType] = None, time_deriv: int = 0
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

__init__Method · 0.95
mainFunction · 0.95

Calls 2

get_model_stateMethod · 0.95

Tested by 1