|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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! |
|
#2
|
|||
|
|||
|
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).
|
|
#3
|
||||
|
||||
|
Re: No Robot Code when uploaded?
Actually I ended up solving the error by just completely reinstalling my FRC plugins and wpilib libraries.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|