You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(axis): replace int64_t with int32_t in torque pipeline for Cortex-M4 efficiency
The torque values in the FFB pipeline are bounded to [-32767, 32767], making
int64_t unnecessary throughout. Replacing with int32_t matches the native
register width of the Cortex-M4 and avoids 64-bit software emulation overhead.
Functions updated: setFfbEffectTorque, updateTorque, applyTorqueSlewRateLimiter,
applySpeedLimiterTorque. Member ffbEffectTorque also reduced to int32_t.
No logic change.
0 commit comments