runFor

public final Command runFor(Double seconds, Double power)

Returns a command that runs the servo for a desired time.