Programming: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
* [[Preseason_Lesson2|Lesson 2]]: Control motor direction using a gamepad | * [[Preseason_Lesson2|Lesson 2]]: Control motor direction using a gamepad | ||
* [[Preseason_Lesson3|Lesson 3]]: Using Digital sensors to limit range of motion | * [[Preseason_Lesson3|Lesson 3]]: Using Digital sensors to limit range of motion | ||
* [[Preseason_Lesson3|Lesson 4]]: Controlling motor output speed |
Revision as of 12:25, 20 December 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
Preseason Software Installation
Here are instruction and download links if you want to install the software to your own computer:
- THESE INSTRUCTIONS AND LINKS ARE FOR 2021 ONLY!
- MAKE SURE TO DO THESE IN ORDER!
- Install WPILib - Instructions and Download Link
- Install CTRE Phoenix Libraries Download Link
- If you are just doing programming you can skip this step! This step is only needed if you want the Driver Station Software: install FRC Game Tools using these instructions.
Programming Preseason
- C++ Overview Slides
- Create Test Project: Do this before starting any lessons
- Build a Project
- Deploy a Project to Robot