Skip to content

Commit

Permalink
Fix python autobuilder docs (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 authored Jan 31, 2025
1 parent 1793762 commit 1027141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Writerside/topics/pplib-Build-an-Auto.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class SwerveSubsystem(Subsystem):
config = RobotConfig.fromGUISettings()

# Configure the AutoBuilder last
AutoBuilder.configureHolonomic(
AutoBuilder.configure(
self.getPose, # Robot pose supplier
self.resetPose, # Method to reset odometry (will be called if your auto has a starting pose)
self.getRobotRelativeSpeeds, # ChassisSpeeds supplier. MUST BE ROBOT RELATIVE
Expand Down Expand Up @@ -283,7 +283,7 @@ class DriveSubsystem(Subsystem):
config = RobotConfig.fromGUISettings()

# Configure the AutoBuilder last
AutoBuilder.configureHolonomic(
AutoBuilder.configure(
self.getPose, # Robot pose supplier
self.resetPose, # Method to reset odometry (will be called if your auto has a starting pose)
self.getRobotRelativeSpeeds, # ChassisSpeeds supplier. MUST BE ROBOT RELATIVE
Expand Down

0 comments on commit 1027141

Please sign in to comment.