While watching the RobotBuilder at https://wp.wpi.edu/wpilib/robotics-videos/ when the JAVA code is generated and opened in VSC the RobotMap is missing. Was this on purpose? or did I miss a key step?
Thx
WardoftheWood
Sorry, I don’t know anything about RobotBuilder but if you want RobotMap.java all you need to do is create a class and name it RobotMap. Below is the template code for it that would go inside of it to start you off.
package frc.robot;
public class RobotMap{
//Mapping Goes Here
}
RobotBuilder was updated this year to better encapsulate the subsystems. The hardware is now declared in the subsystem, and there is no more RobotMap.
Note that those videos are very old, there are probably many more changes since they were made.