Class Position


  • @Deprecated(since="October 2020",
                forRemoval=true)
    public class Position
    extends java.lang.Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    DriveTrain position data
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double leftEncoder
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Gear leftShifter
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      double leftSpeed
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      double rightEncoder
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Gear rightShifter
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      double rightSpeed
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      Position()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a position of 0
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void zero()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Reset this position to 0
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • leftEncoder

        public double leftEncoder
        Deprecated, for removal: This API element is subject to removal in a future version.
      • rightEncoder

        public double rightEncoder
        Deprecated, for removal: This API element is subject to removal in a future version.
      • leftSpeed

        public double leftSpeed
        Deprecated, for removal: This API element is subject to removal in a future version.
      • rightSpeed

        public double rightSpeed
        Deprecated, for removal: This API element is subject to removal in a future version.
      • leftShifter

        public Gear leftShifter
        Deprecated, for removal: This API element is subject to removal in a future version.
      • rightShifter

        public Gear rightShifter
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • Position

        public Position()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create a position of 0
    • Method Detail

      • zero

        public void zero()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Reset this position to 0