Each lab PC has a dedicated github account associated with it (lab1-3985). Since we still want to know who coded what, make sure to include your name in the commit message. See the example below:
git commit -m "[Nathan] {your commit message here}"To view all available robotpy commands, use the following command:
# Windows
py -3 -m robotpy
# Linux
python3 -m robotpyYou can pass the
--helpargument to see more information about the subcommand.For example, to see help for the sim command you can do the following:
# Windows py -3 -m robotpy sim --help # Linux python3 -m robotpy sim --help
In order to run the robot code, use the following command:
# Windows
py -3 robot.py
# Linux
python3 robot.pySee full guide on running robot code here
You can deploy robot code to a robot you're connected to using:
# Windows
py -3 robot.py deploy
# Linux
python3 robot.py deployBefore deploying, make sure you have used the
cdcommand to navigate to the/srcdirectory. This needs to be done because we only want to deploy the code present in the/srcfolder to the robot (due to memory limitations).
See full guide on deploying robot code here
WPILib provides a simulator to test your code without being physically connected to a robot.
A robot simulation is available for testing. Read the full documentation here.
You can run it with the following command:
# Windows
py -3 -m robotpy sim
# Linux and macOS
python3 -m robotpy simFollow this guide to enable whichever dashboard you plan on using during the simulation.
You can also manually run unit tests using:
# Windows
py -3 -m robot.py test
# Linux
python3 -m robot.py testFollow this guide.
Make sure to select
Tools Onlyas we install the software related dependencies in this section.
To install FRC's game tools for 2026, follow this guide.
Make sure to choose the most recent version. FRC comes out with patches fairly often throughout the season.
Note: If you're on windows and you don't see the mount option after right clicking the iso file, you can open the file using
Open withthenWindows Explorer.
Once installed, you'll have access to these tools:
- FRC Driver Station
- FRC roboRIO Imaging Tool and Images
To install the 2026 WPILib programming environment for python, either follow this guide.
If you're unsure of what options to choose during the install, follow these steps:
To get started, install python version 3.14.2 from these links and run the installer:
Installation Steps:
- Select Modify
- Click Next
- Select
Associate files with Pythonthen click install - After installing you can check if everything worked by:
- Opening a terminal (Press the windows key and search for
cmd) - Using the following command to check the version of python installed on your system:
py --version
- Opening a terminal (Press the windows key and search for
Follow the instructions here to install VSCode.
If you're new to VSCode, WPILib's docs have a good starting guide explaining the basics.
Note: Since our team uses Python to program the robot, we can't make use of the WPILib VsCode extension (So there's no need to install it).
In order to gain access to the robot code, clone the Sonic Howl frc2026 repo.
If you don't know how to do this, follow these steps:
- Open the repository link in your browser
- Click on the green
<> Codebutton, choose HTTPS and copy the link to your clipboard. - Launch the
VS Codeapplication. - Open the terminal by pressing the
CTRL + ~keys. - Try to navigate to the
codedirectory using the following commands:- Windows:
cd ~; cd code - Linux / MacOS:
cd ~ && cd code
- Windows:
- If you get an error saying "Cannot find path 'C:\code' because it does not exist." or similar, use the following command to create a new
codedirectory:mkdir code - Enter the command
git clone <<the link you copied here>>. (The command should look like this:git clone https://github.com/sonic-howl/frc2026) - Use the following command to open the newly cloned repository:
cd frc2026 - From the terminal, you can use the
code .command to open VsCode in the current directory. Just make sure you're in the~/code/frc2026directory before using it (The~represents your system's home directory [Example:C:\Users\Nathan]). - Extra: Ask one of the organization admins to add you to the repo. (Neil, Nathan, Ramez).
If you get an error mentioning that git isn't installed (or that no command named git exists), download and install it here.
Now that you've cloned the project we can proceed to downloading the project's dependencies.
Depending on your operating system, run the appropriate command in your terminal to install the project's dependencies.
For Windows
# Uninstall old version of robotpy
py -m pip uninstall robotpy# Install robotpy
py -3 -m pip install robotpy
# You can use the --upgrade flag before the robotpy command to upgrade your version
py -3 -m pip install --upgrade robotpy# Install project's dependancies
py -3 -m robotpy syncI got a lot of issues with my python packages since they were previously installed globally. If you encounter any issues with the install, try running this command
py -3 -m pip freeze | ForEach-Object { py -3 -m pip uninstall -y $_ }to uninstall all of your packages. Then, rerun the installation steps above.
For Linux and macOS
# Uninstall old version of robotpy
python3 -m pip uninstall robotpy# Install robotpy
python3 -m pip install robotpy
# You can use the --upgrade flag before the robotpy command to upgrade your version
python3 -m pip install --upgrade robotpy# Install project's dependancies
python3 -m robotpy syncThrough the season we're going to be typing py -3 -m A LOT. In order to simplify things, we can create an alias for this command.
Windows:
- Open your terminal (In VsCode press
~, or press the windows key and search forcmd) - Check if you already have a windows profile file by typing
$PROFILEin your terminal.
- If the file doesn't exist create it with
New-Item -Path $PROFILE -ItemType File -Force
- Open the file by using
code $PROFILE - Insert and save this block of code in the file:
Set-Alias cl clear Function pym { py -3 -m $args }
- Reload the profile file by using
. $PROFILE - Now instead of typing
py -3 -myou can simply use the much shorter commandpym.
If you get an error saying "running scripts is disabled on this system", use this command to change windows execution policy:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Here's an example of how you'd use the command before and after adding the alias:
- Before:
py -3 -m pip install robotpy - After:
pym pip install robotpy
In order to complete these steps, you will need to install the FRC Game Tools.
The FRC 2026 season will require all RoboRIOs to be flashed with a new image. To update the RoboRIOs, please follow the guide depending on what version of RIO you have.
Similar to the RoboRIO, the radio used to communicate with the bot must also be flashed with the latest firmware. Follow this guide to do so.


