Running Robot Designer
This page covers starting Robot Designer, its options, and updating it.
Start Robot Designer
Double-click RobotDesigner.command (Mac) or RobotDesigner.bat (Windows) in your robot project's folder. The installer puts them there.
Or run it from the AutonGui folder:
./autongui.sh -c /path/to/YourRobotProject/TeamCode # Mac / Linux
autongui.bat -c C:\path\to\YourRobotProject\TeamCode # Windows
-c must point at your project's TeamCode folder, not the project folder above it (for an FRC project, the project's own folder). Without -c, Robot Designer asks which project to open: one you opened recently, or a folder you choose.
If Robot Designer's Python packages are missing or out of date, the script installs them first. This takes a minute or two, then Robot Designer opens.
Options
| Option | What it does |
|---|---|
-c, --code-dir TEAMCODE | Your project's TeamCode folder. Without it, Robot Designer asks. |
-a, --auton FILE | Open this auton script on start, e.g. -a path/to/AutonScripts/blueLeft_MyAuton.json. |
-d, --dark-mode | Use dark colors even when your computer is in light mode. |
-x, --config FILE | Use this config.json for the commands scripts can use. By default it's TeamCode/config.json. |
-h, --help | List every option. |
The menus
- File: Open Project… opens another robot project and Open Recent one you opened before. Robot Designer closes, saving what you were editing, and starts again on the project you chose. Project Folders… shows the folders the project keeps its files in, as Folders… at the bottom of the window does. Set Up Field… sets the field's picture, how it is turned, each drive team's side and how it mirrors, whether or not it has a picture yet: the same dialog as Set up field… on a field with no picture.
- Edit: Undo and Redo take back and make again the last change on the tab you are on, and say what it was.
- Help: the guide for the tab you are on, all the guides, the keyboard shortcuts, and About, which says which version of Robot Designer and of the robot library you have.
Update Robot Designer
With the update script
- Save your work and close Robot Designer.
- Double-click
update.command(Mac) orupdate.bat(Windows) in theAutonGuifolder.
It gets the team's latest version from GitHub and merges it into your branch. It won't run if you have unsaved changes. If your changes clash with the team's, it changes nothing and tells you to ask a mentor.
Your robot project's own update.command / update.bat, if it has one, runs this one too. It also updates the robot library.
From inside Robot Designer
Robot Designer checks for updates a few seconds after it starts, then every 15 minutes. It checks both Robot Designer and your robot project.
- When an update is available, Update available and an Update button appear at the bottom right. Hover over them to see what is behind, for example: Updates available: Robot Designer (2 new commits).
- Click Update.
- Click Restart to use the new version now, or Close to restart later.
Things to know:
- Robot code changes reach the robot and the simulator only after the code is rebuilt.
- A copy with commits of its own is not updated. Update it by hand.
- If an update fails, the dialog says why. The full output is in the terminal.
- If an update needs new Python packages, a terminal window opens to install them. Robot Designer reopens by itself a minute or two later.
The window
Robot Designer remembers its size, position, dividers and collapsed panels.
On Simulate Robot and Live Robot, the divider beside the field resets to make the field as big as possible whenever the window's height changes.