|
a |
|
b/arm_model/README.md |
|
|
1 |
Description |
|
|
2 |
--- |
|
|
3 |
|
|
|
4 |
This folder contains python scripts and Jupyter notebooks used for modeling and |
|
|
5 |
simulation of a simplified arm model, that is both kinematicaly and dynamically |
|
|
6 |
redundant. |
|
|
7 |
|
|
|
8 |
Dependencies |
|
|
9 |
--- |
|
|
10 |
|
|
|
11 |
The scripts are compatible with python 2. Dependencies can be installed through |
|
|
12 |
python package manager (pip). The following libraries were used in the project: |
|
|
13 |
|
|
|
14 |
- scipy (`pip install scipy`) |
|
|
15 |
- pydy (`pip install pydy`) |
|
|
16 |
- numpy (`pip install numpy`) |
|
|
17 |
- sympy (`pip install sympy`) |
|
|
18 |
- pandas (`pip install pandas`) |
|
|
19 |
- seaborn (`pip install seaborn`) |
|
|
20 |
- matplotlib (`pip install matplotlib`) |
|
|
21 |
- pycddlib (`pip install pycddlib`) |
|
|
22 |
- cython |
|
|
23 |
- tqdm (`pip install tqdm`) |
|
|
24 |
|
|
|
25 |
For the feasible muscle space analysis we use the command **convert** from |
|
|
26 |
imagemagic to collect the results and generate the .gif file. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
Demos |
|
|
30 |
--- |
|
|
31 |
|
|
|
32 |
The user can execute the *main.py* script and choose between the different case |
|
|
33 |
studies or use the interactive Jupyter notebooks (.ipynb) provided in the |
|
|
34 |
folder. Folder results contains the results that are generated by the scripts |
|
|
35 |
and the .html files are read only file based on the Jupyter notebooks. |
|
|
36 |
|
|
|
37 |
- [Arm Model](model.ipynb) presents a case study using muscle space |
|
|
38 |
projection to study the response of segmental level reflexes |
|
|
39 |
|
|
|
40 |
<!-- - [Muscle Space Projection](muscle_space_projection.ipynb) --> |
|
|
41 |
<!-- demonstrates muscle space projection in the context of segmental level --> |
|
|
42 |
<!-- (reflex) modeling --> |
|
|
43 |
|
|
|
44 |
- [Feasible Muscle Forces](feasible_muscle_forces.ipynb) uses |
|
|
45 |
task space projection to simulate a simple hand movement, where the feasible |
|
|
46 |
muscle forces that satisfy this task are calculated and analyzed |
|
|
47 |
|
|
|
48 |
- [Feasible Task Stiffness](feasible_task_stiffness.ipynb) calculates the |
|
|
49 |
feasible task stiffness of the simple arm model for an arbitrary movement |