waitForPosition

public final Command waitForPosition(Double position, Angle speed)

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


public final Command waitForPosition(Double position, Double speed)

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