From 7aa862406b5eb66676d050158efdd609b8e27451 Mon Sep 17 00:00:00 2001 From: Zelina974 <155895303+Zelina974@users.noreply.github.com> Date: Sun, 10 Mar 2024 15:38:35 +0100 Subject: [PATCH] Update ftc2024_autonome_api.java fixe errors --- ftc2024_autonome_api.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ftc2024_autonome_api.java b/ftc2024_autonome_api.java index e7b0ff0..ed289b8 100644 --- a/ftc2024_autonome_api.java +++ b/ftc2024_autonome_api.java @@ -27,7 +27,7 @@ public class ftc2024_autonome_api extends LinearOpMode { public DcMotor rm; public DcMotor harvestmotor; public IMU imu; - public YawPitchRollAngle robotOrientation; + @Override public void runOpMode() { lm = hardwareMap.get(DcMotor.class, "blm"); @@ -46,6 +46,7 @@ public class ftc2024_autonome_api extends LinearOpMode { ) ); imu.resetYaw(); + YawPitchRollAngle robotOrientation; FTC2024WeRobotControl robot = FTC2024WeRobotControl(this); waitForStart();