Up to this point, it has been assumed that no actions are applied to
the mechanical system. This is the way the Euler-Lagrange equation
usually appears in physics because the goal is to predict motion,
rather than control it. Let
denote an action vector.
Actions can be applied to the Lagrangian formulation as
generalized forces that ``act'' on the right side of the
Euler-Lagrange equation. This results in
Steven M LaValle 2020-08-14