Overview of Newton Actuators
mainActuators in Newton are composable, vectorized implementations that read physics simulation state, compute effort (control law), and accumulate (scatter-add) that effort into control arrays. They are designed for efficiency in RL workflows and can be used with any simulator that provides the required state and control arrays.
Key Architecture Components:
- Delay (optional): Models communication/processing latency by delaying command inputs by N timesteps.
- Controller: Computes raw effort (e.g., PD, PID, or Neural Network) from simulator state and targets.
- Clamping: Applies post-controller limits (e.g., saturation, DC motor characteristics, or position-dependent limits). Multiple clamping stages can be stacked.
Pipeline per step:
Delay read $\rightarrow$ Controller $\rightarrow$ Clamping $\rightarrow$ Scatter-add $\rightarrow$ State updates (controller + delay write).