diff --git a/test.asciidoc b/test.asciidoc new file mode 100644 index 0000000000000000000000000000000000000000..99398abf80bb1ea837d04e6a8dba947a9334169f --- /dev/null +++ b/test.asciidoc @@ -0,0 +1,58 @@ += 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