Programming: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) No edit summary |
Programming (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
Camera Server Port is 1181 | Camera Server Port is 1181 | ||
<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"><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"> | |||
= Programming Preseason = | = Programming Preseason = | ||
*[http://penfieldrobotics.com/wiki/images/a/a7/Programming.pdf <font color="#0066cc">C++ Overview Slides</font>] | *[http://penfieldrobotics.com/wiki/images/a/a7/Programming.pdf <font color="#0066cc">C++ Overview Slides</font>] | ||
*[ | *[[Preseason_Build_Project|<font color="#0066cc">Build a Project</font>]] | ||
*[http://penfieldrobotics.com/wiki/images/a/a0/Preseason_DeployProject.txt <font color="#0066cc">Deploy a Project to Robot</font>] | *[http://penfieldrobotics.com/wiki/images/a/a0/Preseason_DeployProject.txt <font color="#0066cc">Deploy a Project to Robot</font>] | ||
<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"> | |||
<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"> | |||
== 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"> | ||
Line 50: | Line 41: | ||
[[Preseason_Lesson5|Lesson 5]]: Read encoder while motor moves | [[Preseason_Lesson5|Lesson 5]]: Read encoder while motor moves | ||
</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 11:56, 9 December 2019
Programming Sub-pages and Links
FRC and WPILib References
- FRC Control System Documentation (aka "wpilib screensteps")
- 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
Programming Preseason
Lessons
Create a 'test' project following these instructions: Create Test Project
NOTE: Get Robot.cpp & Robot.h file contents from: Preseason_Initial.zip
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