This repository contains files separated by category. The file will depend on the type of test you would like to perform on the robot.
For more information about the setup of RobotPy's packages, click here.
After cloning the repository, you must have Python 3 and pip installed on your computer.
It is recommended to use robotpy sync
, but you can use pip directly as an alternative.
- Using pip command directly
py -3 -m pip install -r requirements.txt
- Sync to install/update 3rd party packages
py -3 -m robotpy sync
- Using pip command directly
python3 -m pip install -r requirements.txt
- Sync to install/update 3rd party packages
python3 -m robotpy sync
For more information, click here.
Since 2024, you must need to initialize a RobotPy package to create a new pyproject.toml
file.
- Initialize a FRC Python project
py -3 -m robotpy init
- Executing Robot Simulator
py -3 -m robotpy sim
- Deploy to the robot
py -3 -m robotpy deploy
- Initialize a FRC Python project
python3 -m robotpy init
- Executing Robot Simulator
python3 -m robotpy sim
- Deploy to the robot
python3 -m robotpy deploy
Please check out the RobotPy's porting guide for a variety of guidelines for new examples.