Abstract
Accurately quantifying the 3-D movement of limbless animals like snakes is critical for understanding biological locomotion and developing bio-inspired robotics. Standard geometric interpolation methods often fail to capture the continuous curvature and local orientation (roll) of the body, leading to physically implausible reconstructions. We present a physics-informed interpolation method that models the animal's body as a Kirchhoff elastic rod. By minimizing elastic potential energy between tracked markers using Lie group theory and iterative inverse kinematics, this approach reduces reconstruction errors by approximately 50% compared to cubic B-splines. The method achieves high precision (within 1.5 mm) and enables accurate estimation of body-terrain contact points during complex 3-D maneuvers.
Introduction
Quantifying how a snake or eel moves through complex 3-D terrain is a significant challenge in biomechanics. While discrete markers can be tracked on an animal's skin, they do not inherently capture the continuous shape or the local orientation about the longitudinal axis. Standard geometric methods, such as cubic B-splines, treat the body as a mathematical curve without considering mechanical properties, often resulting in unrealistic stretching or twisting. To understand how an animal generates force against obstacles or maintains stability, a reconstruction method must be both spatially accurate and physically plausible.
Methods
The proposed "physics-informed" technique combines elastic rod modeling with backbone optimization to reconstruct the animal's continuous shape.
- Elastic Rod Model: The body is modeled as a Kirchhoff elastic rod, accounting for bending (lateral and dorsoventral), twisting, shearing, and extension/compression.
- Backbone Optimization: The algorithm identifies the shape that minimizes the elastic potential energy of the rod, serving as a physical "prior" for interpolation.
- Lie Group Theory: To avoid mathematical singularities like gimbal lock, the authors utilized Lie group theory (SE(3) space) to represent 3-D positions and orientations robustly.
- Inverse Kinematics: The system iteratively adjusts the initial velocity and acceleration guesses until the resulting curve matches the constraints of tracked markers at both ends of a body segment.
Results and Validation
The method was validated using experiments with variable kingsnakes (Lampropeltis mexicana thayeri) traversing step obstacles. Ground truth data was extracted using high-speed video and image morphology to compare against the model across 122 trials.
- Error Reduction: The elastic rod method achieved a nearly 50% reduction in both position and orientation errors compared to standard cubic B-splines.
- High Precision: Average positional error was maintained within 1.5 mm (approximately 17% of the body diameter), even during large 3-D deformations.
- Contact Estimation: Improved accuracy allowed for precise estimation of body-terrain contact points, which is essential for calculating the "base of support" during climbing.
Discussion and Limitations
By using a physical model as a prior, the reconstruction naturally resists unrealistic deformations, bringing the results closer to biological reality. The use of Lie groups ensures robustness during complex coiling and large rotations. However, the method is computationally more expensive than geometric splines (2 seconds vs. 0.02 seconds per segment) and requires markers capable of providing 3-D orientation (e.g., ArUco tags).
Future work may involve incorporating active muscle forces and viscoelastic tissue properties into the model to move from a passive rod to an "active" biological model. The authors have released their MATLAB implementation on GitHub to support the biology and robotics research communities.
Summary updated