L125

1 file(s) copied, then 2 change(s) in 1 file(s), 5 line(s) of code to write.

Copies

  • lessons/L125Drive24OpMode.java to mytry/L125Drive24OpMode.java

L125Drive24OpMode

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/mytry/L125Drive24OpMode.java

A change

Delete 0 lines, write 4 lines.

--- before this change
+++ after it
@@ -1,4 +1,8 @@
 package org.firstinspires.ftc.teamcode.mytry;
+
+import static com.pedropathing.api.Paths.line;
+import static com.pedropathing.ivy.groups.Groups.sequential;
+import static com.pedropathing.ivy.pedro.PedroCommands.follow;
 
 import com.pedropathing.api.PoseFactory;
 import com.pedropathing.ivy.Command;

A change

Delete 1 line, write 1 line.

--- before this change
+++ after it
@@ -86,6 +86,6 @@
         // When on L125S030, see
         // https://msb-stitt.github.io/ftc31459-26-27-biobuzz/guide/tasks/l125.html#l125s030
         // for what to do here.
-        return Command.NOOP;
+        return sequential(follow(follower, line(start, end).constant(start)));
     }
 }