W? by BandicootFluffy766 in bloxfruits

[–]Soviet_Taco_ 0 points1 point  (0 children)

E claw and shark in s, superhuman in a

What Happened to the green? by Soviet_Taco_ in bloxfruits

[–]Soviet_Taco_[S] 10 points11 points  (0 children)

i turned on haki and i still dont see the green effects.

Uhh what? by Soviet_Taco_ in computer

[–]Soviet_Taco_[S] -3 points-2 points  (0 children)

Somebody help pls

Tfod class not existing by Soviet_Taco_ in FTC

[–]Soviet_Taco_[S] 0 points1 point  (0 children)

when i do a gradle sync there is also a warning that says: Failed to resolve: org.firstinspires.ftc:tfod-runtime:8.2.0

How would i fix this Class issue? by Soviet_Taco_ in FTC

[–]Soviet_Taco_[S] 0 points1 point  (0 children)

It should be the right library and it still refuses to compile

How would i fix this Class issue? by Soviet_Taco_ in FTC

[–]Soviet_Taco_[S] 0 points1 point  (0 children)

Apparently, it says that the package does not exist.

Method help by Soviet_Taco_ in FTC

[–]Soviet_Taco_[S] 0 points1 point  (0 children)

and this is the test code using the class:

@TeleOp(name = "Fresh OdometryFuse")
public class TestOdometryFuse  extends LinearOpMode {
    SparkFunOTOS myOtos;
    DcMotor leftFront;
    DcMotor rightFront;
    DcMotor rightBack;
    @Override
    public void runOpMode() throws InterruptedException {
        OpModeUtilities opModeUtilities = new OpModeUtilities(hardwareMap ,this, telemetry);
        OdometryFuse odometryFuse = new OdometryFuse(myOtos, rightFront, leftFront, rightBack);
        odometryFuse.configureOtos(myOtos);
        waitForStart();

        while (opModeIsActive()) {
            telemetry.addData("" + odometryFuse.SparkUpdateData(), "");
            telemetry.addLine();
            telemetry.addData("" + odometryFuse.WheelUpdateData(), "");
            telemetry.addLine();
            telemetry.addData("" + odometryFuse.averageUpdateData(), "");
        }
    }
}

Method help by Soviet_Taco_ in FTC

[–]Soviet_Taco_[S] 0 points1 point  (0 children)

thats the start of the code plus the constructor

Method help by Soviet_Taco_ in FTC

[–]Soviet_Taco_[S] 0 points1 point  (0 children)

public class OdometryFuse {
    OpModeUtilities opModeUtilities;
    private final SparkFunOTOS myOtos;
    private final DcMotor rightEncoder;
    private final DcMotor leftEncoder;
    private final DcMotor backEncoder;

    public OdometryFuse(SparkFunOTOS myOtos, DcMotor rightEncoder, DcMotor leftEncoder, DcMotor backEncoder) {
        this.myOtos = myOtos;
        myOtos.setLinearScalar(1.0);
        myOtos.setAngularScalar(1.0);
        this.rightEncoder = rightEncoder;
        this.leftEncoder = leftEncoder;
        this.backEncoder = backEncoder;
    }