setDirection

public void setDirection(double setMultiplier)

This sets the direction/multiplier of the Encoder. Setting 1 or -1 will make the Encoder track forward or in reverse, respectively. Any multiple of either one will scale the Encoder's output by that amount.

Parameters

setMultiplier

the multiplier/direction to set