Go to Post I don't think FIRST is the reason for following rules, being respectful, etc. We should do that anyway. - Dan Zollman [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 20-01-2017, 19:16
Psychicowl's Avatar
Psychicowl Psychicowl is offline
Registered User
FRC #3039
 
Join Date: Jan 2017
Location: Destrehan, Louisiana
Posts: 7
Psychicowl is an unknown quantity at this point
Exclamation No Robot Code when uploaded?

During the upload of my code I got a lot of errors and my drivers station doesn't find any Robot Code. My RoboRio is imaged with 2017 and has Java installed. I do have an error in my build.xml file even though I have completely deleted and reinstalled my FRC plugins and NI software. The error in my build.xml says "Default target deploy does not exist in this project".

[console]
Buildfile: C:\Users\WidlcatRobotics\workspace\Steamworks\buil d.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\WidlcatRobotics\workspace\Steamworks\buil d
[delete] Deleting directory C:\Users\WidlcatRobotics\workspace\Steamworks\dist
compile:
[mkdir] Created dir: C:\Users\WidlcatRobotics\workspace\Steamworks\buil d
[echo] [athena-compile] Compiling src with classpath=C:\Users\WidlcatRobotics\wpilib\java\cur rent\lib\WPILib.jar;C:\Users\WidlcatRobotics\wpili b\java\current\lib\NetworkTables.jar;C:\Users\Widl catRobotics\wpilib\java\current\lib\opencv.jar;C:\ Users\WidlcatRobotics\wpilib\java\current\lib\csco re.jar to build
[javac] Compiling 13 source files to C:\Users\WidlcatRobotics\workspace\Steamworks\buil d
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\WidlcatRobotics\workspace\Steamworks\dist
[mkdir] Created dir: C:\Users\WidlcatRobotics\workspace\Steamworks\buil d\jars
[echo] [athena-jar] Copying jars to build/jars.
[copy] Copying 4 files to C:\Users\WidlcatRobotics\workspace\Steamworks\buil d\jars
[jar] Building jar: C:\Users\WidlcatRobotics\workspace\Steamworks\dist \FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-3039-FRC.local
[echo] roboRIO found via mDNS
dependencies:
[echo] roboRIO image version validated
[echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s...ller-java-only
[sshexec] Connecting to roboRIO-3039-FRC.local:22
[sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
[scp] Connecting to roboRIO-3039-FRC.local:22
[scp] Receiving file: /usr/local/frc/lib/WPI_Native_Libraries.properties
[scp] Caught exception: scp: /usr/local/frc/lib/WPI_Native_Libraries.properties: No such file or directory
[echo] Deploying libraries
[echo] libHALAthena.so,libcscore.so,libntcore.so,libopenc v_calib3d.so.3.1,libopencv_core.so.3.1,libopencv_f eatures2d.so.3.1,libopencv_flann.so.3.1,libopencv_ highgui.so.3.1,libopencv_imgcodecs.so.3.1,libopenc v_imgproc.so.3.1,libopencv_java310.so,libopencv_ml .so.3.1,libopencv_objdetect.so.3.1,libopencv_photo .so.3.1,libopencv_shape.so.3.1,libopencv_stitching .so.3.1,libopencv_superres.so.3.1,libopencv_video. so.3.1,libopencv_videoio.so.3.1,libopencv_videosta b.so.3.1,libwpilibJavaJNI.so,libwpiutil.so
[scp] Connecting to roboRIO-3039-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-3039-FRC.local:22
[sshexec] cmd : chmod -R +x /usr/local/frc/lib
[scp] Connecting to roboRIO-3039-FRC.local:22
[scp] Receiving file: /usr/local/frc/lib/User_Libraries.properties
[scp] Caught exception: scp: /usr/local/frc/lib/User_Libraries.properties: No such file or directory
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-3039-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-3039-FRC.local:22
[sshexec] cmd : ldconfig
[sshexec] Connecting to roboRIO-3039-FRC.local:22
[sshexec] cmd : killall -q netconsole-host || :
[scp] Connecting to roboRIO-3039-FRC.local:22
[scp] Receiving file: /usr/local/frc/bin/netconsole-host.properties
[scp] Caught exception: scp: /usr/local/frc/bin/netconsole-host.properties: No such file or directory
[echo] Deploying libraries
[echo] netconsole-host
[scp] Connecting to roboRIO-3039-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-3039-FRC.local:22
[sshexec] cmd : chmod -R +x /usr/local/frc/bin
[scp] Connecting to roboRIO-3039-FRC.local:22
[scp] done.
[echo] [athena-deploy] Starting program.
[sshexec] Connecting to roboRIO-3039-FRC.local:22
[sshexec] cmd : . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r;
[sshexec] Connecting to roboRIO-3039-FRC.local:22
[sshexec] cmd : sync
BUILD SUCCESSFUL
Total time: 28 seconds

[End Console]

Any help would be much appreciated!
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2017, 23:57
dmelcer9 dmelcer9 is offline
Registered User
AKA: Daniel
FRC #0810 (Mechanical Bulls)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Smithtown
Posts: 51
dmelcer9 is an unknown quantity at this point
Re: No Robot Code when uploaded?

What's the output if on the driver station you check the logs? (You can access the logs by clicking on the gear icon towards the right of the Ds).
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2017, 12:37
Psychicowl's Avatar
Psychicowl Psychicowl is offline
Registered User
FRC #3039
 
Join Date: Jan 2017
Location: Destrehan, Louisiana
Posts: 7
Psychicowl is an unknown quantity at this point
Re: No Robot Code when uploaded?

Actually I ended up solving the error by just completely reinstalling my FRC plugins and wpilib libraries.
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 12:58.

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