goToAngle

public final Command goToAngle(Angle angle, Angle speed)

Returns a command that uses range and speed (specified in units per second) to go to the specified angle at the desired speed. Note that since there is no feedback from the servo, it may or may not actually achieve the desired speed.


public final Command goToAngle(Angle angle, Double speed)

Returns a command that goes to the specified angle at the desired speed. Note that since there is no feedback from the servo, it may or may not actually achieve the desired speed.