Coder Social home page Coder Social logo

humanoid's Introduction

Humanoid Locomotion

Rough Idea

  1. Given start and end position, generate sequence of footsteps
    • Footstep Planning on Uneven Terrain with Mixed-Integer Convex Optimization (Robin Deits and Russ Tedrake)
  2. Given sequence of footsteps, generate ZMP trajectory (HumanoidPlanner.py)
    • Whole-body Motion Planning with Centroidal Dynamics and Full Kinematics (Hongkai Dai, Andrés Valenzuela and Russ Tedrake)
  3. Given ZMP trajectory and footstep sequence, generate torque outputs (HumanoidController.py)
    • An Efficiently Solvable Quadratic Program for Stabilizing Dynamic Locomotion (Scott Kuindersma, Frank Permenter, and Russ Tedrake)
    • Roughly equivalent to InstantaneousQPController

Controller

Disturbance Rejection

  1. Run python3 HumanoidController.py
  • Formulate-Solve Time: 0.04s
  • 20s of simulation takes around 20mins to run

Disturbance

Planner (WIP)

python3 Planner.py
  • Takes around 40mins to solve
  • Not solved to optimum (some constraints may be violated / may not be physically feasible)
    SNOPTA EXIT  80 -- insufficient storage allocated
    SNOPTA INFO  83 -- not enough integer storage
    
  • Decapitated and dismembered to improve solve time...

Walking

Troubleshooting

Out of memory when building drake

In CMakeLists.txt, add --jobs 4 after ${BAZEL_TARGETS}

ExternalProject_Add(drake_cxx_python
  SOURCE_DIR "${PROJECT_SOURCE_DIR}"
  CONFIGURE_COMMAND :
  BUILD_COMMAND
    ${BAZEL_ENV}
    "${Bazel_EXECUTABLE}"
    ${BAZEL_STARTUP_ARGS}
    build
    ${BAZEL_ARGS}
    ${BAZEL_TARGETS}
    --jobs 4
  BUILD_IN_SOURCE ON
  BUILD_ALWAYS ON
  INSTALL_COMMAND
    ${BAZEL_ENV}
    "${Bazel_EXECUTABLE}"
    ${BAZEL_STARTUP_ARGS}
    run
    ${BAZEL_ARGS}
    ${BAZEL_TARGETS}
    --
    ${BAZEL_TARGETS_ARGS}
  USES_TERMINAL_BUILD ON
  USES_TERMINAL_INSTALL ON
)

Link error on std::filesystem calls

Error

error: undefined reference to 'std::filesystem::__cxx11::path::_M_find_extension() const'

Use gcc 7 instead of gcc 8

VTK problems when launching drake-visualizer

  • ModuleNotFoundError: No module named 'vtkCommonCorePython'
  • libvtkxxx.so: No such file or directory

In CMakeLists.txt, add --define="-DUSE_SYSTEM_VTK=OFF" after ${BAZEL_TARGETS}

humanoid's People

Contributors

rcywongaa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.