Giter Club home page Giter Club logo

biomechanical-analysis-framework's Introduction

biomechanical-analysis-framework

The biomechanical-analysis-framework projects contains a set of C++ libraries that can be used to estimate a human kinematics and dynamics quantities.

Dependencies

The dependencies can be installed in two ways; the first one is via conda creating a conda environment running the following steps.

  • Clone the repo:

    git clone https://github.com/ami-iit/biomechanical-analysis-framework
    
  • Create the conda environment from file

     cd biomechanical-analysis-framework
     conda env create -n <conda-environment-name> --file ci_env.yml
    

The second option is to install the dependencies via robotology-superbuild, making sure to enable the following CMake options:

  • ROBOTOLOGY_ENABLE_DYNAMICS;
  • ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS;
  • ROBOTOLOGY_ENABLE_ICUB_HEAD;

Install

Clone the repo (if not already done to install the dependencies) and create a build directory

git clone https://github.com/ami-iit/biomechanical-analysis-framework
cd biomechanical-analysis-framework
mkdir build
cd build

Linux/macOS

From the build directory, configure the CMake project and install it in the build/install directory:

cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="./install" ..
make
make install

Once the installation is completed, append the following lines to your .bashrc:

BAF_INSTALL_DIR=<directory-where-you-downloaded-component_ifeel>element_wearable_sw/build/install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${BAF_INSTALL_DIR}/lib
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:${BAF_INSTALL_DIR}

⚠️ If on macOS, replace LD_LIBRARY_PATH with DYLD_LIBRARY_PATH in your .bash_profile

Windows

From the build directory, configure the CMake project and install it in the build/install directory as it follows:

cmake -G"Visual Studio 17 2022" .. 
cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="./install" .
cmake --build . --config Release --target INSTALL

⚠️ Change Visual Studio 17 2022 according to your installed version.

Once the installation is completed, update the following environment variables:

  • PATH
    Add <directory-where-you-downloaded-BAF>/build/install/bin

biomechanical-analysis-framework's People

Contributors

davidegorbani avatar gianlucamilani avatar giulioromualdi avatar lrapetti avatar riccardogrieco avatar traversaro avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

giulioromualdi

biomechanical-analysis-framework's Issues

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.