Go to Post I guess my only option is to either stop picking on Dave or come up with an even better picture! Now, which one do you think I'll choose? - MissInformation [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 02-12-2013, 04:40 PM
stephmak stephmak is offline
High King of Code--Lead Programmer
FRC #4621
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Georgia
Posts: 15
stephmak is an unknown quantity at this point
NetBeans Deploy Code Hang

Hi Everyone,

We finished our robot code, connected the Classmate computer directly to the cRIO via Ethernet cable, cleaned/built the code in NetBeans. We then told NetBeans to run/deploy the code, and it soon hung at the OTA Server stage. After researching the problem, I found that this was normal and we re-deployed the code, only for it to hang again, at the following two lines:
[cRIO]edu.wpi.first.wpilibj.networktables2.server.Server ConnectionAdapter@15 entered connection status: GOT_CONNECTION_FROM_CLIENT
[cRIO]edu.wpi.first.wpilibj.networktables2.server.Server ConnectionAdapter@15 entered connection status: CONNECTED_TO_CLIENT
We then canceled the process, after it stayed at the same line for a few minutes and tried driving in Teleop mode. The three lights for Communication, Robot Code, etc were all green but when the robot connected and we hit Enable, the area near the bottom left on the Driver Station told us there was no robot code and nothing on the robot worked. Our electronics people have double checked all connections, and have concluded that there is nothing wrong wiring wise. I have also been back searching here on Chief Delphi for a solution and have not found anything that worked so far. Can anybody give us a solution please?

Thanks!!
__________________
FTC
2011-2012 Bowled Over: Team #5165 Star Cygnus X-1

FRC
2013-2014 Ultimate Ascent: Team #4621 Yotta Robota
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2013, 05:11 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: NetBeans Deploy Code Hang

I would guess that your code is throwing an exception when you enable teleop. If you don't cancel the netbeans deploy, the exception backtrace will be shown in the output window.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-12-2013, 05:13 PM
VARobot VARobot is offline
Registered User
FRC #1123
 
Join Date: Feb 2013
Location: Virginia
Posts: 1
VARobot is an unknown quantity at this point
Re: NetBeans Deploy Code Hang

Do you have a second cRIO that could temporarily replace the one you are using? Not permanently attached to the chassis or anything -- just a quick replacement. If you are able to deploy the code to the second cRIO, the problem is likely some bad hardware in the first cRIO.

I am new and don't have first hand experience with your problem, but just giving a general troubleshooting suggestion.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-12-2013, 05:39 PM
stephmak stephmak is offline
High King of Code--Lead Programmer
FRC #4621
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Georgia
Posts: 15
stephmak is an unknown quantity at this point
Re: NetBeans Deploy Code Hang

Thanks for your suggestions guys,

@Joe Ross: We will try not cancelling the deploy when we are ready for a another test in a few minutes (mech and electrical have the 'bot right now).

@VARobot: Yes, we do have a second cRIO, but because it is a cRIO from LogoMotion, and thus much bigger, we do not have the space for it on a more permanant basis. If it is a fatal cRIO problem, considering our state scrimmage is in a few days and bag-and-tag in a week, we are in a pretty bad spot. Is there any way it is not a fatal cRIO issue? I have seen the exact error codes I listed in several other threads, and have seen possible solutions there. I do not mean to disrespect or dismiss your help, in fact I am very grateful for it. I just want to avoid having to buy another cRIO if at all possible.
Can anybody else weigh in here?
__________________
FTC
2011-2012 Bowled Over: Team #5165 Star Cygnus X-1

FRC
2013-2014 Ultimate Ascent: Team #4621 Yotta Robota
Reply With Quote
  #5   Spotlight this post!  
Unread 02-13-2013, 06:06 PM
stephmak stephmak is offline
High King of Code--Lead Programmer
FRC #4621
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Georgia
Posts: 15
stephmak is an unknown quantity at this point
Question Re: NetBeans Deploy Code Hang

Hey everyone,

I am afraid that we have not solved our problem yet. I tried the NetBeans debugger despite the fact that but just got a long stream of errors related to build.xml and configure.xml under the sunspot FRC SDK and the debugger failed.. Next when the robot is ready for testing, I will try keeping NetBeans's deploy window open while we try to drive although I don't know what that will solve. Does anybody have any ideas?

Thanks
__________________
FTC
2011-2012 Bowled Over: Team #5165 Star Cygnus X-1

FRC
2013-2014 Ultimate Ascent: Team #4621 Yotta Robota
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


All times are GMT -5. The time now is 07:51 AM.

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