Drake
|
FeedbackSystem<System1,System2> More...
#include <drake/systems/feedback_system.h>
Public Types | |
template<typename ScalarType > | |
using | StateVector1 = typename System1::template StateVector< ScalarType > |
template<typename ScalarType > | |
using | StateVector2 = typename System2::template StateVector< ScalarType > |
template<typename ScalarType > | |
using | StateVector = typename CombinedVectorUtil< System1::template StateVector, System2::template StateVector >::template type< ScalarType > |
template<typename ScalarType > | |
using | InputVector = typename System1::template InputVector< ScalarType > |
template<typename ScalarType > | |
using | OutputVector = typename System1::template OutputVector< ScalarType > |
typedef CombinedVectorUtil< StateVector1, StateVector2 > | util |
typedef std::shared_ptr< System1 > | System1Ptr |
typedef std::shared_ptr< System2 > | System2Ptr |
Public Member Functions | |
FeedbackSystem (const System1Ptr &_sys1, const System2Ptr &_sys2) | |
template<typename ScalarType > | |
StateVector< ScalarType > | dynamics (const ScalarType &t, const StateVector< ScalarType > &x, const InputVector< ScalarType > &u) const |
template<typename ScalarType > | |
OutputVector< ScalarType > | output (const ScalarType &t, const StateVector< ScalarType > &x, const InputVector< ScalarType > &u) const |
bool | isTimeVarying () const |
bool | isDirectFeedthrough () const |
size_t | getNumStates () const |
size_t | getNumInputs () const |
size_t | getNumOutputs () const |
const System1Ptr & | getSys1 () const |
const System2Ptr & | getSys2 () const |
Friends | |
StateVector< double > | getInitialState (const FeedbackSystem< System1, System2 > &sys) |
FeedbackSystem<System1,System2>
Builds a new system from the feedback connection of two simpler systems
using InputVector = typename System1::template InputVector<ScalarType> |
using OutputVector = typename System1::template OutputVector<ScalarType> |
using StateVector = typename CombinedVectorUtil< System1::template StateVector, System2::template StateVector>::template type<ScalarType> |
using StateVector1 = typename System1::template StateVector<ScalarType> |
using StateVector2 = typename System2::template StateVector<ScalarType> |
typedef std::shared_ptr<System1> System1Ptr |
typedef std::shared_ptr<System2> System2Ptr |
typedef CombinedVectorUtil<StateVector1, StateVector2> util |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |