GithubHelp home page GithubHelp logo

xdj0923 / tj_ustc_prosthesis_cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gemhou/tj_ustc_prosthesis_cpp

0.0 0.0 0.0 17.25 MB

TJ_USTC_Prosthesis_Cpp

CMake 0.84% C 1.14% C++ 96.96% Makefile 1.06%

tj_ustc_prosthesis_cpp's Introduction

TJ_USTC_Prosthesis_Cpp

TJ_USTC_Prosthesis_Cpp

Run

  1. modify the sensor input interface and motor output interface in line 109 and 142 of main.cpp.

  2. run main.cpp

Variables Meaning

    input_z_p_init_z: the "current gravity center height" minus the "initial upright gravity center height", unit: meters, positive direction: up
    input_vx: the vlocity in the forward dirction, unit: meters/second, positive direction: forward
    input_vz: the vlocity in the upward dirction, unit: meters/second, positive direction: up
    input_pitch: unit: radians, positive direction: forward
    input_prosthesis_hip_pos: unit: degree, positive direction: forward
    input_prosthesis_hip_vel: unit: degree/second, positive direction: forward
    input_prosthesis_knee_pos: unit: degree, positive direction: forward
    input_prosthesis_knee_vel: unit: degree/second, positive direction: forward
    input_prosthesis_ankle_pos: unit: degree, positive direction: up
    input_prosthesis_ankle_vel: unit: degree/second, positive direction: up
    input_healthy_hip_pos: unit: degree, positive direction: forward
    input_healthy_hip_vel: unit: degree/second, positive direction: forward
    input_healthy_knee_pos: unit: degree, positive direction: forward
    input_healthy_knee_vel: unit: degree/second, positive direction: forward
    input_healthy_ankle_pos: unit: degree, positive direction: up
    input_healthy_ankle_vel: unit: degree/second, positive direction: up
    input_prosthesis_feet_contact: 1: foot touching, 0: no touching
    input_healthy_feet_contact: 1: foot touching, 0: no touching

    output_prosthesis_knee_power: continuous change between -1~1, corresponds to 100% power forward and -100% backward of the motor
    output_prosthesis_ankle_power: continuous change between -1~1 , corresponds to 100% power forward and -100% backward of the motor

tj_ustc_prosthesis_cpp's People

Contributors

gemhou 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.