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
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