As-is OpMode is a monolithic mess, so we should try to avoid static references to it, or worse, passing the entire thing around everywhere. However, IHardware does not suitably fill this role. We should rethink how hardware objects and more importantly hardware.idle() are passed around.
As-is OpMode is a monolithic mess, so we should try to avoid static references to it, or worse, passing the entire thing around everywhere. However, IHardware does not suitably fill this role. We should rethink how hardware objects and more importantly hardware.idle() are passed around.