added pedropathing quickstart files
suppreseted appcompact gradle warning with comment
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
package org.firstinspires.ftc.teamcode.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();
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -14,6 +14,7 @@ dependencies {
|
|||||||
implementation 'org.firstinspires.ftc:Hardware:11.2.1'
|
implementation 'org.firstinspires.ftc:Hardware:11.2.1'
|
||||||
implementation 'org.firstinspires.ftc:FtcCommon:11.2.1'
|
implementation 'org.firstinspires.ftc:FtcCommon:11.2.1'
|
||||||
implementation 'org.firstinspires.ftc:Vision:11.2.1'
|
implementation 'org.firstinspires.ftc:Vision:11.2.1'
|
||||||
|
//noinspection GradleDependency
|
||||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||||
implementation 'com.pedropathing:ftc:2.1.2'
|
implementation 'com.pedropathing:ftc:2.1.2'
|
||||||
implementation 'com.pedropathing:telemetry:1.0.0'
|
implementation 'com.pedropathing:telemetry:1.0.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user