Package com.ctre.phoenix6.swerve.jni
Class SwerveJNI.DriveState
java.lang.Object
com.ctre.phoenix6.swerve.jni.SwerveJNI.DriveState
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- SwerveJNI
-
Field Summary
FieldsModifier and TypeFieldDescriptionintNumber of failed data acquisitionsThe current module positionsThe current module statesThe target module statesdoubleThe measured odometry update period, in secondsdoubledoubleThe current pose of the robotdoubledoubleThe raw heading of the robot, unaffected by vision updates and odometry resetsdoubledoubleThe current velocity of the robotdoubleintNumber of successful data acquisitionsdoubleThe timestamp of the state capture, in seconds -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PoseX
The current pose of the robot -
PoseY
-
PoseTheta
-
SpeedsVx
The current velocity of the robot -
SpeedsVy
-
SpeedsOmega
-
ModuleStates
The current module states -
ModuleTargets
The target module states -
ModulePositions
The current module positions -
RawHeading
The raw heading of the robot, unaffected by vision updates and odometry resets -
Timestamp
The timestamp of the state capture, in seconds -
OdometryPeriod
The measured odometry update period, in seconds -
SuccessfulDaqs
Number of successful data acquisitions -
FailedDaqs
Number of failed data acquisitions
-
-
Constructor Details
-
DriveState
public DriveState()
-
-
Method Details