Expand description
ยงfeatherstone
Featherstone articulated body dynamics solver.
O(n) forward/inverse dynamics for kinematic trees, with LCP contact solving and differentiable smooth contacts. MuJoCo-grade solver quality in a minimal, dependency-light Rust crate.
ยงAlgorithms
- ABA โ Articulated Body Algorithm: O(n) forward dynamics
- RNEA โ Recursive Newton-Euler: O(n) inverse dynamics, gravity compensation
- CRBA โ Composite Rigid Body Algorithm: mass matrix computation
- Forward Kinematics โ body transforms, velocities, Jacobians, CoM
- GJK/EPA โ convex collision detection
- LCP Solver โ Projected Gauss-Seidel with warm-starting
- Newton Solver โ quadratic-convergence contact solver for stacking
- Smooth Contacts โ differentiable contact forces for gradient-based optimization
- Integration โ semi-implicit Euler, RK4, Verlet, implicit, explicit
ยงUsage
use featherstone::prelude::*;Modulesยง
- aba
- Articulated Body Algorithm (ABA) โ O(n) Forward Dynamics
- body
- Articulated body tree data structure
- collider
- Collision geometry types for articulated body contact detection.
- contact
- Contact manifold for articulated body dynamics
- contact_
jacobian - Contact Jacobians and friction cone constraints
- crba
- Composite Rigid Body Algorithm (CRBA) โ Mass Matrix Computation.
- error
- Error types for the featherstone crate.
- gjk
- GJK (Gilbert-Johnson-Keerthi) distance algorithm and EPA (Expanding Polytope Algorithm).
- integrator
- Time integration methods for articulated body dynamics
- joint
- Generalized-coordinate joint types for articulated body dynamics
- kinematics
- Forward kinematics from generalized coordinates
- lcp_
solver - Projected Gauss-Seidel (PGS) solver for the contact LCP
- limits
- Joint limit constraints using MuJoCo-style spring-damper barriers
- newton_
solver - Newton contact solver โ quadratic convergence for MuJoCo-grade stacking
- prelude
- Commonly used types and functions.
- rnea
- Recursive Newton-Euler Algorithm (RNEA) โ O(n) Inverse Dynamics
- smooth_
contact - Smooth differentiable contact model (MuJoCo-style)
- spatial
- Spatial vector algebra for articulated body dynamics
- urdf_
convert - URDF/MJCF to ArticulatedBody conversion