smooth_feedback
Control and estimation on Lie groups
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
smooth::feedback::MPCWeights< X, U > Struct Template Reference

Objective weights for MPC. More...

#include <mpc.hpp>

Public Attributes

Eigen::Matrix< double, Nx, Nx > Q = Eigen::Matrix<double, Nx, Nx>::Identity()
 Running state cost. More...
 
Eigen::Matrix< double, Nx, Nx > Qtf = Eigen::Matrix<double, Nx, Nx>::Identity()
 Final state cost. More...
 
Eigen::Matrix< double, Nu, Nu > R = Eigen::Matrix<double, Nu, Nu>::Identity()
 Running input cost. More...
 

Static Public Attributes

static constexpr auto Nx = Dof<X>
 
static constexpr auto Nu = Dof<U>
 

Detailed Description

template<LieGroup X, Manifold U>
struct smooth::feedback::MPCWeights< X, U >

Objective weights for MPC.

The MPC cost function is

\[ \int_{0}^{t_f} (x(t) \ominus x_{des}(t_f))^T Q (x(t) \ominus x_{des}(t)) + (u(t) \ominus u_{des})^T R (u(t) \ominus u_{des}(t)) \mathrm{d} t + (x(t_f) \ominus x_{des}(t_f))^T Q_{t_f} (x(t_f) \ominus x_{des}(t_f)) \]

Definition at line 345 of file mpc.hpp.

Member Data Documentation

◆ Nu

template<LieGroup X, Manifold U>
constexpr auto smooth::feedback::MPCWeights< X, U >::Nu = Dof<U>
staticconstexpr

Definition at line 348 of file mpc.hpp.

◆ Nx

template<LieGroup X, Manifold U>
constexpr auto smooth::feedback::MPCWeights< X, U >::Nx = Dof<X>
staticconstexpr

Definition at line 347 of file mpc.hpp.

◆ Q

template<LieGroup X, Manifold U>
Eigen::Matrix<double, Nx, Nx> smooth::feedback::MPCWeights< X, U >::Q = Eigen::Matrix<double, Nx, Nx>::Identity()

Running state cost.

Definition at line 351 of file mpc.hpp.

◆ Qtf

template<LieGroup X, Manifold U>
Eigen::Matrix<double, Nx, Nx> smooth::feedback::MPCWeights< X, U >::Qtf = Eigen::Matrix<double, Nx, Nx>::Identity()

Final state cost.

Definition at line 353 of file mpc.hpp.

◆ R

template<LieGroup X, Manifold U>
Eigen::Matrix<double, Nu, Nu> smooth::feedback::MPCWeights< X, U >::R = Eigen::Matrix<double, Nu, Nu>::Identity()

Running input cost.

Definition at line 355 of file mpc.hpp.


The documentation for this struct was generated from the following file: