Skip to content

Commit

Permalink
Make Docs Autobuilder example match the project example for C++ (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis-Leyva authored Oct 22, 2024
1 parent 49fb344 commit 86a8697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Writerside/topics/pplib-Build-an-Auto.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SwerveSubsystem::SwerveSubsystem(){
[this](frc::Pose2d pose){ resetPose(pose); }, // Method to reset odometry (will be called if your auto has a starting pose)
[this](){ return getRobotRelativeSpeeds(); }, // ChassisSpeeds supplier. MUST BE ROBOT RELATIVE
[this](auto speeds, auto feedforwards){ driveRobotRelative(speeds); }, // Method that will drive the robot given ROBOT RELATIVE ChassisSpeeds. Also optionally outputs individual module feedforwards
PPHolonomicDriveController( // PPHolonomicController is the built in path following controller for holonomic drive trains
std::make_shared<PPHolonomicDriveController>( // PPHolonomicController is the built in path following controller for holonomic drive trains
PIDConstants(5.0, 0.0, 0.0), // Translation PID constants
PIDConstants(5.0, 0.0, 0.0) // Rotation PID constants
),
Expand Down

0 comments on commit 86a8697

Please sign in to comment.