Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Trajectory Optimization Using OSQP

For embedded applications we may want to use QP solvers with code generation such as OSQP. The particular form of the QP program it solves lends itself to LQ trajectory optimization problems with additional box constraints, e.g.

OSQP form

To coincide with the form of the QP program described in the documentation of OSQP we define a vector of decision variables for which the objective function contains the terms The constrains are then incorporated using