Setup Pedro

This commit is contained in:
2025-09-07 19:05:31 -05:00
parent 11219015ac
commit ab5887a9c5
4 changed files with 1358 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
package org.firstinspires.ftc.teamcode.libs.pedroPathing;
import com.pedropathing.follower.Follower;
import com.pedropathing.follower.FollowerConstants;
import com.pedropathing.ftc.FollowerBuilder;
import com.pedropathing.paths.PathConstraints;
import com.qualcomm.robotcore.hardware.HardwareMap;
public class Constants {
public static FollowerConstants followerConstants = new FollowerConstants();
public static PathConstraints pathConstraints = new PathConstraints(0.99, 100, 1, 1);
public static Follower createFollower(HardwareMap hardwareMap) {
return new FollowerBuilder(followerConstants, hardwareMap)
.pathConstraints(pathConstraints)
.build();
}
}