Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
Line 22: Line 22:
= Preseason Software Installation =
= Preseason Software Installation =
Here are instruction and download links if you want to install the software to your own computer:
Here are instruction and download links if you want to install the software to your own computer:
*# '''THESE INSTRUCTIONS AND LINKS ARE FOR 2021 ONLY!'''
* '''THESE INSTRUCTIONS AND LINKS ARE FOR 2021 ONLY!'''
*# '''MAKE SURE TO DO THESE IN ORDER!'''
* '''MAKE SURE TO DO THESE IN ORDER!'''
*# Install WPILib - [https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/wpilib-setup.html Instructions] and [https://github.com/wpilibsuite/allwpilib/releases/download/v2021.3.1/WPILib_Windows64-2021.3.1.iso Download Link]
*# Install WPILib - [https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/wpilib-setup.html Instructions] and [https://github.com/wpilibsuite/allwpilib/releases/download/v2021.3.1/WPILib_Windows64-2021.3.1.iso Download Link]
*# Install CTRE Phoenix Libraries [https://github.com/CrossTheRoadElec/Phoenix-Releases/releases/download/v5.19.4.1/CTRE_Phoenix_Framework_v5.19.4.1.exe Download Link]
*# Install CTRE Phoenix Libraries [https://github.com/CrossTheRoadElec/Phoenix-Releases/releases/download/v5.19.4.1/CTRE_Phoenix_Framework_v5.19.4.1.exe Download Link]
*# '''If you are just doing programming you can skip this step!''' This step is only needed if you want the Driver Station Software: install FRC Game Tools using [https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/frc-game-tools.html these instructions].  
*# '''If you are just doing programming you can skip this step!''' This step is only needed if you want the Driver Station Software: install FRC Game Tools using [https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/frc-game-tools.html these instructions].
 


= Programming Preseason =
= Programming Preseason =

Revision as of 19:29, 11 January 2022

Programming Sub-pages and Links

FRC and WPILib References


Quite Useful Things to Remember

Camera Server Port is 1181

Color sensor proximity reading ranges from 0-2048, the higher the value the closer the surface. A reading of ~300 or greater is enough for a reliable color read

Preseason Software Installation

Here are instruction and download links if you want to install the software to your own computer:

  • THESE INSTRUCTIONS AND LINKS ARE FOR 2021 ONLY!
  • MAKE SURE TO DO THESE IN ORDER!
    1. Install WPILib - Instructions and Download Link
    2. Install CTRE Phoenix Libraries Download Link
    3. If you are just doing programming you can skip this step! This step is only needed if you want the Driver Station Software: install FRC Game Tools using these instructions.

Programming Preseason

Lessons

  • Lesson 1: Make a motor run
  • Lesson 2: Control motor direction using a gamepad
  • Lesson 3: Using Digital sensors to limit range of motion
  • Lesson 4: Controlling motor output speed
  • Lesson 5: Control motor based on an encoder