Title: Add B-splines and solve_flat_ocp to flatsys by murrayrm · Pull Request #763 · python-control/python-control · GitHub
Open Graph Title: Add B-splines and solve_flat_ocp to flatsys by murrayrm · Pull Request #763 · python-control/python-control
X Title: Add B-splines and solve_flat_ocp to flatsys by murrayrm · Pull Request #763 · python-control/python-control
Description: This PR extends the flatsys module to include two new elements: flatsys.BSplineFamily adds B-splines as a new type of basis for solving trajectory generation problems (within flatsys or optimal). flatsys.solve_flat_ocp() allows solution of optimal control problems for differentially flat systems with trajectory and terminal costs and constraints, mirroring the functionality of optimal.solve_ocp(). In the process of making these additions, a few other changes: The flatsys.BSplineFamily introduces the ability to have multi-variable basis functions (where each flat output uses a different basis function from a selected family). This is useful if you have a differentially flat system in which you would like to have different degrees for different variables. Fixed a bug in the computation of derivatives for the Bezier family of basis functions with rescaled final time, and implemented a final time rescaling for the polynomial family of basis functions. Added a more descriptive __repr__ for basis functions (show the family + information on attributes). New documentation (sphinx + docstring) and units tests for the added functionality.
Open Graph Description: This PR extends the flatsys module to include two new elements: flatsys.BSplineFamily adds B-splines as a new type of basis for solving trajectory generation problems (within flatsys or optimal)....
X Description: This PR extends the flatsys module to include two new elements: flatsys.BSplineFamily adds B-splines as a new type of basis for solving trajectory generation problems (within flatsys or optimal)....
Opengraph URL: https://github.com/python-control/python-control/pull/763
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f526fd93-5215-f4bd-cf96-e1ccd81e8155 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D41E:2FF976:216093:2E0B49:697BBAD5 |
| html-safe-nonce | 888f2cefa4d9c7c7ca50cabb7be7ea5b14c1cae5c3e05ee4e4d0f23f55e5e2a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDFFOjJGRjk3NjoyMTYwOTM6MkUwQjQ5OjY5N0JCQUQ1IiwidmlzaXRvcl9pZCI6IjY4MjcyOTI3NDU3NzQzODE3ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 193e7403cd440a1acbaab3e9d23239fff8645f944ae62272ea0a08ce81529951 |
| hovercard-subject-tag | pull_request:1034962269 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/763/files |
| twitter:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| og:image:alt | This PR extends the flatsys module to include two new elements: flatsys.BSplineFamily adds B-splines as a new type of basis for solving trajectory generation problems (within flatsys or optimal).... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab413746e1b95376981dfec4a04b2384a611b96affe802ee3ee6d752200afbb1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bea0e0f1995ab0bb7fa336572c353032cf897ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width