Thread: No Robot Code
View Single Post
  #1   Spotlight this post!  
Unread 10-20-2016, 12:25 PM
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 298
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: No Robot Code

Quote:
Originally Posted by philmharner View Post
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.
That doesn't explain why the communication light was red. Are you sure you didn't mean the robot code light when you said that in your original post?
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote