Skip to content

Commit 12f27ec

Browse files
committed
2.0.1 Patch - Fix Lazy Interpolation Gen, Add Filter Interface, and Pose#Mirror for Decode Autos
1 parent 9522294 commit 12f27ec

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

core/src/main/java/com/pedropathing/control/LowPassFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class LowPassFilter implements NoiseFilter {
1212

1313
/**
1414
* Constructs a LowPassFilter with the specified alpha value.
15-
* @param alpha The smoothing factor (0 < alpha < 1). A higher alpha means more smoothing.
15+
* @param alpha The smoothing factor (0 [less than] alpha [less than] 1). A higher alpha means more smoothing.
1616
*/
1717
public LowPassFilter(double alpha) {
1818
if (alpha <= 0 || alpha >= 1) {

core/src/main/java/com/pedropathing/follower/Follower.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,4 +1040,8 @@ private void setPath(Path path) {
10401040
public PathPoint getPreviousClosestPose() {
10411041
return previousClosestPose;
10421042
}
1043+
1044+
public double getHeading() {
1045+
return getPose().getHeading();
1046+
}
10431047
}

ftc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ publishing {
7878
register<MavenPublication>("release") {
7979
groupId = "com.pedropathing"
8080
artifactId = "ftc"
81-
version = "2.0.0"
81+
version = "2.0.1"
8282

8383
afterEvaluate {
8484
from(components["release"])

0 commit comments

Comments
 (0)