public interface Input extends LongSupplier
| Modifier and Type | Method and Description |
|---|---|
long |
getAsLong()
For the sake of efficiency, ActivityMotors that consume values from this interface should do a range check
after getting the value.
|
long |
getCurrent() |
AtomicLong |
getMax() |
AtomicLong |
getMin() |
AtomicLong getMin()
AtomicLong getMax()
long getCurrent()
long getAsLong()
getMax(), the motor should
take this as a signal to terminate gracefully with a log line indicating why.getAsLong in interface LongSupplierCopyright © 2016. All rights reserved.