Class DriveTrainSensors


  • @Deprecated(since="October 2020",
                forRemoval=true)
    public class DriveTrainSensors
    extends java.lang.Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    A data class for sharing sensor readings from the client to code to the drivetrain base
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double angle
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      double angularRate
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      double leftEncoderMetres
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      double rightEncoderMetres
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      Rotation2d rotation
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      double timestamp_ms
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      DriveTrainSensors copy()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a copy of this object
      • Methods inherited from class java.lang.Object

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

      • timestamp_ms

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

        public Rotation2d rotation
        Deprecated, for removal: This API element is subject to removal in a future version.
      • angle

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

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

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

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

      • DriveTrainSensors

        public DriveTrainSensors()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • copy

        public DriveTrainSensors copy()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create a copy of this object
        Returns:
        Copy