Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 44: Line 44:
* [[Preseason_Lesson2|Lesson 2]]: Control motor direction using a gamepad
* [[Preseason_Lesson2|Lesson 2]]: Control motor direction using a gamepad
* [[Preseason_Lesson3|Lesson 3]]: Using Digital sensors to limit range of motion
* [[Preseason_Lesson3|Lesson 3]]: Using Digital sensors to limit range of motion
* [[Preseason_Lesson3|Lesson 4]]: Controlling motor output speed
* [[Preseason_Lesson4|Lesson 4]]: Controlling motor output speed

Revision as of 15:02, 20 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

 

Preseason Software Installation

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

    1. THESE INSTRUCTIONS AND LINKS ARE FOR 2021 ONLY!
    2. MAKE SURE TO DO THESE IN ORDER!
    3. Install WPILib - Instructions and Download Link
    4. Install CTRE Phoenix Libraries Download Link
    5. 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