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:7aa2ecab-cec7-14c0-cbc3-60a30cf7ebff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7A8:2E134A:4CC37E:6855FE:697CF2B5 |
| html-safe-nonce | 37b9340ab2535f6fe5e01c46d76a5b689ffec14173c220297792c9b265918caf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0E4OjJFMTM0QTo0Q0MzN0U6Njg1NUZFOjY5N0NGMkI1IiwidmlzaXRvcl9pZCI6Ijg4MzY4MDc4MTUwMDAyODk5NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3187ad724cd45b192c160444dac9cb07496b6531a2eafdedbd827acf02d9f56b |
| 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 | 28e7ca4155534425a15f1dc5e08f1b68ec10cd34457a151b54350f3c41509ccd |
| 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 | a52bcabff335e5b06d23d036f06e742e55f85cd9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width