Skip to content

Code related to the computation of Performance Metrics during a walking on slope experiments

Notifications You must be signed in to change notification settings

eurobench/rrd_pi_slope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Walking on Slope - Performance Indicators

to be described

Copyright RRD

Installation

python3 is used.

Under Linux, a standard installation in a local environment is obtained using:

python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r src/pi_walk_slope/requirements.txt
pip install -e src/pi_walk_slope
#once done
deactivate

Usage

Under Linux, assuming the folder out is already created:

# focusing on the gait analysis
run_pi_gait test/input/subject_00_cond_5_run_00_gaitEvents.yaml out
# looking at the joint parameter as well
run_pi_joint test/input/subject_00_cond_5_run_00_gaitEvents.yaml test/input/subject_00_cond_5_run_00_jointAngles.csv out
# checking th emg file:
run_pi_emg test/input/subject_00_cond_5_run_00_emg.csv test/input/subject_00_cond_5_run_00_gaitEvents.yaml out
# combining the three
run_pi_walk_slope test/input/subject_00_cond_5_run_00_gaitEvents.yaml test/input/subject_00_cond_5_run_00_jointAngles.csv test/input/subject_00_cond_5_run_00_emg.csv out

Docker image

Build from source

(only tested under Linux)

Run the following command in order to create the docker image for this PI:

docker build . -t pi_walk_slope

Launch the docker image

Assuming test/input contains the input data, and that the directory out/ is already created, and will contain the PI output:

docker run --rm -v $PWD/test/input:/in -v $PWD/out:/out pi_walk_slope run_pi_walk_slope /in/subject_00_cond_5_run_00_gaitEvents.yaml /in/subject_00_cond_5_run_00_jointAngles.csv /in/subject_00_cond_5_run_00_emg.csv /out

Acknowledgements

rosin_logo

Supported by Eurobench - the European robotic platform for bipedal locomotion benchmarking. More information: Eurobench website

eu_flag

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement no. 779963.

The opinions and arguments expressed reflect only the author‘s view and reflect in no way the European Commission‘s opinions. The European Commission is not responsible for any use that may be made of the information it contains.

About

Code related to the computation of Performance Metrics during a walking on slope experiments

Resources

Stars

Watchers

Forks

Packages

No packages published