Commit 31c0a6e2 authored by JaehyunShim's avatar JaehyunShim
Browse files

[control] Added createData bindings

parent 408da91b
Pipeline #17316 failed with stage
in 27 minutes and 52 seconds
......@@ -40,6 +40,8 @@ void exposeControlParametrizationPolyOne() {
":param data: control-parametrization data\n"
":param t: normalized time in [0, 1]\n"
":param u: control parameters (dim control.nu)")
.def("createData", &ControlParametrizationModelPolyOne::createData, bp::args("self"),
"Create the poly-one data.")
.def<void (ControlParametrizationModelPolyOne::*)(const boost::shared_ptr<ControlParametrizationDataAbstract>&,
double, const Eigen::Ref<const Eigen::VectorXd>&) const>(
"params", &ControlParametrizationModelPolyOne::params, bp::args("self", "data", "t", "w"),
......
......@@ -43,6 +43,8 @@ void exposeControlParametrizationPolyTwoRK() {
":param data: poly-two-rk data\n"
":param t: normalized time in [0, 1]\n"
":param u: control parameters (dim control.nu)")
.def("createData", &ControlParametrizationModelPolyTwoRK::createData, bp::args("self"),
"Create the poly-two-rk data.")
.def<void (ControlParametrizationModelPolyTwoRK::*)(const boost::shared_ptr<ControlParametrizationDataAbstract>&,
double, const Eigen::Ref<const Eigen::VectorXd>&) const>(
"params", &ControlParametrizationModelPolyTwoRK::params, bp::args("self", "data", "t", "w"),
......
......@@ -39,6 +39,8 @@ void exposeControlParametrizationPolyZero() {
":param data: control-parametrization data\n"
":param t: normalized time in [0, 1]\n"
":param u: control parameters (dim control.nu)")
.def("createData", &ControlParametrizationModelPolyZero::createData, bp::args("self"),
"Create the poly-zero data.")
.def<void (ControlParametrizationModelPolyZero::*)(const boost::shared_ptr<ControlParametrizationDataAbstract>&,
double, const Eigen::Ref<const Eigen::VectorXd>&) const>(
"params", &ControlParametrizationModelPolyZero::params, bp::args("self", "data", "t", "u"),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment