EasyStack Docs

Troubleshooting

Esta página aún no está traducida. Se muestra la versión en inglés.

Common problems and how to solve them, grouped by area.

#OpMode and Commands

  • Commands never run: the scheduler is not running. Add addComponents(new EasyCommandComponent()) in initialize(), or call scheduler.run() once per loop.
  • Triggers never fire: triggers are polled by the scheduler. Make sure it runs every loop.
  • Subsystem init() or loop() is never called: add the subsystem to an EasySubsystemComponent, or call them yourself in a plain OpMode.
  • telemetry shows twice or flickers: EasyOpMode calls telemetry.update() for you. Remove your own call.

#Gamepad

  • Presses, releases and toggles never change: call update() on the EasyGamepad once at the start of every loop.
  • A press is missed: the debounce time is too high for that button. Lower it with setDebounce.
  • Pushing the stick up gives a negative value: call setInvertY(true).

#Hardware

  • A servo says it is at target all the time: no speed is set. Call setSpeed(...) so the position can be estimated.
  • Homing never finishes: homeToPhysicalLimit must be called every loop until it returns true, with a stall current that the mechanism really reaches.
  • CR servo control does nothing: call update() every loop and configure an encoder.
  • The IMU heading drifts or is reversed: check the logo and USB directions, and use invertGyro() when the sign is wrong.
  • A digital sensor flickers: set a threshold in EasyDigitalDevice and call update() every loop.

#Drivebases

  • The robot turns when you drive forward: check the order of the motors and the right side inversion. Do not invert the same side twice.
  • Strafe behaves like forward: driveRobotCentric takes strafe first, and DrivePowers takes forward first.
  • Field-centric driving rotates wrongly: the heading must be in radians, with the right sign and zero reference.
  • Swerve ignores maxOutput = 0: use stop().

#Dashboard

  • The page does not open: check the Wi-Fi connection, the address http://192.168.43.1:8090 and that the dashboard was not turned off in the app menu or by the EasyDash: disable OpMode.
  • Motor values stay empty: the dashboard only shows values your code has already read. Call getRPM() or getPosition().
  • The camera image is missing: start the camera, or register your VisionPortal with EasyDash.camera(...).
  • The robot looks too big or too small on the field: set the size with the L and W boxes or with EasyDash.robotSize.

#Vision

  • The Limelight pose looks unstable: the dashboard shows MegaTag 1. For MegaTag 2, call updateRobotOrientation(yaw) every loop and read getBotposeMT2().
  • The distance of a ball is wrong: set the ball diameter and the field of view on EasyCamera, or the mount height and angle on EasyLimelight.

#Renamed Classes

Older documentation used other names for some classes. Use the current ones:

  • EzServo: now EasyServo.
  • EzServoGroup: now EasyServoGroup. The group of continuous servos is EasyCRServoGroup.
  • EzCRServo: now EasyCRServo.
  • EzAbsoluteAnalogEncoder: now EasyAbsoluteAnalogEncoder.
  • PIDCoefficients and PIDFCoefficients: now EasyPIDCoefficients and EasyPIDFCoefficients.
  • EasyProfiledPid: now EasyProfiledPID.
  • EasyRevTOFDistance and Point: removed. Use EasyRevDistanceSensor and Pose2d or Translation2d.

Última actualización 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.