I don’t have a step-by-step for you, since NetBeans is not the official IDE and I haven’t used it much in the past few years. I highly recommend you instead use VSCode. Nonetheless, here’s what I would do to get NetBeans running.
This year’s robot code uses Gradle to deploy. When you connect to the RoboRIO with USB, you should be able to ping the robot at
roborio-TEAM-frc.local, where “TEAM” is your four-digit team number. In your case, it would be
NetBeans has a few Gradle plugins that you can use to easily integrate Gradle with a NetBeans project. See here.
Your current NetBeans project may or may not be set up properly for robot use. If it’s set up correctly, NetBeans should be able to recognize the Gradle project and just start uploading with the
deploy task. If it’s not set up properly – that is, if it’s not a Gradle project – you’ll likely want to set up a new Gradle project for it. See here for the Screenstepslive instructions on creating a new robot project. Once this is created, you can copy your code over to the project. You don’t even have to use VSCode to program it; you can instead open the Gradle project in NetBeans once it’s created.
- Ensure you can ping the RoboRIO when connected
- Install the NetBeans Gradle plugin
- Create a new robot project with VSCode
- Copy your robot code over to the project that was created with VSCode
- Open the Gradle project in NetBeans
- Run the Deploy task