I've seen the video, but it assumes that the user will be using the same directory structure/package
org.usfirst.ftc.exampleteam.yourcodehere
We have multiple teams, and since we can, it would be nice if we could use multiple packages to separate out each teams code. However, attempts to create a new structure fail to compile.
@OnRobotRunning
public static void playSoundOnRobotRunning(Context context) {
SwerveUtil.playSound(context, R.raw.nxtstartup);
}
with
Error:(55, 40) error: cannot find symbol variable raw
(I could find no reference to 'raw' anywhere in the entire project using 'git grep raw').
Second, the documentation at the top of the file 'MyRobotControllerAdministration' contains references to cloning and such, but it's not obvious what changes would need to be made as a team who cloned the repository recently. Are those instructions still relevant? Also, is the name of the class or package name important, or can the class be renamed (there is no inheritance or interface definitions on the class to infer behavior, so it's not obvious how the library is determining how the methods are to be called).