Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 1.85 KB

ctre.rst

File metadata and controls

76 lines (45 loc) · 1.85 KB

robotpy-ctre install

Setup (tests/simulator)

If you intend to use robotpy-ctre in your robot tests or via the robot simulator, you must install this package locally. It is recommended to install using the robotpy meta package:

Windows

py -3 -m pip install -U robotpy[ctre]

Linux/macOS

pip3 install -U robotpy[ctre]

Setup (RoboRIO)

Even if you have robotpy-ctre installed locally, you must install it on your robot separately. See below.

Python package

You really don't want to compile this yourself, so don't download this from pypi and install it. Use the RobotPy installer and run the following on your computer while connected to the internet:

Windows

py -3 -m robotpy_installer download -U robotpy[ctre]

Linux/macOS

robotpy-installer download -U robotpy[ctre]

Then, when connected to the roborio's network, run:

Windows

py -3 -m robotpy_installer install robotpy[ctre]

Linux/macOS

robotpy-installer install robotpy[ctre]

For additional details about running robotpy-installer on your computer, see the robotpy-installer documentation <install_packages>.

NI Web Dashboard (optional)

CTRE Phoenix can integrate with the NI Web Dashboard on the RoboRIO. This is not required to run robotpy-ctre on the RoboRIO, but it can be a useful diagnostic tool. To install this, you will need to use the CTRE Lifeboat tool to install it separately.

Refer to the CTRE documentation for more details.