-
Notifications
You must be signed in to change notification settings - Fork 2
Controls
If you're not sure on how to do something chances are the first thing that pops in your mind will work. The only place where this is not really true right now is with the textboxes. A complete rewrite of them is planned for the future.
Simply click on any blank space and drag the mouse around
Scrolling the mouse will zoom in and out. On a trackpad you can simply use a two-finger scroll to zoom in and out. On some devices pinch-to-zoom should even work too.
Click on the "plus" towards the bottom right corner.
Simply click on a point and drag it around. Currently the earlier points on the robot path are selected first -- even when another closer point is available. If you are having this issue, try zooming in or moving further away from the unwanted point that is being selected. A rework of this system is also planned to address this issue.
Right clicking on a point will delete it. On a trackpad you can perform a two finger click.
Right clicking on a path (but not on another point) will create a new point. On a trackpad you can perform a two finger click.
If two paths that execute sequentially don't have the same start and end points you get weird behavior. To ensure that two paths have the same end and start points you can connect them. To do this drag start of one path near the end of path that executes before it. Drop the path down and click again. The two paths should now have the same end and start point.
The autonomous timeline represents how the auto will run. On the robot each step (different colored section) will be executed from top to bottom.
In the above picture the robot will first sleep for 500ms, then drive the green path, then the blue path, and then finally the orange path.
Sometimes the Auto Timeline can get quite cluttered. You can close and open each step by clicking on the colored heading.
Open Step
Closed Step
Sometimes it is desirable to manually input a position into a path. To do this click on the point to highlight it. Then, find the row in the Auto Timeline that has a dark background. You can then edit the numbers in the textbox to change the location of that point.
The text boxes are ordered left to right X
, Y
, Rotation (degrees)
To reorder items in the Auto Timeline simply drag the step, using the colored section, to the desired position.
Sometimes the robot will need to execute other parts of the robot code during auto.
The script step allows you easily execute these commands from the GUI.
It has a really basic syntax that can be used to execute robot code.
Each new line is a new command. Each command contains a method and arguments (optional) that are separated by spaces.
Comments can be added by starting a line with a #
There is no support for semicolons, brackets, or another control loop logic.
An example of a script is shown below.
sleep 500
setShooterSpeed 5000
shootBalls 5
openIntake
startIntake
print finished first script
For more information on how to implement this see: https://github.com/FRC3476/AutoBuilder/wiki/Integrating-this-project-into-your-robot-code#parserjava
If you see a warning icon that means something is probably wrong. NOTE: The warning symbol does not prevent you from doing anything. It simply exist to alert you to an issue.
If you see the warning symbol on a path step it means that first point on that path is not the same as the last point on the previous path. Click here to learn how to fix this.
If you see the warning symbol on a script step it means that your script it likely invalid. The method you are trying to call is probably not listed as a valid method that you can call or your arguments have been deemed invalid. If you are sure that there isn't an issue you can go ahead and ignore this warning.
Undo and redo are supported. Simply press Ctrl + Z
to undo and Ctrl + Shift + Z
to redo