Add optimization to flat systems trajectory generation by murrayrm · Pull Request #569 · python-control/python-control
added 7 commits
March 2, 2021 18:55This commit allows a cost function and constraints to be passed to the flatsys point_to_point() function and when present will use sp.optimize to find a trajectory. Preliminary unit tests, benchmarks, docstrings and documentation also in place. Switched the order of arguments in point_to_point() so that Tf (or timepts) now comes before the initial and final states, consistent with ordering elsewhere in the package. Make some small updates to optimal.py docstrings and argument names to make things consistent with flatsys.
This commit changes the way that cost functions and constraints are handled for flat system to carry out optimization only in the null space of the flat system basis coefficients, eliminating the use of an equality constraint for the terminal condition.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters