Skip to content

Commit

Permalink
Add pathplannerlib
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Apr 3, 2022
1 parent 777f14f commit 2d63636
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Notes specific to individual packages
commands
ctre
navx
pathplannerlib
photonvision
pwfusion
rev
Expand Down
65 changes: 65 additions & 0 deletions install/pathplannerlib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
.. _install_pathplannerlib:

robotpy-pathplannerlib install
==============================

Setup (tests/simulator)
-----------------------

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

.. tab:: Windows

.. code-block:: sh
py -3 -m pip install -U robotpy[pathplannerlib]
.. tab:: Linux/macOS

.. code-block:: sh
pip3 install -U robotpy[pathplannerlib]
Setup (RoboRIO)
---------------

Even if you have robotpy-pathplannerlib 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:

.. tab:: Windows

.. code-block:: sh
py -3 -m robotpy_installer download -U robotpy[pathplannerlib]
.. tab:: Linux/macOS

.. code-block:: sh
robotpy-installer download -U robotpy[pathplannerlib]
Then, when connected to the roborio's network, run:

.. tab:: Windows

.. code-block:: sh
py -3 -m robotpy_installer install robotpy[pathplannerlib]
.. tab:: Linux/macOS

.. code-block:: sh
robotpy-installer install robotpy[pathplannerlib]
For additional details about running robotpy-installer on your computer, see
the :ref:`robotpy-installer documentation <install_packages>`.

0 comments on commit 2d63636

Please sign in to comment.