30 #ifndef EXOTICA_CARTPOLE_DYNAMICS_SOLVER_CARTPOLE_DYNAMICS_SOLVER_H_ 31 #define EXOTICA_CARTPOLE_DYNAMICS_SOLVER_CARTPOLE_DYNAMICS_SOLVER_H_ 36 #include <exotica_cartpole_dynamics_solver/cartpole_dynamics_solver_initializer.h> 78 #endif // EXOTICA_CARTPOLE_DYNAMICS_SOLVER_CARTPOLE_DYNAMICS_SOLVER_H_ Eigen::Tensor< double, 3 > fxx(const StateVector &x, const ControlVector &u) override
std::shared_ptr< Scene > ScenePtr
Eigen::MatrixXd fu(const StateVector &x, const ControlVector &u) override
Computes the dynamics derivative w.r.t .the control input u.
Eigen::Matrix< T, NU, 1 > ControlVector
void AssignScene(ScenePtr scene_in) override
double m_c_
!< Gravity (m/s^2)
double l_
!< Pole mass (kg)
Eigen::Tensor< double, 3 > fxu(const StateVector &x, const ControlVector &u) override
StateVector f(const StateVector &x, const ControlVector &u) override
Computes the forward dynamics of the system.
Eigen::MatrixXd fx(const StateVector &x, const ControlVector &u) override
Computes the dynamics derivative w.r.t .the state x.
double m_p_
!< Cart mass (kg)
Eigen::Matrix< T, NX, 1 > StateVector