Git Product home page Git Product logo

abdelrahman-h-abdalla / jet-leg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orsoromeo/jet-leg

1.0 0.0 1.0 19.54 MB

This package computes the Improved Feasible Region. This is an intersection between the Feasible Region (Orsolino, 2020) and the Reachable Region (a 2D level area representing the CoM reachable workspace). The details are explained in this preprint:

Home Page: https://arxiv.org/abs/2011.07967

License: GNU Lesser General Public License v3.0

Python 98.57% CMake 1.43%
legged-robots locomotion feasibility motion-planning stability

jet-leg's Introduction

hyqgreen planning hyqgreen planning

Improved Feasible Region

This python library contains the code used for the computation of the feasibilty criteria in preprint. In here you can also find the code used to generate the figures and plots of the manuscript.

hyqgreen planning hyqgreen planning

What you can do with Jet-leg:

  • compute the Support region of legged robots as in Bretl. et al. 2008;
  • compute the Feasible region of legged robots as in Orsolino. et al. 2019 with the incorportation of the robot inertial effects as in Abdalla. et al. 2023;
  • compute the Reachable region as in Abdalla. et al. 2023;
  • compute force polytopes of legged robots given their URDF;
  • compare different leg designs and understand their consequences on the robot's balancing capabilities;
  • test various formulations of linear, convex or nonlinear trajectory optimization problems;

Dependencies

  • Numpy
  • PyYAML
  • Shapely
  • Pycddlib
  • Scipy
  • CVXOPT
  • Matplotlib
  • Pathos (multiprocessing)

The above dependencies can be installed for Python 3.5 with the following commands:

pip install --user numpy
pip install --user pyyaml
pip install --user shapely
pip install --user pycddlib
pip install --user scipy
pip install --user cvxopt==1.2.5
pip install --user matplotlib
pip install --user pathos==0.2.7

You can remove all --user arguments to install these Python modules system-wide.

Other dependencies:

after cloning remember to do in the jetleg folder:

git submodules update --init --recursive

Optional dependencies:

  • [rospkg]
pip install rospkg
  • Ipopt and its Python interface Pypi for the solution of large-scale nonlinear optimization problems
  • ffmpeg for the generation of Matplotlib animations
sudo apt-get install ffmpeg
  • unittest for testing of dependencies installation and for development

Testing the library

After completing the installation navigate to the examples folder:

Troubleshooting

  • if CVXOPT is not found even after trying the pip-installation, we then suggest to try install the version 1.1.4 of CVXOPT using Synaptic or to clone and install it manually after building.
  • IMPORTANTE NOTE: delete every previous installation of cvxopt that is in the system using locate cvxopt (after sudo updatedb)

See also

jet-leg's People

Contributors

stephane-caron avatar orsoromeo avatar

Stargazers

Chan avatar

Forkers

jhc1000

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.