Skip to content
Snippets Groups Projects
Commit 96b7e22b authored by Martin Dobiasch's avatar Martin Dobiasch
Browse files

Add new file

parent 818eb6b3
No related branches found
No related tags found
No related merge requests found
= Calculating the Jump Height
Computing the jump height will be done in three steps:
* Computing the centres of mass of the body segments
* Computing the center of pressure (CoP)
* Determining the jump height
== First Steps
[IMPORTANT]
.Prerequesits
====
In this tutorial the digitisation of the videos has already been done. You can use the sample data provided in folder `XXXX`
====
Some words about how the video is digitised using Kinovea.
== Body Segments
For each segment ... calculate X coordinate for each time point using `data[x_segment]= ...`.
.tutorial.in
[source]
----
data[x_foot]= data[x_ankle] + 0.5 * (data[x_toe] - data[x_ankle])
data[y_foot]= data[y_ankle] + 0.5 * (data[y_toe] - data[y_ankle])
----
Some explanation of the formula.
The complete code for all our segments is now:
.formulas.txt
[source]
----
include::formulas_1_segments.txt
----
== Testing the formulas.
It is now time that we test our formulas by writing the description of our experiment.
For now we will tell the calculator to evaluate our formulas.
Doing so we can see whether we have made any mistakes.
.experiment.yaml
[source,yaml]
----
# define the steps to be performed in the experiment
steps:
- parse formulas.txt
----
* The first is a comment and will be ignored
* The second line tells the calculator that we will now specify the steps to be performed in our experiment
* The third line tells the calculator to parse the file formulas.txt
Some things to remember when writting an `experiment.yaml` file
* `steps` needs to be followed by a colon
* Ident the lines after steps with a space or a tab
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment