Go to the documentation of this file.
48 cost.noalias() = xd.transpose() *
_Qf_diag * xd;
50 cost.noalias() = xd.transpose() *
_Qf * xd;
63 cost[0] = xd.transpose() *
_S * xd -
_gamma;
virtual const OutputVector & getReferenceCached(int k) const=0
Eigen::DiagonalMatrix< double, -1 > _Qf_diag
void computeNonIntegralStateTerm(int k, const Eigen::Ref< const Eigen::VectorXd > &x_k, Eigen::Ref< Eigen::VectorXd > cost) const override
int getNonIntegralStateTermDimension(int k) const override
const ReferenceTrajectoryInterface * _x_ref
int getNonIntegralStateTermDimension(int k) const override
void computeNonIntegralStateTerm(int k, const Eigen::Ref< const Eigen::VectorXd > &x_k, Eigen::Ref< Eigen::VectorXd > cost) const override
Eigen::DiagonalMatrix< double, -1 > _S_diag
Eigen::DiagonalMatrix< double, -1 > _Qf_diag_sqrt
double normalize_theta(double theta)
normalize angle to interval [-pi, pi)
const ReferenceTrajectoryInterface * _x_ref
mpc_local_planner
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:35:06