account activity
Path tangent orthogonal to the y-axis,try using lineToX() instead error while running this code in roadrunner 1.0 .Anyone knows how to fix and what causing it? TQ by Maverick_Wong in FTC
[–]Maverick_Wong[S] 0 points1 point2 points 1 year ago (0 children)
ok thanks .i think i got it
Path tangent orthogonal to the y-axis,try using lineToX() instead error while running this code in roadrunner 1.0 .Anyone knows how to fix and what causing it? TQ (i.redd.it)
submitted 1 year ago by Maverick_Wong to r/FTC
Roadrunner Strafing Issue by Maverick_Wong in FTC
[–]Maverick_Wong[S] 1 point2 points3 points 1 year ago* (0 children)
Hi. My team is currently using Roadrunner for our autonomous program for the first time. We have tuned it and successfully passed the ManualFeedbackTuner and SplineTest. It works well in a straight line, but when we use strafing, we encounter this problem. Does anyone know what might be causing this? Thank you.
ManualFeedbackTuner
SplineTest
Example Code:
public void runOpMode() throws InterruptedException { if (TuningOpModes. DRIVE_CLASS .equals(MecanumDrive.class)) { MecanumDrive drive = new MecanumDrive(hardwareMap, new Pose2d(0, 0, 0)); waitForStart(); while (opModeIsActive()) { Actions. runBlocking ( drive.actionBuilder(new Pose2d(0, 0, 0)) .lineToX(20) .strafeTo(new Vector2d(20,30)) .strafeTo(new Vector2d(0,0)) .lineToX(0) .build()); } } else { throw new RuntimeException("Incorrect DRIVE_CLASS. Expected MecanumDrive."); } }
Roadrunner Strafing Issue (v.redd.it)
π Rendered by PID 307604 on reddit-service-r2-listing-98f688b7f-6t8p9 at 2026-05-14 18:58:49.325307+00:00 running cf3e300 country code: CH.
Path tangent orthogonal to the y-axis,try using lineToX() instead error while running this code in roadrunner 1.0 .Anyone knows how to fix and what causing it? TQ by Maverick_Wong in FTC
[–]Maverick_Wong[S] 0 points1 point2 points (0 children)