Go to Post I don't even consider FIRST to be an extracurricular anymore; it is a way of life. - Jaine Perotti [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-02-2014, 23:37
DSSRobotics DSSRobotics is offline
Registered User
FRC #5031
 
Join Date: Jan 2014
Location: Canada
Posts: 5
DSSRobotics is an unknown quantity at this point
[Help] Compressor Problem (Java)

So we want our compressor to start immediately once the robot has turned on and this is a simple java code we're experimenting with.

We've imported this class : Compressor compressor = new Compressor(1, 1);

And this is our current code:

public void robotInit() {
compressor.start();

}

public void disabled() {
compressor.stop();
}

Once I deploy this code I get an error. ([cRIO] Robot Drive... Output not updated often enough.)

In addition, I've confirmed that the compressor code is causing this problem because I commented out the compressor code and the cRIO accepted the code, but when I tried to deploy the code with the compressor I get that error. I'm not sure if our team's compressor code is correct or not so please help us out.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi