Package crackers.kobots.parts.movement
Object LimitedRotator.Companion
-
- All Implemented Interfaces:
public class LimitedRotator.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static LimitedRotator.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final LimitedRotator
rotator(ServoDevice $self, IntRange physicalRange)
Create a LimitedRotator with a 1:1 ratio final LimitedRotator
rotator(ServoDevice $self, IntRange physicalRange, IntRange servoRange, Integer deltaDegrees)
Create a LimitedRotator based on a ServoRotator -
-
Method Detail
-
rotator
final LimitedRotator rotator(ServoDevice $self, IntRange physicalRange)
Create a LimitedRotator with a 1:1 ratio
-
rotator
final LimitedRotator rotator(ServoDevice $self, IntRange physicalRange, IntRange servoRange, Integer deltaDegrees)
Create a LimitedRotator based on a ServoRotator
-
-
-
-