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): m entries held, or Nc·m stacked, the move cost becoming ‖u − u_s‖²_R; None for u_s = 0. Without it the absolute form's R pulls 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: see positionTarget

positionTarget

the increment forms' cost on the input itself (F_0329), or None. Not accepted with an absolute prediction, where inputTarget with r is that cost

q

the output weights: one p×p for every step, or Np of them, step by step

r

the move weights: one m×m for every move, or Nc of them

terminal

the terminal cost, or None

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product