Step 1: Open Odin
When the following window appears select “New Protocol”
The next window will appear where a protocol name can be input. Type in the protocol name here, and select the “Other users may edit this Protocol” box if you wish to be able to share your data with others. Then click “OK”, then click “OK” on the ‘Codamotion ODIN Protocol’ window.
You will then see the following blank Odin document ready to create a new protocol.
Step 2: Acquisition Profile
The first step is to define what markers you are going to use, this is done within the acquisition profile tab. Right click on the writing “Acquisition Profile” in the protocol tree on the left-hand-side and then choose “Add New” from the drop down menu.
Name the Profile in the “Name:” box, then write some appropriate names for the markers you are going to use. Double click in the marker name box to start typing. Make sure that the “Record” box is ticked so that data for that marker will be selected. (The record box is ticked as default, you can un-tick boxes for those markers you do not wish to see).
Here you can set the sampling rate, recording time and set a start delay if you wish.
Step 3: Creating Layouts and View Definitions
It is important to create suitable layouts to display the markers and variables of interest.
It is a good idea to have a layout for Real Time and then separate layouts for post treatment. There will already be a layout (Layout 0.0) created. Expand the layouts option from the protocol to see this. Right click on the writing, and select “Edit” from the drop down menu.
The following window will then appear. Here you can name the Layout something meaningful. Then click “OK”.
In the real-time layout, it is useful to have the Marker Text displayed in a window, so that you can see if the markers are in view of the Coda Units. To add this to your layout, select the space on the document you wish to launch it to then double click on the “Marker Text” option in the protocol tree or right click and click “Launch”.
To see a 3D view of the markers of interest, you will need to configure a 3D view definition. From the View Definitions tab, expand the tree until the 3D Views title becomes visible. Right click on the writing and click “Add new” from the menu. Name the 3D view then select the tick box “Show CODA Units” so that you can see them in your 3D view. In the New 3D Panel column, Markers are added by default so there is no need to add anything here. If you were using virtual markers in the form of pointer landmarks or centroids you would add the RefPoint group to display these.
To see a stick figure diagram, you can add a joining diagram using the “plus” button in this window, or by using the “Stick Figure Joins” from the protocol tree menu. If you create the Joining diagram from the 3D View configuration window, you will see that it has been added to the 3D view definition. If you use the Stick Figure Diagram menu, then you will need to navigate back to the 3D view. In both instances, you need to select the “Visible” tick box to display the joining diagram.
In the Stick Figure Joins menu, use the “+” button to add a new join. Select the group (in this case it is a real marker so select Marker), then choose the joint which you wish to attach to the next join. Insert the next joint in the same way as the first (on the same line). Then click the “+” again to add the next join, the software assumes that you wish to carry on joining from the previous joint so automatically repeats the last joint.
You can change the colour of the stick figure by clicking on the coloured box, then selecting a different colour from the list.
Create a post treatment layout in the same way, add a 3D view and then later you can add an angle graph to this layout.
Step 4: Defining an Angle
From the main menu select “Calculations” >> “New Vector Angle..”
Give the angle a meaningful name in the Name box, then define the angle using the drop down boxes as shown below.
Then click “OK”. The angle will then appear in the Calculations section on the protocol tree.
Step 5: Creating a Graph
To display the angle that has just been created in a graph, a graph view definition must be defined. From the protocol tree, right click on the writing “Graphs” in the “View Definitions” section (Expand the section if you cannot see the “Graphs” option.
A Graph Definition window will appear where you can define the settings of your graph. Give the graph a name in the name window. Then use the “+” button in the “All Plots” window, to add variables to the plot.
Use the “+” button in the Ordinate window to populate the graph with a variable. Select the “VectorAngle” Group and then in the Channel select the name of the angle that you created previously. You can change the colour of the graph curve in this section too, as with the stick figure joins. Then click “OK”.
You will then see that the All Plots window is populated with some variables. In the options section at the bottom of the window, there are tick boxes to show values and time at the cursor, select these if you wish to see this information on the graph as you move the mouse over the curve. Then click “OK”.
Next, navigate to your Post Treatment layout and split the screen using the options in the top right corner. Select the New Panel so that the heading turns light blue, then select the graph that you just created from the protocol tree. Double click or right click and select launch to launch the graph into the new panel.
Select the New Panel so that the heading turns light blue, then select the graph that you just created from the protocol tree. Double click or right click and select launch to launch the graph into the new panel.
Now you are ready to connect to use your protocol to collect some data.