We are able to connect and deploy our robot within VS code but when we open up FRC drive station and try to enable it, it reads “NO ROBOT CODE”.
We are coding in Java and I will link the code below but we have tried
Updating VS code to 2023.4.1
Rewiring our motors
Used Phenix Tuner to update our PCM and PDP’s firmware
And tried fixing some bugs
A build failure prevents deployment. Have you checked the “Terminal” window in VSCode. Can you post a screen shot of the last page of a successful deployment?
Searching for JRE 17.0.5u7-1
Found JRE frc2023-openjdk-17-jre - 17.0.5u7-1 - FRC OpenJDK Java Runtime Environment
JRE Is Correct Version
Artifact skipped
Task :deployfrcJavaroborio
1 file(s) are up-to-date and were not deployed
-C-> chmod +x “/home/lvuser/Test_FRC.jar”; chown lvuser “/home/lvuser/Test_FRC.jar” @ /home/lvuser
In the Driver Station, you can open up a console window (click the little gear to get to a popup menu with that option). You should be seeing output there where it’s trying to start your robot program and most likely immediately crashing. In the crash message there should be a stack trace showing where the problem is.
The console constantly repeats this:
Warning 44004 FRC: The Driver Station has lost communication with the robot. Driver Station
Warning 44002 Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-GOOD, roboRIO(.2)-GOOD, FMS-bad FRC: Driver Station ping status has changed. Driver Station
Info roboRIO: Game data update “” received by Robot
Error: Could not find or load main class frc.robot.Main
Caused by: java.lang.ClassNotFoundException: frc.robot.Main
Ah! Looking at your repository, your robot code is located in a directory robot at the root–the contents of that directory should be in the src/main/java/frc/robot directory instead.