// these methods delegate to Mercurial.INSTANCE
JavaSubsystem.INSTANCE.getDefaultCommand();
JavaSubsystem.INSTANCE.setDefaultCommand(new Lambda("default"));
// the default command needs to be reset every OpMode, so as per the example,
// add it to the preInit hook.
// the subsystemCell function is for use inside the class, it generates a
// SubsystemObjectCell for the Subsystem. See the next section for more.
JavaSubsystem.INSTANCE.subsystemCell(() ->
hardwareMap.get(DcMotorEx.class, "m");
);
// this static constant is a good starting point for the dependency of your
// Subsystem
Subsystem.DEFAULT_DEPENDENCY