Update ftc2024_autonome_api.java
fixe errors
This commit is contained in:
parent
a2f5c66ea9
commit
7aa862406b
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,7 @@ public class ftc2024_autonome_api extends LinearOpMode {
|
||||||
public DcMotor rm;
|
public DcMotor rm;
|
||||||
public DcMotor harvestmotor;
|
public DcMotor harvestmotor;
|
||||||
public IMU imu;
|
public IMU imu;
|
||||||
public YawPitchRollAngle robotOrientation;
|
|
||||||
@Override
|
@Override
|
||||||
public void runOpMode() {
|
public void runOpMode() {
|
||||||
lm = hardwareMap.get(DcMotor.class, "blm");
|
lm = hardwareMap.get(DcMotor.class, "blm");
|
||||||
|
@ -46,6 +46,7 @@ public class ftc2024_autonome_api extends LinearOpMode {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
imu.resetYaw();
|
imu.resetYaw();
|
||||||
|
YawPitchRollAngle robotOrientation;
|
||||||
FTC2024WeRobotControl robot = FTC2024WeRobotControl(this);
|
FTC2024WeRobotControl robot = FTC2024WeRobotControl(this);
|
||||||
|
|
||||||
waitForStart();
|
waitForStart();
|
||||||
|
|
Loading…
Reference in a new issue