Go to Post "Dear Santa, all I want for Christmas is a game hint." - Gregor [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2010, 14:04
sp33chy sp33chy is offline
Registered User
FRC #3332
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Melbourne, FL
Posts: 29
sp33chy is an unknown quantity at this point
Code compiling, but not uploading

I wrote some camera code and it seemingly does not have any errors....So tried uploading... no go. Tried connecting directly and via router. Is there maybe something really obvious I'm missing?

edit: Here is the entire log from my crio...
http://pastebin.ca/1788283

Here is the code if anyone can help me... yes its messy.
http://pastebin.ca/1788313

Uploads if I comment out all the camera code...

Last edited by sp33chy : 06-02-2010 at 17:04.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2010, 00:54
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Code suddenly stopped uploading?

Replace:
#
public void robotMain(){
#
m_robotMainOverridden = false;
#
camera = AxisCamera.getInstance();
#
//camera.getInstance();
#
camera.writeResolution(AxisCamera.ResolutionT.k320 x240);
#
camera.writeBrightness(0);
#
}

with
#
public RobotTemplate(){
#
m_robotMainOverridden = false;
#
AxisCamera camera = AxisCamera.getInstance();
#
//camera.getInstance();
#
camera.writeResolution(AxisCamera.ResolutionT.k320 x240);
#
camera.writeBrightness(0);
#
}
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2010, 18:53
sp33chy sp33chy is offline
Registered User
FRC #3332
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Melbourne, FL
Posts: 29
sp33chy is an unknown quantity at this point
Re: Code suddenly stopped uploading?

Thanks for helping but didn't work ):

Can someone share their camera code so I can be sure that its not the software crio-side that's the issue? That would be much appreciated! Come on, help a rookie team out.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suddenly disabled?!? Mr. E Technical Discussion 16 05-02-2009 12:01
Problem uploading code from a VM LinuxMercedes C/C++ 5 12-01-2009 23:31
"Battery: No Code" after uploading .out file to cRIO knine143 FRC Control System 1 20-12-2008 22:14
Uploading Old Code G1279 Programming 1 12-01-2008 22:35
Code suddenly fails to initialize miketwalker Programming 11 19-02-2005 15:23


All times are GMT -5. The time now is 12:44.

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