Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 30: Line 30:
*[[Preseason_Build_Project|<font color="#0066cc">Build a Project</font>]]  
*[[Preseason_Build_Project|<font color="#0066cc">Build a Project</font>]]  
*[[Preseason_Deploy_Code|<font color="#0066cc">Deploy a Project to Robot</font>]]  
*[[Preseason_Deploy_Code|<font color="#0066cc">Deploy a Project to Robot</font>]]  
* Software Installation:
*# '''THESE INSTRUCTIONS AND LINKS ARE FOR 2021 ONLY!'''
*# '''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 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].


== Lessons ==
== Lessons ==

Revision as of 19:12, 6 December 2021

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

 

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