smooth_feedback
Control and estimation on Lie groups
|
Formulate optimal control problem as a nonlinear program. More...
#include <Eigen/Core>
#include <smooth/concepts/lie_group.hpp>
#include "collocation/mesh.hpp"
#include "collocation/mesh_function.hpp"
#include "nlp.hpp"
#include "ocp.hpp"
Go to the source code of this file.
Functions | |
template<diff::Type DT = diff::Type::Default> | |
auto | smooth::feedback::ocp_to_nlp (FlatOCPType auto &&ocp, MeshType auto &&mesh) -> detail::OCPNLP< std::decay_t< decltype(ocp)>, std::decay_t< decltype(mesh)>, DT > |
Formulate an OCP as a NLP using collocation on a Mesh. More... | |
auto | smooth::feedback::nlpsol_to_ocpsol (const FlatOCPType auto &ocp, const MeshType auto &mesh, const NLPSolution &nlp_sol) |
Convert nonlinear program solution to ocp solution. More... | |
NLPSolution | smooth::feedback::ocpsol_to_nlpsol (const FlatOCPType auto &ocp, const MeshType auto &mesh, const auto &ocpsol) |
Convert ocp solution to nonlinear program solution. More... | |
Formulate optimal control problem as a nonlinear program.
Definition in file ocp_to_nlp.hpp.
auto smooth::feedback::nlpsol_to_ocpsol | ( | const FlatOCPType auto & | ocp, |
const MeshType auto & | mesh, | ||
const NLPSolution & | nlp_sol | ||
) |
Convert nonlinear program solution to ocp solution.
Definition at line 442 of file ocp_to_nlp.hpp.
auto smooth::feedback::ocp_to_nlp | ( | FlatOCPType auto && | ocp, |
MeshType auto && | mesh | ||
) | -> detail::OCPNLP<std::decay_t<decltype(ocp)>, std::decay_t<decltype(mesh)>, DT> |
Formulate an OCP as a NLP using collocation on a Mesh.
ocp | Optimal control problem definition |
mesh | collocation point structure |
Definition at line 432 of file ocp_to_nlp.hpp.
NLPSolution smooth::feedback::ocpsol_to_nlpsol | ( | const FlatOCPType auto & | ocp, |
const MeshType auto & | mesh, | ||
const auto & | ocpsol | ||
) |
Convert ocp solution to nonlinear program solution.
Definition at line 515 of file ocp_to_nlp.hpp.