Package-level declarations

Types

Link copied to clipboard
class BlazeBulkReadHook(val hub: NextLynxModule.Type, val fastMode: Boolean) : OpModeHook

Hook to enable Blaze control of Bulk Reads on a single hub. Do not run this with BulkReadHook. fastMode controls the level of concurrency. false will run at ~500 hz and is very stable. true is stable but if you enable it and then do too many writes, it could become unstable. Do not put two hooks on the same hub. This hook does nothing if the OpMode isn't a BlazeOpMode.

Link copied to clipboard
abstract class BlazeOpMode(robot: NextRobot, hooks: OpModeHook) : NextOpMode

Base class for NextFTC OpModes that run with Blaze enabled.

Link copied to clipboard

(Optional) Hook responsible for managing bulk hardware reads. Automatically switches Lynx hubs to MANUAL caching mode on start, and clears the bulk cache at the end of each periodic cycle to ensure fresh hardware data per loop while minimizing I/O overhead.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class NextAutonomous(val name: String = "", val group: String = "", val preselectTeleop: String = "")
Link copied to clipboard
object NextFTCOpModeScanner : OpModeScanner

Scans the user's project for OpModes that take a dev.nextftc.robot.NextRobot instance in their constructor.

Link copied to clipboard
abstract class NextOpMode

Base class for all NextFTC OpModes.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class NextTeleop(val name: String = "", val group: String = "")
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class NextUtility(val name: String = "", val description: String = "")
Link copied to clipboard
Link copied to clipboard
interface OpModeHook

Provides lifecycle hooks that tap into the various stages of a NextOpMode. This allows internal library features (or custom extensions) to execute logic automatically without requiring the user to clutter their OpMode code.

Link copied to clipboard
sealed interface OpModeMetaCheckResult