Skip to content

Commit

Permalink
Fixed getState error
Browse files Browse the repository at this point in the history
  • Loading branch information
thenetworkgrinch committed Nov 29, 2023
1 parent 087d318 commit 0472efa
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/main/java/swervelib/SwerveModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public SwerveModulePosition getPosition() {
Rotation2d azimuth;
if (!SwerveDriveTelemetry.isSimulation) {
position = driveMotor.getPosition();
azimuth = Rotation2d.fromDegrees(angleMotor.getPosition());
azimuth = Rotation2d.fromDegrees(getAbsolutePosition());
} else {
return simModule.getPosition();
}
Expand Down
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-cpp/maven-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<versions>
<version>2023.1.6</version>
</versions>
<lastUpdated>20231129233622</lastUpdated>
<lastUpdated>20231129234853</lastUpdated>
</versioning>
</metadata>
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-cpp/maven-metadata.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
63a22b931b0c5a74161af5908fe9b005
c8f4e409aafcf7b958c84579589b1a45
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-cpp/maven-metadata.xml.sha1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
641871e7ebe0b9937e5be9b1740495818c341a97
70958dc6cf96b947c0cdb9fc761ef5e314c79701
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-cpp/maven-metadata.xml.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f7b2c29a274f489f713c90a671444d85d637f4f3acfb1f692515e4f5dda0bf31
a18554e2f5c2567e0eca1f77902b40bb27b54346b7b8511f942a22c5e017c9e3
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-cpp/maven-metadata.xml.sha512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
215e36f0073035fa7d9c8654491498451e50408a068db5562243e29414fb503c519db3d2b5fddab3a57ffa4d3404355bfa8ae60aff957820206dd1e766a0930f
4f5418fc69e5d789d79ded7c0c868d36048c006a269b13bd4a8ca81ae40c1ec2022ab32e4916ed192a053a8605e897c8a9c3316718b70cbcc878def41e4359bd
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2ec7e6f6a285b9316dae028db2c050d8
ea8819b735c796325d7caa5cc02b649a
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6189cb66d3092554f96e8bc2c96caae82f8a0d14
c3cfa9cca0359ba2a1ef251e63848ff9c7ee5b14
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8df247740c0c843e3e067025ad9a5d47972b0359772b338cc16ec3c3af0eca27
03fe4e724ce8eccb2121da16a19fec2bf8fed108c2bfb7172a2e1ea58dc48464
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5016eb148ac4f75166f83aa3a7955d0b30c495c3accbebe0c19ff8a72a9a937b206e286439cd07bc504ae2dc132181f36e295bc91bea714cc71231b3f99e36a9
db72a0246dc49e19589c86543a85425155c56d64e8340c1c250495d090cc19c75f18e19577dff9dd2c4d2199446f32ac255368aa22dcdf1226e5e0d38277f39c
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fd726bb0c10ed0a5bb7b75f50d328af1
3fb4c7f8c8484e9803b7e93365e91e7b
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aea5fd8ab50bac89b58652c7dadc849deba4a83c
8d11b28429618a66d09355345b86816d9a4edf31
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d5c5b02a4ef7b3fc1b499db9a2c05e8d08352ed429f5013e4a7a0063a32d89bd
54c76ead6b8f8dcd2fa04d978ac04ddb20829befd681ab323f5cb6e6e9de448a
Original file line number Diff line number Diff line change
@@ -1 +1 @@
53a27fc3c95cca155a45cadad4cbdc66b760b103eb68d2db67eb601fa22317464145d82aaaa2741c215b9ccd2851b934b95adb92e73491f438d2dd5efedafc3f
b40fdecb5881565ab408444d5ad4cdcad21800a254449e78621be7ca5c685e69d43c657daf7f36b8c7fa0cb7f76145a24de494dab996b87667d32c28d0aa3700
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-java/maven-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<versions>
<version>2023.1.6</version>
</versions>
<lastUpdated>20231129233624</lastUpdated>
<lastUpdated>20231129234855</lastUpdated>
</versioning>
</metadata>
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-java/maven-metadata.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3321db731dc770209cdc23dec71d7eb7
a190339aeb8d9b8dabcd541c7de746fc
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-java/maven-metadata.xml.sha1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b1e902f3731abdd5a1eb1cc6f909b28adcdfd3b1
e4acba893443e17cb5fabe62dfdf2f88de44e86e
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-java/maven-metadata.xml.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
162c179a75917f6758808d0b2bca252915586d88c84ba5a6690e3be7a627df21
56afc2c5022073a5375264ee7555ea51240b77b89240d8cc0d511f225b069477
2 changes: 1 addition & 1 deletion yagsl/repos/swervelib/YAGSL-java/maven-metadata.xml.sha512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cb50d799d1d65b991fc477d6bcd55dda980746f88ae36a15fd3f08b6f274a0c2980bc37c433946bcd88b167780671ed28df1c1357f5b7e8607955b7c57e9d633
cdb0e3af3844079fb345376a4b40c7a7fc4fa728ca503a0b5e5b56bfee118b8638f0385dd05f506cb80ead141279c809be785c8a931435c077c27513972fe78b

0 comments on commit 0472efa

Please sign in to comment.