Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Better introductory documentation #41

@helenarobotics

Description

@helenarobotics

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions