Class RotationMovement

  • All Implemented Interfaces:
    crackers.kobots.parts.movement.Movement

    
    public class RotationMovement
     implements Movement
                        

    Describes where to go as a rotational angle. A stopCheck function may also be supplied to terminate movement prior to reaching the desired angle. An Actuator may or may not be limited in its range of motion, so the angle should be tailored to fit.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getAngle()
      Function0<Boolean> getStopCheck() Returns true if the movement should be stopped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait