Data Collection - frc-7603/VespaRobotics2024-25 GitHub Wiki
Info Pages
Overview
Info pages, otherwise known as "Documentation" or "Docs", are simply websites that have tons of information on certain topics. These info pages are used all the time by the top teams in order to get the best out of the resources that have available.
Collection
In order to keep expanding on pre-existing pages, or to simply re-direct users on the wiki to the official documentation, we ask you to simply provide us with 2 things in order to add to the collection. Here's the template we want you to use:
Topic name: link
Down below you can add to our list using the above template. Contribute away!
WPILib IDE
Swerve Drive Collections:
- Swerve Drive: https://compendium.readthedocs.io/en/latest/tasks/drivetrains/swerve.html
- More Swerve Drive: https://v6.docs.ctr-electronics.com/en/stable/docs/api-reference/mechanisms/swerve/swerve-overview.html
- Swerve Drive References: https://v6.docs.ctr-electronics.com/en/stable/docs/api-reference/mechanisms/swerve/swerve-builder-api.html
- Swerve Drive Encoders: https://v5.docs.ctr-electronics.com/en/latest/ch12a_BringUpCANCoder.html?authuser=0
- Swerve Drive Encoders (PDF Manual): https://drive.google.com/file/d/1IUe4ZwoPu-x50IEQJe70WBDCIrXc41TE/view
Misc
- Code Simulation: https://docs.wpilib.org/en/stable/docs/software/wpilib-tools/robot-simulation/introduction.html
Libraries
Overview
Libraries are packaged information (usually in the form of functions, variables, classes, etc) in a pre-made file used for code development. Without libraries, programming would go by slowly, as everyone has to independently write their own version of the functions in order to complete work. Libraries save time, and allow for programmers to share their data that provides a niche or wide use in the computer science world. They are also called "modules" in python.
They often come in .dll files or .json files.
Some examples may include:
- "time" (python)
- "VictorSPX" (java (wpilib variation))
- "TensorPage" (python, c++)
- "LiquidCrystal" (c++ (arduino variation))
- "geoip" (ruby)
Libraries usually need to be imported, usually via downloading, which can get pretty messy depending on how you manage your data (terminal based or gui, either might have issues). That's why WPILIB has a built-in download tool which downloads whichever libraries you need, given the link.
Process
Libraries can be downloaded by doing the following things:
- Press the WPILIB logo that is in the top right of the WPILIB VS Code application
- Look for "WPILIB: Manage vendor libraries". If it isn't there, type it out in the box above.
- Select "Install New Libraries (Online)"
- Paste the link for the libraries in the box and press enter
- When asked to run a build task to check, agree and run the build task (it will run automatically, given that you pressed the right button)
Collection
In order to keep all of our teammates updated, every vendor library will have it's link provided here! If you notice something is missing, add it! Just make sure you follow this template:
Library name: library link (year) (tested or untested)
Now here are all of our libraries currently documented:
- PhotonLib: https://maven.photonvision.org/repository/internal/org/photonvision/photonlib-json/1.0/photonlib-json-1.0.json (2025) (Untested)
- Phoenix 6: https://maven.ctr-electronics.com/release/com/ctre/phoenix6/latest/Phoenix6-frc2025-latest.json (2025) (Untested)