BlazeBulkReadHook

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.

Constructors

Link copied to clipboard
constructor(hub: NextLynxModule.Type, fastMode: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun afterConstruction(opMode: NextOpMode)

Called immediately after the OpMode's onInit phase.

Link copied to clipboard
open fun afterDisabled()

Called immediately after the OpMode's disabledPeriodic (init_loop) phase.

Link copied to clipboard
open fun afterEnd()

Called immediately after the OpMode finishes execution.

Link copied to clipboard
open fun afterPeriodic()

Called immediately after the OpMode's periodic loop.

Link copied to clipboard
open fun afterStart()

Called immediately after the OpMode's onStart phase.

Link copied to clipboard
open fun beforeDisabled()

Called immediately before the OpMode's disabledPeriodic (init_loop) phase.

Link copied to clipboard
open fun beforeEnd()

Called immediately before the OpMode finishes execution.

Link copied to clipboard
open fun beforePeriodic()

Called immediately before the OpMode's periodic loop.

Link copied to clipboard
open fun beforeStart()

Called immediately before the OpMode's onStart phase.