|
Drake
|
A System which aggregates multiple instances of a UnitSystem system. More...
#include <drake/systems/n_ary_system.h>
Public Types | |
| template<typename ScalarType > | |
| using | StateVector = NAryState< typename UnitSystem::template StateVector< ScalarType > > |
| template<typename ScalarType > | |
| using | InputVector = NAryState< typename UnitSystem::template InputVector< ScalarType > > |
| template<typename ScalarType > | |
| using | OutputVector = NAryState< typename UnitSystem::template OutputVector< ScalarType > > |
Public Member Functions | |
| NArySystem () | |
| void | AddSystem (std::shared_ptr< UnitSystem > system) |
| Adds. More... | |
| template<typename ScalarType > | |
| StateVector< ScalarType > | dynamics (const ScalarType &time, const StateVector< ScalarType > &state, const InputVector< ScalarType > &input) const |
| template<typename ScalarType > | |
| OutputVector< ScalarType > | output (const ScalarType &time, const StateVector< ScalarType > &state, const InputVector< ScalarType > &input) const |
| bool | isTimeVarying () const |
| bool | isDirectFeedthrough () const |
| std::size_t | getNumStates () const |
| std::size_t | getNumInputs () const |
| std::size_t | getNumOutputs () const |
A System which aggregates multiple instances of a UnitSystem system.
The aggregate state, input, and output vectors are composed of the concatenation of the respective vectors of the component systems.
| using InputVector = NAryState< typename UnitSystem::template InputVector<ScalarType> > |
| using OutputVector = NAryState< typename UnitSystem::template OutputVector<ScalarType> > |
| using StateVector = NAryState< typename UnitSystem::template StateVector<ScalarType> > |
|
inline |
|
inline |
Adds.
| system | to the end of the NArySystem's list of UnitSystems. |
|
inline |

|
inline |

|
inline |

|
inline |

|
inline |
|
inline |
|
inline |
