Thread: No Robot Code
View Single Post
  #7   Spotlight this post!  
Unread 19-10-2016, 13:51
philmharner philmharner is offline
Registered User
FRC #5243
 
Join Date: Oct 2016
Location: Virginia
Posts: 2
philmharner is an unknown quantity at this point
Re: No Robot Code

Found the issue.
The Shoot command activates the solenoid subsystem, waits 5 seconds, and then deactivates it. The issue?

We put
private SolenoidSubsystem SS = new SolenoidSubsystem(); as the attribute, instead of leaving it
private SolenoidSubsystem SS;

and then initializing it in the initialize method.
Reply With Quote