Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
Line 27: Line 27:


*[[Media:Programming.pdf|C++ Overview Slides]]
*[[Media:Programming.pdf|C++ Overview Slides]]
*[[PreSeason_Create_Test_Project|<font color="#0066cc">Create Test Project</font>]]: Do this before starting any lessons
*[[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>]]  
Line 34: Line 35:
== Lessons ==
== Lessons ==
<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">
* [[PreSeason_Create_Test_Project|<font color="#0066cc">Create Test Project</font>]]: Do this before starting any lessons
* [[Preseason_Lesson1|Lesson 1]]: Make a motor run
* [[Preseason_Lesson1|Lesson 1]]: Make a motor run
* [[Preseason_Lesson2|Lesson 2]]: Control motor direction using the joystick
* [[Preseason_Lesson2|Lesson 2]]: Control motor direction using the joystick

Revision as of 20:47, 28 November 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 the joystick
  • Lesson 3: Automatically stop motor when limit switch is tripped
  • Lesson 4: Change motor speed using joystick
  • Lesson 5: Read encoder while motor moves
  • Lesson 6: Turbo and Slow speed