withOvercurrent

Set the overcurrent threshold used for stall detection.

If this current is reached during a state where stalling is monitored, for the set duration set here, the actuator will auto-reset the motor.

Return

this

Parameters

current

the current which if exceeded will intervene. Default is 8A.

forTime

the time the current must be exceeded for to execute the reset. Useful for filtering out momentary spikes. Default is 2s.

See also