GithubHelp home page GithubHelp logo

maegant / deltarobustness Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.47 MB

algorithm to verify if hybrid periodic orbits are $\delta$-robust using discrete-time robust Lyapunov functions

MATLAB 2.00% M 0.01% C++ 98.00%

deltarobustness's Introduction

deltaRobustness

This repository includes the code to algorithmically check $\delta$-robustness, as well as its application towards validating $\delta$-robustness for a bipedal walking gait.

Setup

The periodic orbits were generated using a modification of the FROST Toolbox (Modified Toolbox, Original Toolbox). Therefore, the modified toolbox is imcluded in the repository since it is needed to run the simulation code.

git clone --recursive https://github.com/maegant/deltaRobustness.git

Frost Setup

To setup FROST, please follow the installation instructions on the FROST website (https://ayonga.github.io/frost-dev/pages/installation.html). This includes adding the following two lines to your ~/.bashrc (make sure to update the path with the version of Mathematica you have)

LD_LIBRARY_PATH=/usr/local/Wolfram/Mathematica/12.0/SystemFiles/Links/MathLink/DeveloperKit/Linux-x86-64/CompilerAdditions:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=/usr/local/Wolfram/Mathematica/12.0/SystemFiles/Links/WSTP/DeveloperKit/Linux-x86-64/CompilerAdditions:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

You can test if you've properly setup FROST by running the following initialization function in MATLAB

>> frost_addpath();

Main Script

To run the code, use the main_script.m script. I suggest running each section individually since some sections take several minutes to run and the figures may overwrite

Main Algorithm

The main implementation of the $\delta$-robustness optimization is contained within the @TestRobustness class in the function RunAlgorithm. Explicitly, the algorithm is as follows:

deltarobustness's People

Contributors

maegant avatar

Watchers

 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.