Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daba960f38 | ||
|
|
c9d723570f |
@@ -17,8 +17,8 @@ android {
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
compileSdk 34
|
||||
|
||||
compileSdkVersion 30
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
|
||||
@@ -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
+1
-1
@@ -19,7 +19,7 @@ import java.util.regex.Pattern
|
||||
|
||||
android {
|
||||
|
||||
compileSdkVersion 30
|
||||
compileSdk 34
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
|
||||
@@ -1,17 +1,23 @@
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google() // Needed for androidx
|
||||
maven { url = "https://mymaven.bylazar.com/releases" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.firstinspires.ftc:Inspection:11.2.1'
|
||||
implementation 'org.firstinspires.ftc:Blocks:11.2.1'
|
||||
//noinspection Aligned16KB
|
||||
implementation 'org.firstinspires.ftc:RobotCore:11.2.1'
|
||||
implementation 'org.firstinspires.ftc:RobotServer:11.2.1'
|
||||
implementation 'org.firstinspires.ftc:OnBotJava:11.2.1'
|
||||
implementation 'org.firstinspires.ftc:Hardware:11.2.1'
|
||||
implementation 'org.firstinspires.ftc:FtcCommon:11.2.1'
|
||||
implementation 'org.firstinspires.ftc:Vision:11.2.1'
|
||||
//noinspection GradleDependency
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'com.pedropathing:ftc:2.1.2'
|
||||
implementation 'com.pedropathing:telemetry:1.0.0'
|
||||
implementation 'com.bylazar:fullpanels:1.0.12'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user