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

CoM Trajectory Generation from HMC #140

Draft
wants to merge 43 commits into
base: master
Choose a base branch
from

Commits on Mar 30, 2021

  1. [HMC] Import LinearTimeInvariantInvertedPendulum

    - Import implementation of LinearTimeInvariantInvertedPendulum from HMC2
    - Adapt to mc_rtc
    - Remove custom types
    - clang-format code
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    d573ecf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    496c915 View commit details
    Browse the repository at this point in the history
  3. LookupTable implementation (+test/benchmark)

    Adds a LookupTable implementation for convenient pre-computation,
    storing and access of heavy functions.
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    612bcdb View commit details
    Browse the repository at this point in the history
  4. [hmc] Import code related to short-term com trajectory

    - Import LinearControl systems used for generating short-term com
    trajectories
    - Replace openhrp eigen types with Eigen
    - Cleanup formatting and unused commented-out code
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    822c433 View commit details
    Browse the repository at this point in the history
  5. [HMC] Minimal running example of CoM trajectory generation

    - Import all necessary dependencies
    - Run HMC's sample generator.cpp as-is
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    ec4fc55 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b843e14 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    136e148 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7020de9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d69affc View commit details
    Browse the repository at this point in the history
  10. [HMC/LTVIP] Use LookupTable implementation

    Replace the old confusing and inaccurate implementation with the new
    generic LookupTable implementation:
    
    ```
    [info] Omega2         = 12.258312499999999
    [info] Original omega = 3.498714049475893
    [info] New      omega = 3.5033993502025997
    [info] Actual   omega = 3.5011872986174275
    [info] Original cosh  = 1.0003195295150686
    [info] New      cosh  = 1.0001534265107093
    [info] Actual   cosh  = 1.0001532328194729
    [info] Original sinh  = 0.02528163620591862 (previous code)
    [info] New      sinh  = 0.01751789259907999 (new lookup table implementation)
    [info] Actual   sinh  = 0.017506830645288594 (expected value)
    ```
    
    Note better accuracy could be achieved using a non-uniform distribution.
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    5d5163e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ff9b4e0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5485b13 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    813d8c7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3b624ea View commit details
    Browse the repository at this point in the history
  15. [HMC/test] Clean generator example (+bugfix)

    Bugfix: out-of-bounds access to array m_steps
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    388e508 View commit details
    Browse the repository at this point in the history
  16. [time_utils] Add stopwatch

    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    98e9e8f View commit details
    Browse the repository at this point in the history
  17. [HMC/samples] Sample controller generating and tracking CoM/ZMP Traje…

    …ctory
    
    Write a first simple example that:
    - Generates the CoM/ZMP trajectory (open-loop)
    - Tracks it with the LIPMStabilizer from Stephane
    - Adds GUI/live plot visualization
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    452f2ef View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a03ee7a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a2da964 View commit details
    Browse the repository at this point in the history
  20. [mc_log_ui] Display error when the log file is invalid

    If a log file contains one column or less, mc_log_ui would crash as it
    expects more entries to be available. This commit displays an error
    message instead.
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    b5d713c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0320d7f View commit details
    Browse the repository at this point in the history
  22. [HMC/samples] WIP change footsteps online

    Bug: Does not interpolate the reference ZMP trajectory
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    878337e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    3255f5b View commit details
    Browse the repository at this point in the history
  24. [HMC/generator] Discrete step logic implementation

    Implements helpers to handle the logic behind discrete reference
    provided as a step function:
    - Ensures that steps are ordered by time (using std::set)
    - Convenience to create steps, add step, find predecessors/successors
    - Implement efficient logic for sequentially exploiting footsteps in an
    online setting: removing old footsteps, updating the previous/next step,
    etc
    
    This leads to a more readable and safer implementation of the original
    generator class, and allows to cleanly change footsteps at any time.
    The sample state CoMTrajectoryGeneration has been updated accordingly.
    arntanguy committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    811ed48 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    a8596e1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    eed398f View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    aa221b6 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ca8aace View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    7de1e89 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6fe0ac1 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    b9f95a1 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    d1b46c8 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    578680e View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    58e70d4 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    268cdc8 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    2b29fc9 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    0eb3b77 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    4c84a3d View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    81f44d8 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    9b1bd15 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    9ecadaa View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    704ebd5 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    39396a4 View commit details
    Browse the repository at this point in the history