@@ -60,8 +60,7 @@ auto NewControlBoundConstraint = &createSharedPointer<ControlBoundConstraint, co
60
60
auto NewTrajectoryCost = &createSharedPointer<TrajectoryCost, const Eigen::MatrixXd&, const Eigen::VectorXd&>;
61
61
auto NewTargetCost = &createSharedPointer<TargetCost, const Eigen::MatrixXd&, const Eigen::VectorXd&>;
62
62
auto NewControlCost = &createSharedPointer<ControlCost, const Eigen::MatrixXd&, const Eigen::VectorXd&>;
63
- auto NewMixedTrajectoryCost = &createSharedPointer<MixedTrajectoryCost, const Eigen::MatrixXd&, const Eigen::MatrixXd&, const Eigen::VectorXd&>;
64
- auto NewMixedTargetCost = &createSharedPointer<MixedTargetCost, const Eigen::MatrixXd&, const Eigen::MatrixXd&, const Eigen::VectorXd&>;
63
+ auto NewMixedCost = &createSharedPointer<MixedCost, const Eigen::MatrixXd&, const Eigen::MatrixXd&, const Eigen::VectorXd&>;
65
64
} // namespace mpc
66
65
67
66
BOOST_PYTHON_MODULE (_mpc)
@@ -82,7 +81,7 @@ BOOST_PYTHON_MODULE(_mpc)
82
81
def (" NewTrajectoryCost" , NewTrajectoryCost, " Create a new instance of a TrajectoryCost shared_ptr" );
83
82
def (" NewTargetCost" , NewTargetCost, " Create a new instance of a TargetCost shared_ptr" );
84
83
def (" NewControlCost" , NewControlCost, " Create a new instance of a ControlCost shared_ptr" );
85
- def (" NewMixedCost" , MixedCost , " Create a new instance of a NewMixedCost shared_ptr" );
84
+ def (" NewMixedCost" , NewMixedCost , " Create a new instance of a NewMixedCost shared_ptr" );
86
85
87
86
enum_<SolverFlag>(" SolverFlag" , " Flags to qp solver" )
88
87
.value (" DEFAULT" , SolverFlag::DEFAULT)
0 commit comments