Difference between revisions of "FTC State"

From wikidb
Jump to: navigation, search
(Example Code)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
* [https://www.youtube.com/watch?v=-J_m-FdO45c FTC State Machines Part 2]
 
* [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]
 
* [https://www.youtube.com/watch?v=cPgJ8bbBj_o 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.

Latest revision as of 11:58, 21 September 2018

References

A2818 State Tutorials

Example Code