Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
fix field relative :3333
Browse files Browse the repository at this point in the history
  • Loading branch information
NotSimon5673 committed Mar 20, 2024
1 parent 2cf5509 commit 67a8b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rio/subsystems/drivesubsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def drive(
xSpeedDelivered,
ySpeedDelivered,
rotDelivered,
Rotation2d.fromDegrees(self.gyro.getYaw()),
Rotation2d.fromDegrees(-self.gyro.getYaw()),
)
if fieldRelative
else ChassisSpeeds(xSpeedDelivered, ySpeedDelivered, rotDelivered)
Expand Down

1 comment on commit 67a8b3e

@NotSimon5673
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is Dylan on the lap top that 2was on the tblea on the biuld space

Please sign in to comment.