Programming: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Line 34: | Line 34: | ||
== 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_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| | * [[Preseason_Lesson2|Lesson 2]]: Control motor direction using the joystick | ||
* [[Preseason_Lesson3|Lesson 3]]: Automatically stop motor when limit switch is tripped | |||
[[Preseason_Lesson2|Lesson 2]]: Control motor direction using the joystick | * [[Preseason_Lesson4|Lesson 4]]: Change motor speed using joystick | ||
* [[Preseason_Lesson5|Lesson 5]]: Read encoder while motor moves | |||
[[Preseason_Lesson3|Lesson 3]]: Automatically stop motor when limit switch is tripped | * [[Preseason_Lesson6|Lesson 6]]: Turbo and Slow speed | ||
[[Preseason_Lesson4|Lesson 4]]: Change motor speed using joystick | |||
[[Preseason_Lesson5|Lesson 5]]: Read encoder while motor moves | |||
[[Preseason_Lesson6|Lesson 6]]: Turbo and Slow speed | |||
</div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div></div></div></div></div> | </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div></div></div></div></div> |
Revision as of 20:09, 27 November 2021
Programming Sub-pages and Links
FRC and WPILib References
- FRC Control System Documentation
- FRC C++ WPILib API Docs
- CTRE Phoenix - Third party software drivers used to talk to Talon SRX's over CAN bus:
- CTRE Phoenix Docs - Verbose documentation and detailed guides
- CTRE Phoenix API - API Reference
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
- Create Test Project: Do this before starting any 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