Difference between revisions of "FTC State"
From wikidb
(Created page with " = Resources = * [http://stemrobotics.cs.pdx.edu/node/4746 Lesson: Exercise: Using Encoders] STEMRobotics - The example code I used * [http://modernroboticsedu.com/mod/lesson...") |
(→Example Code) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | = References = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | = | + | == A2818 State Tutorials == |
− | * [ | + | * [https://github.com/oscarrobotics/FTC-2015-OpModes/blob/master/A2818_StateMachine.java Example State Machine Java Code] |
− | * [ | + | * [https://www.youtube.com/watch?v=Pu7PMN5NGkQ FTC State Machines Part 1] |
+ | * [https://www.youtube.com/watch?v=-J_m-FdO45c FTC State Machines Part 2] | ||
+ | * [https://www.youtube.com/watch?v=cPgJ8bbBj_o FTC State Machines Part 3] | ||
− | = | + | = Example Code = |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | * [[FTC | + | * [[FTC Concept Ramp Motor Speed]] From the FTC SDK samples directory |
+ | * [[FTC Ramp Two Motors]]: Enhance above to include two motors | ||
+ | * [[FTC Enumerated State Names]]: Convert above from if-then-else to switch statement and enumerated state names | ||
+ | * [[FTC Bumper State Change]]: Modify above to use a touch sensor for a state change. | ||
+ | * [[FTC Timer Based Reverse]]: Modify above to stop reverse after a given time. |
Latest revision as of 11:58, 21 September 2018
References
A2818 State Tutorials
- Example State Machine Java Code
- FTC State Machines Part 1
- FTC State Machines Part 2
- FTC State Machines Part 3
Example Code
- FTC Concept Ramp Motor Speed From the FTC SDK samples directory
- FTC Ramp Two Motors: Enhance above to include two motors
- FTC Enumerated State Names: Convert above from if-then-else to switch statement and enumerated state names
- FTC Bumper State Change: Modify above to use a touch sensor for a state change.
- FTC Timer Based Reverse: Modify above to stop reverse after a given time.