Resolved the motor limit warnings by clamping the commands.