EasyStack Docs

Installation

EasyStack is distributed as an Android library. Add it to your FTC project, import the classes you need and you are ready to write your first OpMode.

#From Maven Central

Add the dependency to the dependencies block of TeamCode/build.gradle:

Java
dependencies {
    implementation project(':FtcRobotController')
    implementation 'io.github.ferreirovskizz:wintechlib:1.1.2'
}

The coordinates come from the library build file. Confirm the latest published version on Maven Central before you copy them. The library uses the FTC SDK that your project already provides (12.0.0), so you do not add the SDK a second time.

#From Source

Copy the EasyStack module into your project, include it in settings.gradle and depend on it:

Java
// settings.gradle
include ':FtcRobotController'
include ':TeamCode'
include ':EasyStack'

// TeamCode/build.gradle
dependencies {
    implementation project(':FtcRobotController')
    implementation project(':EasyStack')
}

#Requirements

  • minSdk: 24
  • compileSdk: 34
  • FTC SDK: 12.0.0
  • Java package: dev.easyfamily.EasyStack

#Imports

Package names are case sensitive. The subsystem package keeps the spelling subsytem, without the second s.

Java
import dev.easyfamily.EasyStack.opmode.EasyOpMode;
import dev.easyfamily.EasyStack.hardware.Motors.EasyMotor;
import dev.easyfamily.EasyStack.hardware.Motors.EasyMotorType;
import dev.easyfamily.EasyStack.gamepad.EasyGamepad;
import dev.easyfamily.EasyStack.subsytem.EasySubsystemBase;
import dev.easyfamily.EasyStack.Commands.EasyCommandScheduler;
import dev.easyfamily.EasyStack.dashboard.EasyDash;

#Nothing Else to Configure

The dashboard registers itself through SDK annotations that ship with the library. You do not edit the manifest, add a service or start a server. See the EasyDash tab to learn how to open it.

#Quick Start

A complete field-centric mecanum TeleOp with an IMU and a gamepad:

Java
@TeleOp(name = "Field Centric")
public class FieldCentric extends EasyOpMode {

    private EasyGamepad driver;
    private MecanumDrive drive;
    private EasyRevIMU imu;

    @Override
    public void initialize() {
        driver = new EasyGamepad(gamepad1).setInvertY(true);

        drive = new MecanumDrive(
                new EasyMotor(hardwareMap, "frontLeft", EasyMotorType.GOBILDA_312),
                new EasyMotor(hardwareMap, "frontRight", EasyMotorType.GOBILDA_312),
                new EasyMotor(hardwareMap, "backLeft", EasyMotorType.GOBILDA_312),
                new EasyMotor(hardwareMap, "backRight", EasyMotorType.GOBILDA_312));

        imu = new EasyRevIMU(hardwareMap, "imu",
                RevHubOrientationOnRobot.LogoFacingDirection.UP,
                RevHubOrientationOnRobot.UsbFacingDirection.FORWARD);

        addComponents(new EasyCommandComponent());
    }

    @Override
    public void onUpdate() {
        driver.update();
        drive.driveFieldCentric(
                driver.leftStickX(),
                driver.leftStickY(),
                driver.rightStickX(),
                imu.getHeading(AngleUnit.RADIANS));
    }

    @Override
    public void onStop() {
        drive.stop();
    }
}

Open http://192.168.43.1:8090 while the Robot Controller app is running and the motors, the IMU and the drivetrain are already there.

Last updated 2026-11-16

EasyStack - FTC Java library

This site records page views together with the IP address and browser of visitors to understand how the documentation is used. Nothing is sold or shared with third parties.