Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output">
= Programming Sub-pages and Links =
= Programming Sub-pages and Links =


Line 5: Line 4:
*[http://www.svn.penfieldrobotics.com/ Online browsing of our SVN Tree]  
*[http://www.svn.penfieldrobotics.com/ Online browsing of our SVN Tree]  
*[[Team_Laptop_Info|Team Laptop Info]]  
*[[Team_Laptop_Info|Team Laptop Info]]  
</div> </div> </div> </div> </div> </div>


= FRC and WPILib References =
= FRC and WPILib References =
Line 15: Line 13:
**[http://www.ctr-electronics.com/downloads/api/cpp/html/index.html CTRE Phoenix API] - API Reference   
**[http://www.ctr-electronics.com/downloads/api/cpp/html/index.html CTRE Phoenix API] - API Reference   


<div class="mw-parser-output">


= Quite Useful Things to Remember =
= Quite Useful Things to Remember =
Line 22: Line 19:


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
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
<div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output">&nbsp;</div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div>


= Preseason Software Installation =
= Preseason Software Installation =

Revision as of 18:28, 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:

    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
  • Lesson 5: Control motor based on an encoder