Skip to content

v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Mar 22:51
· 6 commits to master since this release

ModernRoboticsBook v0.4.0

Diff since v0.3.0

Breaking changes

  • Dynamics functions renamed with algorithm suffixes: inverse_dynamics → inverse_dynamics_rnea, mass_matrix → mass_matrix_crba, forward_dynamics → forward_dynamics_crba
  • Source split into chapter files (no API change, but affects @autodocs page filters)

New algorithms

  • mass_matrix_crba / mass_matrix_crba! — Composite Rigid Body Algorithm (20x faster than textbook)
  • forward_dynamics_aba / forward_dynamics_aba! — Articulated Body Algorithm (1.4 μs, faster than Pinocchio C++)
  • forward_dynamics_crba / forward_dynamics_crba! — CRBA + RNEA + backslash solve

In-place variants (zero-allocation)

  • inverse_dynamics_rnea!, mass_matrix_crba!, forward_dynamics_aba!
  • forward_kinematics_body!, forward_kinematics_space!, jacobian_body!, jacobian_space!
  • velocity_quadratic_forces!, gravity_forces!, end_effector_forces!
  • forward_dynamics_crba!, forward_dynamics_rnea!

Performance

  • FK/Jacobian: ~3x faster than Pinocchio, zero allocations (in-place)
  • RNEA: 3.8 μs → 1.0 μs (in-place, zero allocs)
  • Mass matrix: 22 μs → 0.91 μs (CRBA in-place, zero allocs)
  • Forward dynamics: 34 μs → 1.4 μs (ABA in-place, zero allocs)
  • Textbook variants preserved: mass_matrix_rnea, forward_dynamics_rnea

Documentation

  • Scope and Design section explaining package positioning
  • Benchmarks page with Pinocchio and RigidBodyDynamics.jl comparison
  • Educational notes on CRBA, ABA, and backslash solve
  • Cross-validation against Pinocchio for FK, Jacobians, all dynamics functions

Testing & CI

  • Cross-validation against Pinocchio at 3 configurations
  • Zero-allocation regression tests for core helpers
  • Codecov token fix for protected branches