|
Re: Subsystem / Command style code
Quote:
Originally Posted by jacob9706
We ended up having an issue with how things were scheduled, when they execute and what happened once they were finished. We implemented our own CommandGroupBase. https://github.com/Team3574/Alastair...roup2Base.java. I hope it helps some other teams that want to continue to dabble in the command / subsystem style code.
This shows an implementation of a drive with my proposed system. There is a DriveTeleop method that drives with joysticks and a DriveForTime that is scheduled here. I believe this (for me atleast) is a much more readable and easier to maintain system than the current command base used in java.
|
I'm curious, could you elaborate on the issues you were having? Maybe we are having the same issues and haven't noticed it yet. I apologize for derailing this thread from it's original topic.
Last edited by notmattlythgoe : 10-05-2013 at 09:01.
|