Skip to content

TaubatexasRobotics/resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resources and test files/modules

This repository contains files separated by category. The file will depend on the type of test you would like to perform on the robot.

Setup & Installation

For more information about the setup of RobotPy's packages, click here.

Prerequisites

After cloning the repository, you must have Python 3 and pip installed on your computer.

Installing packages

It is recommended to use robotpy sync, but you can use pip directly as an alternative.

Windows

  • Using pip command directly
py -3 -m pip install -r requirements.txt
  • Sync to install/update 3rd party packages
py -3 -m robotpy sync

Linux/macOS

  • Using pip command directly
python3 -m pip install -r requirements.txt
  • Sync to install/update 3rd party packages
python3 -m robotpy sync

Testing code

For more information, click here.
Since 2024, you must need to initialize a RobotPy package to create a new pyproject.toml file.

Windows

  • 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

Linux/macOS

  • Initialize a FRC Python project
python3 -m robotpy init
  • Executing Robot Simulator
python3 -m robotpy sim
  • Deploy to the robot
python3 -m robotpy deploy

Using Robot Simulator (Reminder highlighted in red)

Do not forget to enable a robot state!

Screenshot 2022-05-22 004139

Contributions

Please check out the RobotPy's porting guide for a variety of guidelines for new examples.

Credits

RobotPy (Python 3 for the FRC)
WPILib