EasyStack Docs

API Reference

Esta página ainda não foi traduzida. Mostrando a versão em inglês.

Every public method of the EasyDash class, in one place. All of them are static.

#Data

  • put(name, double | String): a custom value. A number can be plotted.
  • pose(x, y, heading), pose(Pose2d): the pose of the robot, in inches and radians.
  • robotSize(length, width): the size of the robot in inches, from 0 to 60.
  • point(name, x, y), point(name, Pose2d): a labelled marker on the field, up to 32.
  • clearPoints(): removes all markers.
  • log(message), warn(message), error(message): console messages.

#Devices and Registration

  • device(kind, name): a custom device with values and texts. Returns a DashDevice.
  • subsystem(EasySubsystem): registers a subsystem. EasySubsystemBase does this for you.
  • register(EasyMotor | EasyGamepad): registers one by hand. Done automatically when created.
  • nameOf(device): the name of an EasyMotor or EasyMotorGroup.

#Motion and Vision

  • trajectory(name, trajectory), trajectory(trajectory): draws a trajectory on the field.
  • camera(name, CameraStreamSource): streams a camera or VisionPortal.

#Tuning

  • tunables(Class...): exposes static fields for live editing. See Tuning.

#Loop

  • tick(): marks a loop for the loop time. EasyOpMode calls it.

#Server

  • start(AssetSource), stop(): starts and stops the server. The Robot Controller app starts it for you.
  • setEnabled(boolean), isEnabled(): turns the dashboard on or off and tells whether it is on.
  • isRunning(): whether the server is running.
  • getClientCount(): how many pages are connected.
  • PORT: the port of the server, 8090.

#DashDevice

The object returned by device(...). Every method returns the same device, so they can be chained:

  • value(label, unit, supplier): a number that is shown and can be plotted. The supplier returns a double.
  • text(label, supplier): a text value. The supplier returns a String.
  • meta(key, value): extra information that the page uses, for example type or wheels.
  • getKind(), getName(): the identifiers of the device.

#Annotation

  • @Tunable: marks a static field that the dashboard can edit. See Tuning.

Última atualização 2026-11-16

EasyStack - FTC Java library

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