Class DriveTrainSensors
- java.lang.Object
-
- io.github.frc5024.common_drive.queue.DriveTrainSensors
-
@Deprecated(since="October 2020", forRemoval=true) public class DriveTrainSensors extends java.lang.ObjectDeprecated, 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 doubleangleDeprecated, for removal: This API element is subject to removal in a future version.doubleangularRateDeprecated, for removal: This API element is subject to removal in a future version.doubleleftEncoderMetresDeprecated, for removal: This API element is subject to removal in a future version.doublerightEncoderMetresDeprecated, for removal: This API element is subject to removal in a future version.Rotation2drotationDeprecated, for removal: This API element is subject to removal in a future version.doubletimestamp_msDeprecated, 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 DriveTrainSensorscopy()Deprecated, for removal: This API element is subject to removal in a future version.Create a copy of this object
-
-
-
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.
-
-
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
-
-