Motion Kernel
A real-time motion layer for robot and exoskeleton joints: firmware for the joint drive, a hard real-time core on the host, and a ROS 2 bridge, with one interface across drives.
Layers
| Layer | Runs on | Loop rate (target) | What it does |
|---|---|---|---|
| Drive firmware | The joint drive's microcontroller | 5–40 kHz | Current and torque control. Impedance command (position, velocity, stiffness, damping, feed-forward torque) with setpoint interpolation. Disturbance observer for external torque. Friction compensation. Local safety reflexes and passivity limits. |
| Real-time core | Linux with PREEMPT_RT; later Zephyr or a microcontroller | 1–4 kHz | Synchronous input and output across all drives on the bus. Cross-joint terms. Coordinated fault handling and stop. |
| Userspace and ROS 2 bridge | Linux | Set by the application | Host SDK and the ROS 2 interface. |
Hardware description
Each robot or exoskeleton is described in a devicetree-style file (.dtsi) with overlays per build: which drives sit on which bus, their node IDs and the joint each one moves. The same description is used to find, check and update every drive from one connection.
Buses and protocols
| Item | Plan |
|---|---|
| Bus | CAN FD first. Other buses: TBD. |
| Joint command | Impedance command as above, compatible with the widely used MIT-mode CAN command |
| Diagnostics and firmware updates | UDS (ISO 14229) over ISO-TP (ISO 15765-2) |
| Hardware description | Devicetree-style .dtsi plus overlays |
Supported drives
| Drive | Status |
|---|---|
| Apsis Motion Labs drives | In development. We plan to build our own drives on this kernel. |
| Actuators that accept the MIT-mode CAN command | Planned |
How we will test it
We will compare the kernel with a typical Python and ros2_control set-up on a one- or two-joint rig, and publish the method with the results.
| Measurement | What it shows |
|---|---|
| Loop timing jitter | How steady the control period is under load |
| Tracking error | How closely the joint follows a commanded trajectory |
| Maximum stable stiffness | The highest stiffness the joint holds without oscillating |
| Back-drive and interaction torque | The torque needed to move the joint from the output side |
| Coordinated stop | Time from a fault on one joint to all joints in their safe state |
| External-torque estimate | The kernel's sensorless estimate compared with a load cell |
Planned open release
The kernel, the drive interface specification, the observer and control framework, the SDK, the ROS 2 bridge and a simulation backend. Exact scope and licence: TBD.
Contact
For questions, see Apsis Motion Labs contact.