Programming: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 34: Line 34:
== Files ==
== Files ==
<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">
=== Initial ===
=== Initial ===


Create a 'test' project following these instructions: [http://penfieldrobotics.com/wiki/images/f/f4/Preseason_CreateProject.txt <font color="#0066cc">Create Test Project</font>]
1. Create a 'test' project following these instructions: [http://penfieldrobotics.com/wiki/images/f/f4/Preseason_CreateProject.txt <font color="#0066cc">Create Test Project</font>]


18. Replace the contents for the Robot.cpp and Robot.h files:<br/> &nbsp;&nbsp;&nbsp; 18a.&nbsp;download [http://penfieldrobotics.com/wiki/images/b/bc/Preseason_Initial.zip <font color="#0066cc">Preseason_Initial.zip</font>]<br/> &nbsp;&nbsp;&nbsp; 18b.&nbsp;copy Robot.cpp to C:\Users\Robotics\Desktop\preseason\test\src\main\cpp\Robot.cpp<br/> &nbsp;&nbsp;&nbsp; 18c. copy Robot.h to C:\Users\Robotics\Desktop\preseason\test\src\main\include\Robot.h
NOTE: Get Robot.cpp & Robot.h file contents from:&nbsp; [http://penfieldrobotics.com/wiki/images/b/bc/Preseason_Initial.zip <font color="#0066cc">Preseason_Initial.zip</font>]


&nbsp;
2. Modify file to run motor:
</div> </div> </div> </div> </div>
</div>

Revision as of 10:12, 17 November 2019

FRC and WPILib References

Quite Useful Things to Remember

Camera Server Port is 1181

Programming Preseason

Files

Initial

1. Create a 'test' project following these instructions: Create Test Project

NOTE: Get Robot.cpp & Robot.h file contents from:  Preseason_Initial.zip

2. Modify file to run motor: