Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 29: Line 29:
<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 46: Line 47:


[[Preseason_Lesson4|Lesson 4]]: Change motor speed using joystick
[[Preseason_Lesson4|Lesson 4]]: Change motor speed using joystick
</div> </div> </div> </div> </div> </div> </div> </div> </div> </div></div></div></div></div></div>
 
[[Preseason_Lesson5|Lesson 5]]: Read encoder
</div> </div> </div> </div> </div> </div> </div> </div> </div> </div></div></div></div></div></div></div>

Revision as of 10:23, 9 December 2019

FRC and WPILib References

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