Upload
antonia-hall
View
216
Download
1
Embed Size (px)
Citation preview
Presented byLee Zenke
2015 Java Programming PT. 2
• Lesson 1: Understanding the simple robot template▫Here I will explain the pre-created classes in the simple robot template
• Lesson 2: If, Else, and Else if▫Understanding how if statements are used and there syntax
• Lesson 3: Loops▫Here we will learn for loops, while loops, and do while loops
Training Outline
• Autonomous method▫ Called in autonomous mode
• operatorControl method▫ Called in Tel-op mode
• Test method▫ Called in test mode
Lesson 1: Understanding the Simple Robot Template
•Basic building block of any program•Can be nested to create logical chains
Lesson 2: If, Else, and Else If
•The Most common form of a loop used•Allow controlled loop counts•Self contained incrementing counter
Lesson 3: For Loops
•Simpler form of Loops•A pitfall is that they stick the code
Lesson 3: While Loops
•Exactly the same as while loops•Perform one iteration of code block whether true or not
Lesson 3: Do While Loops
Any Questions or thoughts?•https://www.udemy.com/java-tutorial learn java from the beginning•http://wpilib.screenstepslive.com/s/3120/m/7885 Useful info
provided by FIRST
Open Discussion and Common Issues