Sense, plan, estimate and control in stable no_std Rust in one integrated package, with no heap and no unsafe. Run the same code from your laptop to a Cortex-M4.

A simulated demo: A Franka Panda loaded from its MuJoCo model, on 1 kHz computed-torque control. It carries a payload that its model does not know about, also gets random pushes every 4 seconds. A momentum observer detects the pushes from the joint readings alone, and the hand holds its path. Open it in your browser.

What's new

  • Arm kinematics: kinematic trees, Jacobians with singularity checks, damped least-squares IK, and collision queries.
  • Arm dynamics: RNEA, CRBA and ABA, validated against Pinocchio.
  • Arm control: computed torque, joint and Cartesian impedance, and sensorless contact detection.
  • Motion and planning: trapezoid and S-curve profiles, A*, Theta*, RRT*, PRM and occupancy mapping, all with no heap.
  • MLP inference: run a learned policy straight from its flat weight buffer.
  • Model loading: multicalc-robot-model loads MJCF and URDF files, now on crates.io.

Still true, and still enforced by CI

  • Tested on real silicon. The Franka dynamics agree with Pinocchio to 1e-10 on a Cortex-M4F, a Cortex-M33 and an RV32IMC. The full arm tick takes 0.70 ms in f32 on a 100 MHz Cortex-M4F.
  • Six targets. x86_64 and aarch64 Linux hosts plus four bare-metal ABIs under QEMU.
  • Measured against external references. 183 checks against NumPy, SciPy, MuJoCo, Pinocchio, mpmath and FilterPy.

The community headline: 27 contributors so far, and 14 of them in this release. Thank you all!

Where it's headed: analytical IK for 6-DoF arms, LQR gains tuned by the exact gradient of a closed-loop rollout, and showcases for planning and MLP policies.

Come build it. 23 open good first issues right now, each small and self-contained. If you like embedded Rust, robotics, autodiff or numerical methods, I'd love the help.

1 post - 1 participant

Read full topic