aligator  0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
expose-stage-data.cpp
Go to the documentation of this file.
1
7
8namespace aligator::python {
9
13
14 bp::register_ptr_to_python<shared_ptr<StageData>>();
15 StdVectorPythonVisitor<std::vector<shared_ptr<StageData>>, true>::expose(
16 "StdVec_StageData");
17
18 bp::class_<StageData>("StageData", "Data struct for StageModel objects.",
19 bp::init<const StageModel &>())
20 .def_readonly("cost_data", &StageData::cost_data)
21 .def_readwrite("dynamics_data", &StageData::dynamics_data)
22 .def_readwrite("constraint_data", &StageData::constraint_data);
23}
24
25} // namespace aligator::python
The Python bindings.
Definition blk-matrix.hpp:5
Data struct for stage models StageModelTpl.
Definition fwd.hpp:96
A stage in the control problem.
Definition fwd.hpp:93