Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup package #2

Open
1 of 15 tasks
MaximilienNaveau opened this issue May 2, 2024 · 2 comments
Open
1 of 15 tasks

Cleanup package #2

MaximilienNaveau opened this issue May 2, 2024 · 2 comments
Assignees

Comments

@MaximilienNaveau
Copy link
Collaborator

MaximilienNaveau commented May 2, 2024

Split code into:

  • Create an interface to HPP as a simple Python class.

  • Buffer for the trajectory

    • Deal with buffering the output of hpp
  • Warm start interface

    • Interface from simple warm-start
    • Deal with delay between measurement and calculation
    • Learning
  • OCP class responsible of:

    • get_trajectory_horizon
    • Build crocco problem from horizon
    • solve(x0) the crocco problem
  • mpc:

    • Get trajectory point per point and buffer it.
    • call ocp.get_trajectory()
    • call ocp.build_problem
    • call ocp.solve
    • call ocp.extract_solution
  • agimus_controller_demo.py:

    • discretize and send points per points to mpc
    • logs
@MaximilienNaveau MaximilienNaveau changed the title Migrate OCP to an MPC Cleanup package May 29, 2024
@ArthurH91
Copy link
Collaborator

OCP and MPC with their demo scripts done here.

@MaximilienNaveau
Copy link
Collaborator Author

MaximilienNaveau commented Dec 2, 2024

In the coding week we decided to implement this pattern:
Image

We will try make a first pull request with non working code but an idea of the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants