Skip to content

v2.0.3

Choose a tag to compare

@BaronClaps BaronClaps released this 17 Oct 03:09
· 227 commits to main since this release

Changes:

  • Fix: totalHeading in OTOSLocalizer and PinpointLocalizer would increase in wrong direction with heading numbers with their absolute value > 180°
  • Fix: Drive Vector faces wrong direction at parametric end
  • Fix: Custom Encoder Resolution in Pinpoint locked to be inches, now uses constants' distance unit
  • Add offsetHeading parameter for setTeleOpDrive to specific an offset for fieldCentric driving
    • For example, a user could specific Math.toRadians(180) so they can easily drive from blue drive team perspective in field centric drive without messing with their coordinates
  • Add startTeleOpDrive(boolean useBrakeMode) and startTeleOpDrive() with plans to deprecate startTeleopDrive(boolean useBrakeMode) and startTeleopDrive()
  • Add a follower.update() to startTeleOpDrive (all variants) to mitigate the Pose NPE if a follower.update is not called before.