cpp_robotics::OCPContinuousLinearDynamics
#include <ocp_dynamics.hpp>
Inherits from cpp_robotics::OCPDynamics
Public Functions
Name | |
---|---|
OCPContinuousLinearDynamics(const size_t nx, const size_t nu) | |
OCPContinuousLinearDynamics(const Eigen::MatrixXd & Acon, const Eigen::MatrixXd & Bcon, double dt) | |
void | set_continuous_dynamics(const Eigen::MatrixXd & Acon, const Eigen::MatrixXd & Bcon, double dt) |
virtual Eigen::VectorXd | eval(const Eigen::VectorXd & x, const Eigen::VectorXd & u) override |
virtual Eigen::MatrixXd | jacobian_x(const Eigen::VectorXd & x, const Eigen::VectorXd & u) override |
virtual Eigen::MatrixXd | jacobian_u(const Eigen::VectorXd & x, const Eigen::VectorXd & u) override |
Additional inherited members
Public Types inherited from cpp_robotics::OCPDynamics
Name | |
---|---|
using std::shared_ptr< OCPDynamics > | SharedPtr |
Public Functions inherited from cpp_robotics::OCPDynamics
Name | |
---|---|
OCPDynamics(size_t nx, size_t nu) | |
size_t | state_size() const |
size_t | input_size() const |
Public Attributes inherited from cpp_robotics::OCPDynamics
Name | |
---|---|
double | eps |
Public Functions Documentation
function OCPContinuousLinearDynamics
inline OCPContinuousLinearDynamics(
const size_t nx,
const size_t nu
)
function OCPContinuousLinearDynamics
inline OCPContinuousLinearDynamics(
const Eigen::MatrixXd & Acon,
const Eigen::MatrixXd & Bcon,
double dt
)
function set_continuous_dynamics
inline void set_continuous_dynamics(
const Eigen::MatrixXd & Acon,
const Eigen::MatrixXd & Bcon,
double dt
)
function eval
inline virtual Eigen::VectorXd eval(
const Eigen::VectorXd & x,
const Eigen::VectorXd & u
) override
Reimplements: cpp_robotics::OCPDynamics::eval
function jacobian_x
inline virtual Eigen::MatrixXd jacobian_x(
const Eigen::VectorXd & x,
const Eigen::VectorXd & u
) override
Reimplements: cpp_robotics::OCPDynamics::jacobian_x
function jacobian_u
inline virtual Eigen::MatrixXd jacobian_u(
const Eigen::VectorXd & x,
const Eigen::VectorXd & u
) override
Reimplements: cpp_robotics::OCPDynamics::jacobian_u
Updated on 2024-05-28 at 06:55:39 +0000