get Angle Error
Extension to get the angle error between current position and target.
Useful for debugging swerve module alignment.
Return
Angle error as Rotation2d.
Parameters
target
Target angle.
Extension to get the angle error between current position and target.
Useful for debugging swerve module alignment.
Angle error as Rotation2d.
Target angle.