View Single Post
  #11   Spotlight this post!  
Unread 10-05-2013, 08:59
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,715
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Subsystem / Command style code

Quote:
Originally Posted by jacob9706 View Post
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.
Reply With Quote