Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference WPILib installing vendordeps #136

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions source/ch05a_CppJava.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,7 @@ Once the project is created, ensure project builds. Testing robot deploy is als
FRC C++/Java – Add Phoenix
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Right-Click on "build.gradle" in the project tree, then select "Manage Vendor Libraries".

.. image:: img/verify-4.png

At the top of your screen, a menu will appear. Select "Install new libraries (offline)".

.. tip:: Alternatively you can use "Install new libraries (online)" option with https://maven.ctr-electronics.com/release/com/ctre/phoenix/Phoenix5-frc2023-latest.json. However this is **not recommended** as this requires a live Internet connection to use your FRC project.

.. image:: img/verify-5.png


The menu will now display a list of vendor libraries you can install. Check "CTRE Phoenix", then click "OK"

.. image:: img/verify-6.png

.. note:: This will bring the library into the project references, however the library will not be loaded if the source code does not create a Phoenix object or call any Phoenix routines. Therefore, you must create a Phoenix object to properly test the install.

.. tip:: Teams can verify Phoenix is in their robot project by checking for the existence of vendordeps/Phoenix.json in the project directory.
See the `WPILib documentation <https://docs.wpilib.org/en/stable/docs/software/vscode-overview/3rd-party-libraries.html>`__ on installing vendordeps.

FRC C++ Build Test: Single Talon
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading