Go to Post My friend Noah said he talked to someone that knew me from Chiefdelphi. That's just creepy. - Adam Y. [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 30-01-2013, 21:17
r0306 r0306 is offline
Registered User
AKA: Robert Lu
FRC #0253 (MRT)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2010
Location: California
Posts: 13
r0306 is an unknown quantity at this point
Netbeans Stuck at Deploying Code

We're using the default robot drive code and deploying to the cRIO through NetBeans. The console shows that it has established connection to the cRIO. However, we've waited for 30 minutes and the code still hasn't finished deploying. Here is the log:

Code:
clean:
Deleting directory C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build
Created dir: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build
Created dir: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\classes
[crio-compile] ./src, C:/Users/MRT253/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/MRT253/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/MRT253/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 1 source file to C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\classes
compile:
preverify:
Created dir: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\preverify
Created dir: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/MRT253/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/MRT253/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/MRT253/sunspotfrcsdk\lib\squawk.jar -> ./build/preverify
Expanding: C:\Users\MRT253\sunspotfrcsdk\lib\wpilibj.jar into C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\preverify
Expanding: C:\Users\MRT253\sunspotfrcsdk\lib\networktables-crio.jar into C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\app.jar
suite:
Created dir: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\suite
[crio-suite] ./build/app.jar -> ./build/suite/image
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 377 classes and generated 4 files.
Expanding: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\app.jar into C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\suite
Moving 1 file to C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\suite
Moving 1 file to C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\suite
Moving 1 file to C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\build\suite
Deleting: C:\Users\MRT253\Desktop\FRC2013\Robot Code\2013 Robot Code\image.suite.api
deploy:
[crio-configure] Configuration files not included in this version of the sdk
[crio-configure] Checking that crio is configured for Java
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) 64-Bit Server VM 23.0-b21
Target IP: 10.2.53.2
Network interfaces on host:
    Realtek RTL8188CE Wireless LAN 802.11n PCI-E NIC:  address: 10.5.5.97 netmask: 255.255.255.254
    Atheros AR8152/8158 PCI-E Fast Ethernet Controller (NDIS 6.20):  address: 10.2.53.5 netmask: 255.255.255.0 <--- on robot's subnet
Connecting FTP @10.2.53.2
[crio-deploy] ./build/suite/image.suite -> 10.2.53.2
Sending local file image.suite
run:
[cRIO] [OTA Server] ********* REBOOTING cRIO *********
[cRIO] 
   Waiting for cRIO to reboot (1s)
   Waiting for cRIO to reboot (2s)
   Waiting for cRIO to reboot (3s)
   Waiting for cRIO to reboot (4s)
   Waiting for cRIO to reboot (5s)
   Waiting for cRIO to reboot (6s)
   Waiting for cRIO to reboot (7s)
   Waiting for cRIO to reboot (8s)
   Waiting for cRIO to reboot (9s)
   Waiting for cRIO to reboot (10s)
[cRIO] 
[cRIO] -> * Loading debug.o: debug
[cRIO] Debugging is up, target server mounted at /tsfs
[cRIO] 
[cRIO] 
[cRIO]                 VxWorks
[cRIO] 
[cRIO] Copyright 1984-2006  Wind River Systems, Inc.
[cRIO] 
[cRIO]              CPU: MPC5200 -- Wind River Lite5200 BSP.
[cRIO]     Runtime Name: VxWorks
[cRIO]  Runtime Version: 6.3
[cRIO]      BSP version: 2.0/10
[cRIO]          Created: Jun 14 2012, 08:46:35
[cRIO] ED&R Policy Mode: Deployed
[cRIO]    WDB Comm Type: WDB_COMM_END
[cRIO]              WDB: Ready.
[cRIO] 
[cRIO] * Loading nisysrpc.out: nisysrpc
[cRIO] * Loading NiRioRpc.out: NiRioRpc
[cRIO] * Loading nivissvc.out: nivissvc
[cRIO] * Loading nivision.out: nivision
[cRIO] NI-RIO Server 12.0.0b10 started successfully.
[cRIO] task 0xdb0db0 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading visa32.out: visa32
[cRIO] * Loading niserial.out: niserial
[cRIO] * Loading NiFpgaLv.out: NiFpgaLv
[cRIO] * Loading FRC_FPGA.out: FRC_FPGA
[cRIO] * Loading FRC_NetworkCommunication.out: FRC_NetworkCommunication
[cRIO] FRC_NetworkCommunication version: p4-1.4.0a10
[cRIO] FPGA Hardware GUID: 0xA14C11BDE4BB64AEF6A86FC52A294CD9
[cRIO] FPGA Software GUID: 0xA14C11BDE4BB64AEF6A86FC52A294CD9
[cRIO] FPGA Hardware Version: 2012
[cRIO] FPGA Software Version: 2012
[cRIO] FPGA Hardware Revision: 1.6.4
[cRIO] FPGA Software Revision: 1.6.4
[cRIO] * Loading FRC_JavaVM.out: FRC_JavaVM
[cRIO] 
[cRIO] 
[cRIO] [OTA Server] Version: 2012 FRC, Jan  5 2012, 17:20:48
[cRIO] 
[cRIO] 
[cRIO] Welcome to LabVIEW Real-Time 12.0rc7
[cRIO] task 0xcb5db8 (sysapi-rpc) deleted: errno=0 (0) status=0 (0)
[cRIO] 
[cRIO] [Squawk VM] Version: 2011 FRC, Nov  5 2011, 14:34:13
[cRIO] FPGA Hardware GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
[cRIO] FPGA Software GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
[cRIO] Default robotInit() method running, consider providing your own
[cRIO] Default disabled() method running, consider providing your own
[cRIO] edu.wpi.first.wpilibj.networktables2.server.ServerConnectionAdapter@8 entered connection state: GOT_CONNECTION_FROM_CLIENT
[cRIO] edu.wpi.first.wpilibj.networktables2.server.ServerConnectionAdapter@8 entered connection state: CONNECTED_TO_CLIENT
It stays on the last line and doesn't display a build successful. The code isn't loaded on the cRIO either because the driver station says that none is running. Are we doing something wrong here?
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2013, 21:38
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Netbeans Stuck at Deploying Code

The log you have posted indicates that the code has deployed and finished loading. The build never "completes", the console output continues to get displayed in the output tab.

After the output of Netbeans got to this point, the DS showed a green light next to Communications, but red next to Robot Code?

Are you following the tutorial here?
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2013, 21:45
r0306 r0306 is offline
Registered User
AKA: Robert Lu
FRC #0253 (MRT)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2010
Location: California
Posts: 13
r0306 is an unknown quantity at this point
Re: Netbeans Stuck at Deploying Code

No, actually there are green lights next to both. However, nothing is actually happening when I try to move the robot. The console on the driver station shows:
Code:
FRC:  The Driver Station has lost communication with the robot.
WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents>  0.000 <radioSeenEvents>
FRC:  Robot radio detection times.
Warning <Code> 44003 occurred at Driver Station
<time>1/30/2013 4:49:08 PM<unique#>13
FRC:  No robot code is currently running.
WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 3.541
FRC:  Time since robot boot.
Warning <Code> 44002 occurred at Ping Results:  link-GOOD,  DS radio(.4)-bad,  robot radio(.1)-bad,  cRIO(.2)-GOOD,  FMS-bad Driver Station
<time>1/30/2013 4:48:47 PM<unique#>12
FRC:  Driver Station ping status has changed.
And it keeps repeating.
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2013, 22:02
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Netbeans Stuck at Deploying Code

Those warning messages are informational messages from each time you reboot the cRIO, hit clear after the robot is connected and see if any new messages appear in the box.
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2013, 22:12
r0306 r0306 is offline
Registered User
AKA: Robert Lu
FRC #0253 (MRT)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2010
Location: California
Posts: 13
r0306 is an unknown quantity at this point
Re: Netbeans Stuck at Deploying Code

Okay. The robot is working fine now. However, the warning message keep on spamming the window but it shouldn't be too much of a problem. Thanks for your help!
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 22:15.

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