Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Balancing a variable-height inverted pendulum

License

Notifications You must be signed in to change notification settings

stephane-caron/vhip-balance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Balance using both ZMP and COM height variations

Source code for https://hal.archives-ouvertes.fr/hal-01590509/document

Installation

The following instructions were verified on various machines running Ubuntu 14.04 and 16.04.

  • Install OpenRAVE: here are instructions for Ubuntu 14.04 as well as for Ubuntu 16.04
  • Install Python and related dependencies: sudo apt-get install cython python python-dev python-pip python-scipy
  • Install Python packages: sudo pip install pycddlib quadprog
  • Install CasADi. Pre-compiled binaries are available, but I recommend you build it from source. When installing IPOPT, make sure to install the MA27 linear solver (ThirdParty/HSL folder).

You can then clone the repository and its submodule via:

git clone --recursive https://github.com/stephane-caron/3d-balance.git

Usage

Run the main script stepping.py, then call one of the two main functions:

  • edit() to switch to editor mode (moving the contact around, changing initial velocity, etc.)
  • go() to execute the motion from the current state.

You can also checkout the benchmarking script in the benchmark/ sub-folder. It was used to measure computation times reported in Section V of the paper.

Due to copyright, we cannot release the COLLADA model HRP4R.dae used to produce the accompanying video and paper illustrations. It is replaced by JVRC-1, which has the same kinematic chain.

About

Balancing a variable-height inverted pendulum

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages