Piecewise affine control to facet feedback controller
This source code implements a control-to-facet controller on a polytope.
Given an affine system doc/literature
.
The problem is worked out here and the source code is available here.
The visual representation of the polytope facets (including normals) and the trajectory exiting the desired facet can be seen in the picture.
- Open
control2facet.m
. - Set the vertices of the polytopes (triangle in this example).
- Set the normal vectors to the facets.
- Run
control2facet.m
.