MpcWeights
it.grypho.scala.leonardo.control.MpcWeights
final case class MpcWeights(q: Vector[_MatrixValue], r: Vector[_MatrixValue], terminal: Option[MpcTerminal] = ..., inputTarget: Option[Vector[Double]] = ..., positionTarget: Option[MpcPositionTarget] = ...)
The weights of an MPC programme (F_0304, F_0305; AIACE L_0007, L_0008).
Value parameters
- inputTarget
-
the absolute form's input target
u_s(F_0305):mentries held, orNc·mstacked, the move cost becoming‖u − u_s‖²_R;Noneforu_s = 0. Without it the absolute form'sRpulls the inputs towards zero, which offsets tracking whenever the steady input is not zero. Not accepted with an incremental or an accumulated prediction, whose moves are increments: seepositionTarget - positionTarget
-
the increment forms' cost on the input itself (F_0329), or
None. Not accepted with an absolute prediction, whereinputTargetwithris that cost - q
-
the output weights: one
p×pfor every step, orNpof them, step by step - r
-
the move weights: one
m×mfor every move, orNcof them - terminal
-
the terminal cost, or
None
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article