Difference between revisions of "FTC Make Coding Easier with Methods 20230112"

From wikidb
Jump to: navigation, search
(Code Outline)
(Check Point 1)
Line 9: Line 9:
 
* [https://github.com/edcepp/DeLaSalle/blob/main/DriveInASquareEpp.java DriveInASquareEpp.java]
 
* [https://github.com/edcepp/DeLaSalle/blob/main/DriveInASquareEpp.java DriveInASquareEpp.java]
  
= Check Point 1 =
+
= Check Points =
 +
 
 +
== Check Point 1 ==
  
 
* Copy the Drive In A Square program to your robot and test it.
 
* Copy the Drive In A Square program to your robot and test it.

Revision as of 11:31, 12 January 2023

Why Use Abstraction

  • Makes the program easier to think about
  • Makes is easier to test programs - we can test small part individually
  • Makes the code easier to user over and over saving time. We can more easily takes code from one program and use it somewhere else.
  • Makes code more reliable by allowing us to use the same code over and over.

More the Robot in a Square Demo Code

Check Points

Check Point 1

  • Copy the Drive In A Square program to your robot and test it.