waitForAngle

public final Command waitForAngle(Angle angle, Angle speed)

Returns a command that uses range and speed (specified in units per second) to estimate when the servo will reach the specified angle, and waits until that point.


public final Command waitForAngle(Angle angle, Double speed)

Returns a command that uses speed to estimate when the servo will reach the specified angle, and waits until that point.