Module: stateData

Object that is to be used by an integrator. It’s basically an interface with only one method: the \(F\) function describing a dynamic model \(\dot X = F(X,t)\).


class StateData
#include <stateData.h>

state data class

Public Functions

StateData()
StateData(std::string inName, const Eigen::MatrixXd &newState)

class method

StateData(const StateData &inState)

class method

~StateData()
void setState(const Eigen::MatrixXd &newState)

class method

void propagateState(double dt)

class method

void setDerivative(const Eigen::MatrixXd &newDeriv)

class method

inline Eigen::MatrixXd getState() const

class method

inline Eigen::MatrixXd getStateDeriv() const

class method

inline std::string getName() const

class method

inline uint32_t getRowSize() const

class method

inline uint32_t getColumnSize() const

class method

inline bool isStateActive()

class method

inline void disable()

class method

inline void enable()

class method

void scaleState(double scaleFactor)

class method

StateData operator+(const StateData &operand)

class method

StateData operator*(double scaleFactor)

class method

Public Members

Eigen::MatrixXd state

[-] State value storage

Eigen::MatrixXd stateDeriv

[-] State derivative value storage

std::string stateName

[-] Name of the state

bool stateEnabled

[-] Flag indicating state is enabled

BSKLogger bskLogger

&#8212; BSK Logging