Data and code from: Faster fowl fall frequently: speed and force regulation during turning maneuvers by guinea fowl on high and low friction terrains
Data files
Apr 02, 2026 version files 425.46 MB
-
Dataset_1_Goldsmith_etal.csv
820.70 KB
-
ExportedData.zip
129.25 MB
-
FileNameList.xlsx
14.21 KB
-
IndividualMatFiles.zip
295.31 MB
-
MatlabCode.zip
32.48 KB
-
README.md
31.77 KB
Abstract
This repository contains MATLAB code and data files for analyzing the biomechanics of turning in guinea fowl (Numida meleagris) across high and low friction terrain conditions. The analysis investigates how birds modulate ground reaction forces, limb posture, and body center of mass dynamics during straight runs and turns on high-friction (control) and low-friction (slippery) surfaces. The files contain ground reaction forces, center of pressure, and body center of mass (CoM) trajectories from guinea fowl as they navigated straight and 90-degree turning runways, on high and low friction surfaces. The data and code are associated with the paper: “Faster fowl fall frequently: speed and force regulation during turning maneuvers by guinea fowl on high and low friction terrains”, and all the specific details of the methods are explained in further detail in that paper.
Guinea fowl turning biomechanics on high and low friction terrain
Data and code associated with the paper: "Faster fowl fall frequently: Speed and force regulation during turning maneuvers by guinea fowl on high and low friction terrains" Authors: Hannah Goldsmith, Jade Hall and Monica A Daley
J Exp Biol (2026) 229 (6): jeb250929. https://doi.org/10.1242/jeb.250929
*Author for correspondence: madaley@uci.edu
Overview
This repository contains MATLAB code and data files for analyzing the biomechanics of turning in guinea fowl (Numida meleagris) across high and low friction terrain conditions. The analysis investigates how birds modulate ground reaction forces, limb posture, and body center of mass dynamics during straight runs and turns on high-friction (control) and low-friction (slippery) surfaces.
Directory Structure
DataDryad/
├── README_public.md # This file
├── FileNameList.xlsx # Complete list of all trial file names
├── Dataset_1_Goldsmith_etal.csv # Dataset used for stats
├── IndividualMatFiles.zip/ # Pre-processed trial data
│ └── [YYYYMMDD]_[SubjectID]_[Condition]_[TrialNum].mat
├── ExportedData.zip/ # CSV trajectory data
│ ├── [YYYYMMDD]_[SubjectID]_[Condition]_[TrialNum]_Trajectories.csv
│ ├── [YYYYMMDD]_[SubjectID]_[Condition]_[TrialNum]_AnatCoord_Trajectories.csv
│ └── [YYYYMMDD]_[SubjectID]_[Condition]_[TrialNum]_StepTimes.csv
├── SavedResults/ # Output folder (created on first run)
│ ├── compiledResults.csv # Compiled raw per-step measures
│ ├── compiledResults_NormVars.csv # Compiled normalised per-step measures
│ ├── morphologyTable.csv # Subject morphometrics
│ ├── statsDataTable.mat # Full data table (all steps)
│ ├── statsDataTable.csv # Analysis-ready table (turning steps only)
│ └── LME_Analysis/ # Excel output from runLMEAnalysis
│ ├── LME_01_ModelComparison.xlsx
│ ├── LME_02_ANOVA_Table.xlsx
│ ├── LME_03_Coefficients_Table.xlsx
│ └── LME_04_Pairwise_Table.xlsx
└── MatlabCode.zip/ # Processing and analysis scripts
├── BriefProcessingNotes.m # Processing workflow overview (start here)
├── TurnExperiments_CompilePerStepMeasures.m # Compile and normalise per-step data
├── RunExample_LMEAnalysis_Turning.m # Main statistics script (uses runLMEAnalysis)
├── runLMEAnalysis.m # Generalised LME pipeline function
├── TurningData_PlotForceTraces.m # Average force trajectory figures
├── ForcePlateData_PerStepMeasures.m # Per-step measure calculation (documentation)
├── ForcePlateData_BatchExportTrajectories.m # Export trajectories to CSV
└── AveData.m # Mean and 95% CI of trajectory waveforms
Data Files
File Naming Convention
Individual trial files follow the naming pattern:
[Date]_[SubjectID]_[Condition]_[TrialNumber].mat
Example: 20180124_WWW_CTR_004.mat
| Component | Format | Description |
|---|---|---|
| Date | YYYYMMDD | Recording date (e.g., 20180124 = January 24, 2018) |
| SubjectID | XXX | Three-letter bird identifier (e.g., WWW, YGB, GGG) |
| Condition | XXX | Experimental condition code (see below) |
| TrialNumber | ### | Sequential trial number for that bird |
Experimental Conditions
| Code | Full Name | Description |
|---|---|---|
| CTR | Control Turn Right | Right turn on high-friction (control) terrain |
| STR | Slippery Turn Right | Right turn on low-friction (slippery) terrain |
| CCS | Control Straight | Straight running on high-friction terrain |
| SSS | Slippery Straight | Straight running on low-friction terrain |
Subject Information
Seven individual guinea fowl were used in this study:
| Subject ID | Hip Height (m) | Body Mass (kg) |
|---|---|---|
| GGG | 0.189 | 2.16 |
| GGY | 0.188 | 1.98 |
| GYR | 0.198 | 1.71 |
| WWW | 0.187 | 1.92 |
| YGB | 0.195 | 2.09 |
| YYB | 0.197 | 1.57 |
| YYY | 0.199 | 1.80 |
Data Selection
Trial numbers are not always sequential because a subset of the best 10 trials per individual per condition were selected based on inclusion/exclusion criteria described in the manuscript methods section. The complete list of analyzed files is provided in FileNameList.xlsx.
MAT File Contents
Each individual trial .mat file contains pre-processed (filtered, calibrated) data including:
- perStepMeasures: Matrix of per-step biomechanical measurements
- perStepHeaders: Column headers for perStepMeasures
- stepCycleStruct: Structure containing time-normalized trajectory data (3 × 100 × N steps), including:
force: Ground reaction force trajectoriescomPosition: Body center of mass position trajectoriescomVelocity: Body center of mass velocity trajectoriescomAcceleration: Body center of mass acceleration trajectoriescomHeading: Body center of mass velocity heading angle trajectorieslegLength: Virtual leg length (distance between center of pressure and CoM)sagLegAngle: Sagittal plane virtual leg angle trajectoriesfrontLegAngle: Frontal plane virtual leg angle trajectoriessagForceAngle: Sagittal plane force angle trajectoriesfrontForceAngle: Frontal plane force angle trajectories
- currentTrialStruct: Trial metadata
ExportedData Folder
The ExportedData/ folder contains high-frequency time-series trajectories exported to CSV as an archival format. Three CSV files are generated per trial.
ExportedData File Naming Convention
[YYYYMMDD]_[SubjectID]_[Condition]_[TrialNum]_Trajectories.csv
[YYYYMMDD]_[SubjectID]_[Condition]_[TrialNum]_AnatCoord_Trajectories.csv
[YYYYMMDD]_[SubjectID]_[Condition]_[TrialNum]_StepTimes.csv
The date, subject, condition, and trial number components follow the same conventions as the .mat files described above.
Trajectory File Columns (_Trajectories.csv)
High-frequency (800 Hz) force plate and kinematic trajectories in the lab coordinate frame. All values are in SI units (not normalised).
| Column | Units | Description |
|---|---|---|
time |
s | Time elapsed from trial start |
force_x |
N | Mediolateral ground reaction force (positive = left) |
force_y |
N | Fore-aft ground reaction force (positive = forward) |
force_z |
N | Vertical ground reaction force (positive = up) |
CoM_Sx |
m | Center of mass mediolateral position |
CoM_Sy |
m | Center of mass fore-aft position |
CoM_Sz |
m | Center of mass vertical position (above force plate surface) |
CoM_Vx |
m/s | Center of mass mediolateral velocity |
CoM_Vy |
m/s | Center of mass fore-aft velocity |
CoM_Vz |
m/s | Center of mass vertical velocity |
CoM_Ax |
m/s² | Center of mass mediolateral acceleration |
CoM_Ay |
m/s² | Center of mass fore-aft acceleration |
CoM_Az |
m/s² | Center of mass vertical acceleration |
CoP_x |
m | Center of pressure mediolateral position |
CoP_y |
m | Center of pressure fore-aft position |
CoP_z |
m | Center of pressure vertical position (= 0 at force plate surface) |
Anatomical Coordinate Trajectory File (_AnatCoord_Trajectories.csv)
Same 16 columns as _Trajectories.csv, but all data are rotated into an anatomical reference frame aligned with the subject's forward heading direction.
Step Times File (_StepTimes.csv)
| Column | Description |
|---|---|
stepIdx |
Sample index (row number in the trajectory files) at which each step begins |
stepTime_s |
Time (seconds) of each step initiation event |
Dataset_1_Goldsmith_etal.csv
This file contains the complete per-step biomechanical dataset used in the paper (figures and statistical analysis), compiled across all subjects, conditions, and trials. It is derived from compiledResults_NormVars.csv with the addition of a numerical condition index column. Most continuous variables are normalised into dimensionless quantities (see Normalisation section below).
Rows: One row per step across all 7 subjects × 4 conditions × 10 trials. Steps from all positions along the trackway are included (no exclusion filter applied).
Note on variable names: Some column names in this file differ from the variable names used in the analysis scripts. Mapping is provided in the table below.
Column Descriptions
Grouping and indexing variables
| Column | Description |
|---|---|
date |
Recording date in YYYYMMDD format |
subject |
Bird identifier (GGG, GGY, GYR, WWW, YGB, YYB, YYY) |
condition |
Experimental condition code (CCS, CTR, SSS, STR) |
condIndex |
Numerical condition index: 1 = CCS, 2 = CTR, 3 = SSS, 4 = STR |
trialNum |
Trial number |
stepNum |
Step number within trial |
Temporal variable
| Column | Normalisation | Description |
|---|---|---|
stepDur |
Dimensionless: ÷ √(hip_height / g) | Step duration |
Position variables (at step initiation)
| Column | Units/Normalisation | Description |
|---|---|---|
i_pos_x |
m (raw, un-normalised) | Mediolateral CoM position at step initiation |
i_pos_y |
m (raw, un-normalised) | Fore-aft CoM position at step initiation (distance along trackway from force plate origin). In the statistical analysis this raw value is used; steps with i_pos_y ≤ 1.5 m are classified as approach steps and excluded from the LME models. |
i_pos_z |
Dimensionless: ÷ hip_height | Vertical CoM position at step initiation |
d_pos_x |
Dimensionless: ÷ hip_height | Mediolateral CoM displacement during step |
d_pos_y |
Dimensionless: ÷ hip_height | Fore-aft CoM displacement during step |
d_pos_z |
Dimensionless: ÷ hip_height | Vertical CoM displacement during step |
Velocity variables
| Column | Normalisation | Description |
|---|---|---|
i_vel_x |
Dimensionless: ÷ √(g × hip_height) | Mediolateral CoM velocity at step initiation |
i_vel_y |
Dimensionless: ÷ √(g × hip_height) | Fore-aft CoM velocity at step initiation |
i_vel_z |
Dimensionless: ÷ √(g × hip_height) | Vertical CoM velocity at step initiation |
d_vel_x |
Dimensionless: ÷ √(g × hip_height) | Change in mediolateral CoM velocity during step |
d_vel_y |
Dimensionless: ÷ √(g × hip_height) | Change in fore-aft CoM velocity during step |
d_vel_z |
Dimensionless: ÷ √(g × hip_height) | Change in vertical CoM velocity during step |
Heading variables
| Column | Units | Description |
|---|---|---|
i_heading |
degrees | CoM velocity heading direction at step initiation |
d_heading |
degrees | Change in CoM velocity heading direction during step (turning angle). Script name: d_heading |
Impulse variables
| Column | Normalisation | Description |
|---|---|---|
impulse_x |
Dimensionless: ÷ (body weight × √(hip_height / g)) | Mediolateral GRF impulse |
impulse_y |
Dimensionless (same) | Fore-aft GRF impulse |
impulse_z |
Dimensionless (same) | Vertical GRF impulse |
impulse_R |
Dimensionless (same) | Resultant GRF impulse magnitude |
Force variables (peak and minimum values)
All force variables are normalised by body weight (BW = mass × g).
| Column | Normalisation | Description |
|---|---|---|
Fmax_x |
Body weights (BW) | Peak mediolateral GRF |
Fmax_y |
BW | Peak fore-aft GRF |
Fmax_z |
BW | Peak vertical GRF |
Fmax_R |
BW | Peak resultant GRF magnitude |
Fmin_x |
BW | Minimum mediolateral GRF (may be negative) |
Fmin_y |
BW | Minimum fore-aft GRF |
Fmin_z |
BW | Minimum vertical GRF |
Fmin_R |
BW | Minimum resultant GRF magnitude |
Gait and speed variables
| Column | Normalisation | Script name | Description |
|---|---|---|---|
stepLength |
Dimensionless: ÷ hip_height | stepLength |
Step length |
speed (velMag) |
Dimensionless: ÷ √(g × hip_height) | velMag |
Speed magnitude at step initiation |
Virtual leg geometry (virtual leg = vector from center of pressure to CoM)
Angles are in degrees (raw, not normalised). Leg lengths are dimensionless (÷ hip_height).
| Column | Units | Script name | Description |
|---|---|---|---|
i_LL |
Dimensionless: ÷ hip_height | i_LL |
Virtual leg length at step initiation |
i_SLA |
degrees | i_SLA |
Virtual leg angle in the sagittal plane at step initiation |
i_FLA |
degrees | i_FLA |
Virtual leg angle in the frontal plane at step initiation |
m_LL |
Dimensionless: ÷ hip_height | m_LL |
Virtual leg length at mid-stance. In the statistical analysis, m_LL is further normalised to the median value of the CCS (control straight) condition. |
m_SLA |
degrees | m_SLA |
Virtual leg angle in the sagittal plane at mid-stance |
m_FLA |
degrees | m_FLA |
Virtual leg angle in the frontal plane at mid-stance |
i_SFA |
degrees | i_SFA |
GRF angle in the sagittal plane at step initiation |
i_FFA |
degrees | i_FFA |
GRF angle in the frontal plane at step initiation |
m_SFA |
degrees | m_SFA |
GRF angle in the sagittal plane at mid-stance |
m_FFA |
degrees | m_FFA |
GRF angle in the frontal plane at mid-stance |
Derived force ratio and mean force variables
| Column | Normalisation | Script name | Description | ||
|---|---|---|---|---|---|
FH:FV |
Dimensionless ratio | hrzToNormImpulse |
Ratio of mediolateral to vertical GRF impulse: √2 × | impulse_x | / impulse_z |
Fmean_H |
BW | hrzMnForce |
Mean horizontal GRF during step: FH:FV × impulse_z / stepDur | ||
Fmean_ML |
BW | mlMnForce |
Mean mediolateral GRF during step: impulse_x / stepDur | ||
Fmean_V |
BW | vertMnForce |
Mean vertical GRF during step: impulse_z / stepDur | ||
Fmean_R |
BW | resMnForce |
Mean resultant GRF during step: impulse_R / stepDur |
Normalisation
Data are normalised into dimensionless quantities following the conventions of McMahon & Chang (1990) and Daley & Birn-Jeffery (2018), using individual body mass, leg length (standing hip height), and gravitational acceleration (g = 9.81 m/s²).
| Quantity | Normalisation factor | Formula |
|---|---|---|
| Force | Body weight | mass × g |
| Velocity | Froude velocity | √(g × hip_height) |
| Length | Hip height | hip_height |
| Time | Pendular period | √(hip_height / g) |
| Impulse | Body weight × pendular period | (mass × g) × √(hip_height / g) |
| Energy | Body weight × hip height | (mass × g) × hip_height |
Normalisation is applied per individual using each bird's measured hip height and body mass (see Subject Information table above). The variable m_LL (mid-stance virtual leg length) receives an additional within-analysis normalisation: it is divided by the median m_LL value of the CCS (control straight) condition prior to LME modelling, so that values represent proportional change relative to the straight-running baseline.
Processing Workflow
The data processing pipeline follows this sequence (see BriefProcessingNotes.m):
Step 1: Calculate Per-Step Measures
Script: ForcePlateData_PerStepMeasures.m (Note: this step has already been run and the results saved into the shared .mat files. The script is provided as reference documentation of the variables calculated.)
Step 2: Compile Normalised Per-Step Measures
Script: TurnExperiments_CompilePerStepMeasures.m
- Compiles results into a data table with grouping variables (date, subject, condition, trial)
- Normalises data using dimensionless quantities based on individual morphometrics
- Calculates derived variables (horizontal-to-vertical force ratio, mean forces)
- Exports compiled results to
SavedResults/:compiledResults.csv— raw per-step measurescompiledResults_NormVars.csv— normalised measuresmorphologyTable.csv— subject morphometrics
Step 3: Statistical Analysis
Script: RunExample_LMEAnalysis_Turning.m (calls runLMEAnalysis.m)
This script:
- Loads
compiledResults_NormVars.csvandcompiledResults.csvfromSavedResults/ - Preprocesses the data table (categorical labels, m_LL normalisation, raw positional covariates)
- Saves
statsDataTable.mat(all steps) andstatsDataTable.csv(turning steps, i_pos_y > 1.5 m) - Calls
runLMEAnalysis.m, which performs:- Automatic LME model hierarchy construction and selection by AIC
- ANOVA F-statistics with Benjamini-Hochberg FDR correction
Post-hoc pairwise comparisons (Dunnett vs. CCS reference) - Export of four formatted Excel tables to
SavedResults/LME_Analysis/
FDR correction: FDR correction procedure is implemented based on the algorithm in Benjamini-Hochberg (1995). It is an internal helper function (fdrBH) within runLMEAnalysis.m.
Step 4 (Optional): Force Trajectory Figures
Script: TurningData_PlotForceTraces.m
Creates average force trajectory plots with 95% CI for representative individuals.
Step 5 (Optional): Export CSV Trajectories
Script: ForcePlateData_BatchExportTrajectories.m
Batch-converts .mat files to CSV trajectory files in ExportedData/.
Dependent Variables Analyzed
The statistical analysis examines 12 biomechanical variables based on hypotheses proposed in the associated paper:
| Variable (script name) | Units | Description |
|---|---|---|
velMag |
Dimensionless | Speed magnitude at step initiation (speed (velMag) in Dataset_1) |
d_heading |
degrees | Change in heading direction (turning angle) |
impulse_x |
Dimensionless | Mediolateral GRF impulse |
mlMnForce |
BW | Mean mediolateral GRF (Fmean_ML in Dataset_1) |
resMnForce |
BW | Mean resultant GRF (Fmean_R in Dataset_1) |
Fmax_R |
BW | Peak resultant GRF |
hrzToNormImpulse |
Dimensionless | Mediolateral:vertical impulse ratio (FH:FV in Dataset_1) |
stepDur |
Dimensionless | Step duration |
stepLength |
Dimensionless | Step length |
i_SLA |
degrees | Virtual leg angle in sagittal plane at step initiation |
m_LL |
Dimensionless | Virtual leg length at mid-stance (normalised to CCS median) |
m_FLA |
degrees | Virtual leg angle in frontal plane at mid-stance |
Statistical Methods
Linear Mixed Effects Models
The analysis uses linear mixed effects models of the form:
DependentVariable ~ 1 + condition + condition*i_pos_y + (condition:trialNum|subject)
Where:
condition: Terrain-task condition (categorical: CCS, CTR, SSS, STR)i_pos_y: CoM fore-aft position at step initiation (continuous covariate; raw, un-normalised meters)subject: Random intercept for individual birdcondition:trialNum: Random slope for condition-by-trial interaction within subject
Model Selection
A hierarchy of four models is compared automatically using runLMEAnalysis.m:
| Model | Formula | |
|---|---|---|
| 1 (null) | `~ 1 + (1 | subject)` |
| 2 | `~ 1 + condition + (1 | subject)` |
| 3 | `~ 1 + condition + condition*i_pos_y + (1 | subject)` |
| 4 (full) | `~ 1 + condition + condition*i_pos_y + (condition:trialNum | subject)` |
The model with the lowest modal AIC across all 12 dependent variables is selected.
Multiple Comparison Correction
Benjamini-Hochberg (1995) FDR correction is applied to:
- ANOVA p-values (pooled across all terms and variables)
- Post-hoc pairwise comparison p-values (Dunnett's method, CCS reference)
The FDR threshold is q = 0.05. The correction is implemented as the fdrBH internal function in runLMEAnalysis.m — implementation of the algorithm published in Benjamini, Y. & Hochberg, Y. (1995).
Code Dependencies
MATLAB Version
Developed and tested in MATLAB. Requires the Statistics and Machine Learning Toolbox. TurningData_PlotForceTraces.m additionally requires the Curve Fitting Toolbox.
Built-in MATLAB Functions Required
fitlme— Linear mixed-effects model fittinganova— Analysis of variance on LME modelanovan— N-way ANOVA (for pairwise comparisons on residuals)multcompare— Multiple comparison tests (Dunnett method)grp2idx— Convert grouping variable to indicescategorical— Create categorical arraysreadtable,writetable,writecell— Table and cell I/OprepareCurveData,fit— Curve fitting (Curve Fitting Toolbox;TurningData_PlotForceTraces.monly)
Custom Functions Included in MatlabCode/
| Function | Description |
|---|---|
runLMEAnalysis.m |
Generalised LME pipeline: model selection, FDR-corrected ANOVA, pairwise comparisons, Excel output |
RunExample_LMEAnalysis_Turning.m |
Main statistics script; calls runLMEAnalysis.m for this dataset |
AveData.m |
Calculates mean and 95% confidence intervals of trajectory waveforms |
ForcePlateData_BatchExportTrajectories.m |
Batch-exports .mat data to CSV trajectory files |
Running the Analysis
Quick Start
All scripts automatically detect the repository root from their own file location using mfilename('fullpath'), so no path configuration is required.
- Open MATLAB
- Run the processing sequence in order (see
BriefProcessingNotes.m):
% Step 2: Compile normalised per-step measures
TurnExperiments_CompilePerStepMeasures
% Step 3: Run LME statistical analysis
RunExample_LMEAnalysis_Turning
% Step 4 (optional): Generate force trajectory plots
TurningData_PlotForceTraces
All scripts can be run from any working directory.
Output Files
All output files are written to the SavedResults/ folder at the repository root, which is created automatically on the first run.
From TurnExperiments_CompilePerStepMeasures:
compiledResults.csvcompiledResults_NormVars.csvmorphologyTable.csv
From RunExample_LMEAnalysis_Turning:
statsDataTable.mat(all steps)statsDataTable.csv(turning steps only)LME_Analysis/LME_01_ModelComparison.xlsxLME_Analysis/LME_02_ANOVA_Table.xlsxLME_Analysis/LME_03_Coefficients_Table.xlsxLME_Analysis/LME_04_Pairwise_Table.xlsx
From TurningData_PlotForceTraces:
ForceTrajectory_[SubjectID].pdf
License
All custom MATLAB code in this repository (including runLMEAnalysis.m, RunExample_LMEAnalysis_Turning.m, AveData.m, and helper functions) is released under the CC0 1.0 Universal public domain dedication: https://creativecommons.org/publicdomain/zero/1.0/
The Benjamini-Hochberg FDR correction (fdrBH internal function in runLMEAnalysis.m) is an implementation of the algorithm published in: Benjamini, Y. & Hochberg, Y. (1995). J. R. Stat. Soc. Ser. B, 57(1), 289–300.
Citation
Please cite the associated manuscript when using this data or code:
Goldsmith, H., Hall, J., & Daley, M. A. (2026). Faster fowl fall frequently: Speed and force regulation during turning maneuvers by guinea fowl on high and low friction terrains. Journal of Experimental Biology, jeb-250929. https://doi.org/10.1242/jeb.250929
Contact: For questions regarding this dataset or code, please contact the corresponding author Monica Daley (madaley@uci.edu).
[These methods are from the associated manuscript, therefore references to tables, figures and supplemental information are for the associated manuscript. However, the dataset and code here fully reproduces the statistical analysis described. See the README file]
Animals and training: Seven helmeted guinea fowl (Numida meleagris, 4 males, 3 females) were used in this study, which were hatched and reared at the Royal Veterinary College (RVC). Sample size is based on effect size estimates from previous studies on ostriches turning and guinea fowl on slippery terrain (Jindrich et al. 2007; Clark and Higham 2011). Eight birds were initially trained, but one animal was excluded from the analysis because it refused to cross slippery terrain and therefore had an incomplete dataset. At the time of testing, the guinea fowl were 4 years old with body mass 1.89 ± 0.21 kg and standing hip height 17.53 ± 2.38cm (mean ± s.d). Primary feathers were kept clipped to the length of the secondary feathers to prevent flying. Birds were housed as a group and tagged with colored cable ties on the distal tarsometatarsus for identification. Training and experimental data collection were conducted at the RVC and ethical approval was granted by the RVC Clinical Research Ethical Review Board (CRERB: Protocol # URN: 2017 1759-3 to M.A.D).
Terrain conditions and runway construction: We recorded trials on four runway conditions: straight and 90° turns, each with high- and low-friction surfaces. These four conditions were designated as control straight (CS), slippery straight (SS), control turns (CT) and slippery turns (ST). Low-friction terrain was created using smooth polypropylene sheeting, which was established by Clark and Higham to successfully elicit a substantial increase in slipping frequency in guinea fowl (Clark and Higham 2011). The control, higher friction substrate was gritted anti-skid paint specifically designed to increase traction. The runway arena was constructed from plywood, Rexroth metal rods and fittings, and transparent Perspex to allow camera views for high-speed video recordings. The runway was 1m high, designed to be higher than a guinea fowl’s typical maximal jumping height when not aided by flight (~0.8 m, Henry et al. 2005). The runway was constructed around an array of six 0.9m x 0.6m force plates (Kistler type 9287BA, Amherst, NY, United States), oriented with the long side spanning the width of the runway. The straight runway was 1m wide x 9m long, with a 3.6m section in the middle containing the six force plates. In the turning runway, a 90° turn occurred at the last 0.9m of the 3.6m section formed by the sequence of six force plates. The straight section after exiting the corner continued for 2.7m, forming an ‘L-shape’. In low friction, slippery terrain trials, the entire runway surface was covered with polypropylene sheeting cut to fit the space, with sections over the force plates cut to the exact dimensions of the force platform top plates. At each end of the runway, dark black boxes were adjoined to the runway arena, to allow rest, food and water between trials. The width of the turning runway was wide enough to allow the bird to select a range of paths and turn sharpness as part of its locomotor strategy. This design was intentional, to allow comparison of turning strategy between conditions, to explore how birds prioritize physical demands and performance trade-offs that emerge between speed, turning and terrain friction.
Two AOS high speed video cameras were positioned facing the runway (S-PRI, Technologies AG, Dättwil, Switzerland), aligned to capture sagittal plane kinematics as the bird ran from one end of the runway to the other. In the turning runway, the cameras were positioned at 90° angles, with overlapping views in the corner where turns were executed. Three infrared LED lamps illuminated the runway arena to ensure good video image quality.
Bird Training: Pilot testing trials were performed to acclimatize each bird to the laboratory environment and runway locomotion; however, the birds were not exposed to the turning or slippery terrain conditions before data collection. During training, birds were first allowed to rest in a dark box at the end of the runway with food and water. After a few minutes of quiet rest, a vertical sliding door was opened at the front of the box, and the bird encouraged (using waving, clapping and visual motion of looming objects) to run to the opposite end of the runway to another dark box. Once the bird reached the box at the opposite end of the runway, a sliding door was closed, and mealworms provided a positive food reward. The bird was then transferred to the starting box and allowed to rest for several minutes. Through this process, the birds learned to locomote continuously across the runway section to reach the resting boxes at either end.
Experimental protocol: The birds were exposed to repeated trials of four runway conditions; control straight (CS), slippery straight (SS), control turns (CT) and slippery turns (ST). Trials were collected over a 2-month period in the same sequence for each bird: CT, ST, SS, CS. Consistent sequencing among birds was selected in part for practical reasons because changing the runway configuration was very labor intensive. Considering that the control straight (CS) condition was collected last, there could be some carry over effects from exposure to the manipulated terrain conditions. However, this is expected to lead to conservative estimates for the differences between terrains.
Birds were brought in as pairs each testing day for companionship. While one bird completed trials, the other was placed in a carrier next to the box at the end of the runway to provide additional motivation to reach the resting box. Birds were placed in the starting black box and a small number of practice trials were performed for habituation, until the birds were able to move continuously across the runway from one box to the other. To begin each trial, the cover on the starting box was lifted and the gate was opened. Force and video were synchronously triggered to record for 10s as the bird emerged from the starting box. When the bird reached the end box it was shut, covered, and the bird was transferred back to the starting black box and left to recover for several minutes.
Inclusion & Exclusion Criteria: A successful trial was achieved when the bird was able to move continuously across the runway and remain within the runway without contacting the walls, and without excessive wing-flapping or jumping. Each bird varied in both its willingness to participate in continued trials and the consistency of behavior within trials. Trials were repeated until we collected at least 10 good continuous locomotion trials, but we stopped data collection if the bird became visibly tired, distressed or uncooperative. More than 10 trials were collected when possible, and in these cases, we recorded all trials but sampled a subset of 10 trials that were the most continuous and fast trials for that bird, without wall contact events. There were only two cases where we collected the minimum of 10 trials, both cases were with different individuals on two different runway conditions. For these cases, we could not institute any selective criteria, and all 10 trials were used.
Digitizing: High-speed video was recorded at 160fps. For each trial, we tracked the sagittal plane kinematics of the approximate body center of mass (CoM) along the initial running direction, using DLTdv5 digitizing program (Hedrick 2008), which runs in Matlab (Mathworks, Natick, Massachusetts). An initial estimate of the body CoM position was obtained by manually tracking a point on the body located approximately 50% along the dorso-ventral axis, and 40% along the cranial-caudal axis. This relative position of the guinea fowl body CoM was estimated using the suspension technique as described by Fedak and colleagues (Fedak et al. 1982). The digitized trials were calibrated and corrected for lens distortion and parallax by digitizing the corners of the six force plates that spanned the runway. The digitized body CoM position data were used to estimate the initial condition values (position and velocity) required to double-integrate acceleration from the force plate data to calculate CoM trajectory over time. These initial condition estimates were then refined using the path-match optimization algorithm that minimizes the drift over time of the kinematic versus force-plate derived estimate of CoM position over the course of the whole trial (Daley et al. 2006; Blum et al. 2014).
Videos were also manually tracked in ELAN software (version 5.2, 2018: https://archive.mpi.nl/tla/elan; Sloetjes and Wittenberg 2008) to identify slip, fall and collision events. A slip was defined as an event when the foot moved horizontally along the substrate while flat against the ground during midstance. A fall occurred when another body part, other than the foot, contacted the ground. A collision occurred when the body contacted a wall.
Data processing to calculate kinetics from ground reaction force data: Ground reaction force (GRF) and center of pressure (CoP) data were collected at a sampling frequency of 800Hz. All data processing was completed using custom scripts in Matlab (Mathworks, Natick, Massachusetts). Ground reaction force data were corrected for offset and drift by fitting a line to the baseline and subtracting this fitted line from the data. We then applied a 4th-order low pass recursive Butterworth filter with a cutoff frequency of 50Hz. To reduce the noise inherent in CoP data at low forces, the CoP trajectories were smoothed using a linear smoothing spline to remove unrealistic transients at the start and end of stance.
Trials were trimmed to correspond to the time-period that the bird was on the force plate array. We then calculated the body center of mass (CoM) velocity and position by double integrating the acceleration data, where acceleration was calculated by dividing ground reaction force by body mass (Cavagna 1975; Daley et al. 2006). Initial conditions for integration were found using the path match optimization technique initially described by Daley and colleagues (Daley et al. 2006). The path match optimization minimizes the sum of the squared error (SSE) between the kinematically estimated paths and the force-plate derived CoM paths, to avoid drift due to errors in the initial position and velocity estimates. The optimization function ‘fminsearch’ in Matlab was used to iteratively adjust the initial condition estimate to minimize the drift between the two trajectory estimates. This method allows within-stride deviations between the kinematic and force-plate derived trajectories. Deviations between these trajectories are expected because kinematic estimates are based on fixed anatomical landmarks, not the true CoM. The optimization minimizes the drift between the two trajectories over time, which results from error in initial condition estimates. We used the digitized kinematics for the fore-aft and vertical CoM trajectory estimates but used the smoothed CoP trajectory to estimate the medio-lateral initial conditions, because the video was only digitized for the sagittal plane. However, initial conditions for the medio-lateral direction are expected to be close to zero because the birds initially run in a straight line. Our final CoM trajectory calculations are based on the integrated 3D ground reaction forces, enabling us to measure changes in velocity heading in three dimensions over the course of the trial. We conducted a check on the maximum deviation between the kinematic and kinetic CoM trajectories and flagged any trials with a maximum deviation greater than 7cm. These trials typically involved instances where the bird's body touched a surface other than the force plate, and the trials were trimmed to analyze the section of the trial where no such instances occurred.
Step detection and variables measured: Before segmenting data into steps, the position, velocity, force and acceleration trajectories were converted from a lab reference frame into an anatomical reference frame based on the velocity heading, such that the fore-aft direction always corresponds to the current direction of travel at the start of each stance phase. Data were then segmented into step cycles using minimum detection on the fore-aft acceleration trajectory, which we found to be the best proxy for touchdown across both walking and running speeds. This touchdown proxy was cross-checked against step counts taken from the video data. We initially used automated peak detection using the ‘findpeaks’ function in Matlab, and then visually checked the peak detection through a user-interface that allowed iterative adjustment of the minimum peak prominence and minimum number of points between peaks until the algorithm detected a single fore-aft minimum per step.
Once the trials were segmented into step cycles, we measured the following variables at for the start and end of each step period: the position and velocity of the body CoM, the position of the foot center of pressure (CoP), and the effective length and angle of the virtual leg (calculated from the line connecting the body CoM to the foot CoP). From these measures, we were able to calculate initial conditions at the start of each step and the net change within each step, including the change in velocity magnitude and heading. We also measured step length, step duration, the force impulse in each direction, the minimum, maximum and mean force in each direction, the peak and mean magnitude of the resultant force vector (FR).
Statistical analysis: All variables were normalized to dimensionless quantities before statistical analysis, based on standing hip height, body mass and gravity, according to the conventions of McMahon and Chang (McMahon and Cheng 1990; Daley and Birn-Jeffery, 2018). This accounts for differences in variables associated with variation in body size, assuming geometric and dynamic similarity between individuals. Visual inspection of the CoM trajectories revealed that birds typically initiated the turn after they reached about 1.5 meters along the runway. We therefore focused the statistical analysis on steps occurring after this position. We used a linear mixed-effects ANOVA with terrain condition as a main fixed factor, and individual subject as a random factor. We compared multiple models of varying complexity, and evaluated the models based on AIC and total adjusted R-squared. The null hypothesis model included only individual as a random effect, Model 1 (null hypothesis): Y ~ 1+ (1|subject). The first comparison models included condition as a fixed categorical factor, Model 2: Y~ 1+ condition + (1|subject). The sharpest turning steps tended to occur near the end of the runway, so we tested a model that included a linear covariate of runway position (pos_y, the birds progression along the runway, measured at the start of each step) as an interaction term with terrain condition: Model 3: (Y~ 1+ condition + conditionpos_y + (1|subject)). Finally, we also tested for learning effects with repeated trials by including trial number as a term nested within condition by individual: Model 4: Y~ 1+ condition + conditionpos_y + (condition:trialNum|subject). Models were compared based on AIC and adjusted R-squared, which supported selection of Model 4 based on AIC and adjusted R-squared (Table S1). We calculated F-statistics for the effects of condition, runway position and its interaction and coefficient estimate with 95% confidence intervals (CI). We used False Discovery Rate (FDR) correction to calculate an adjusted p-value threshold to maintain a 5% false positive rate across all statistical tests (Benjamini and Hochberg 1995). The F-statistics and linear mixed effects model outputs are provided in Table S2 and Table S3. The mean and 95% CIs for variables in each terrain condition were calculated based on marginal means after accounting for individual random effects, reported in Table 1A. We calculated pairwise marginal mean differences (and 95% CIs) for CT, SS and ST compared to the CS reference using the Dunnett procedure (Table 1B). The random effects term of (condition:trialNum|subject) resulted in a coefficient for the change in the variable of interest as a function of trial number within each treatment terrains, where CS is the reference terrain. We consider this coefficient to represent a learning effect of how locomotion changed with practice with repeated exposure to terrain conditions. These coefficients are reported for each individual in Table S4 in the associated manuscript.
References:Blum, Y., Vejdani, H. R., Birn-Jeffery, A. V., Hubicki, C. M., Hurst, J. W. and Daley, M. A. (2014). Swing-leg trajectory of running guinea fowl suggests task-level priority of force regulation rather than disturbance rejection. PLoS ONE 9, e100399. https://doi.org/10.1371/journal.pone.0100399
Cavagna, G. A. (1975). Force platforms as ergometers. J. Appl. Physiol. 39, 174-179. https://doi.org/10.1152/jappl.1975.39.1.174
Clark, A. J. and Higham, T. E. (2011). Slipping, sliding and stability: locomotor strategies for overcoming low-friction surfaces. J. Exp. Biol. 214, 1369-1378. https://doi.org/10.1242/jeb.051136
Daley, M. A., Usherwood, J. R., Felix, G. and Biewener, A. A. (2006). Running over rough terrain: guinea fowl maintain dynamic stability despite a large unexpected change in substrate height. J. Exp. Biol. 209, 171-187. https://doi.org/10.1242/jeb.01986
Fedak, M. A., Heglund, N. C. and Taylor, C. R. (1982). Energetics and mechanics of terrestrial locomotion II. Kinetic energy changes of the limbs and body as a function of speed and body size in birds and mammals. J. Exp. Biol. 97, 23-40. https://doi.org/10.1242/jeb.97.1.23
Hedrick, T. L. (2008). Software techniques for two- and three-dimensional kinematic measurements of biological and biomimetic systems. Bioinspir. Biomim. 3, 034001. https://doi.org/10.1088/1748-3182/3/3/034001
Henry, H. T., Ellerby, D. J. and Marsh, R. L. (2005). Performance of guinea fowl Numida meleagris during jumping requires storage and release of elastic energy. J. Exp. Biol. 208, 3293-3302. https://doi.org/10.1242/jeb.01764
Jindrich, D. L., Smith, N. C., Jespers, K. and Wilson, A. M. (2007). Mechanics of cutting maneuvers by ostriches (Struthio camelus). J. Exp. Biol. 210, 1378-1390. https://doi.org/10.1242/jeb.001545
McMahon, T. A. and Cheng, G. C. (1990). The mechanics of running: how does stiffness couple with speed? J. Biomech. 23 Suppl. 1, 65-78. https://doi.org/10.1016/0021-9290(90)90042-2
Sloetjes, H. and Wittenburg, P. (2008). Annotation by category-ELAN and ISO DCR. In 6th international Conference on Language Resources and Evaluation (LREC 2008). https://archive.mpi.nl/tla/elan\
