Difference between revisions of "Java 9: Summary"
From Deep Blue Robotics Wiki
Nelson yip (Talk | contribs) |
Nelson yip (Talk | contribs) |
||
Line 13: | Line 13: | ||
[[http://wiki.carlmontrobotics.org/Java_2:_Object_Oriented_Programming '''Object-Oriented Programming''']] | [[http://wiki.carlmontrobotics.org/Java_2:_Object_Oriented_Programming '''Object-Oriented Programming''']] | ||
<ol start="1"> | <ol start="1"> | ||
− | <li>Objects and Classes - Collections of variables and methods | + | <li>Objects and Classes - Collections of variables and methods</li> |
− | <li>Methods - Actions that objects can perform | + | <li>Methods - Actions that objects can perform</li> |
− | <li>Instantiation - Creating a new object | + | <li>Instantiation - Creating a new object</li> |
− | <li>Fields - Variables that an object possesses | + | <li>Fields - Variables that an object possesses</li> |
− | <li>Modifiers - Keywords that affect properties of a variable, method, or class | + | <li>Modifiers - Keywords that affect properties of a variable, method, or class</li> |
− | <li>Type Casting - Converting between different data types | + | <li>Type Casting - Converting between different data types</li> |
− | <li>Imports - Bringing outside code into a program | + | <li>Imports - Bringing outside code into a program</li> |
− | <li>Math - A library of more advanced mathematical functions | + | <li>Math - A library of more advanced mathematical functions</li> |
− | <li>String - A class for manipulating strings of text | + | <li>String - A class for manipulating strings of text</li> |
− | <li>Array - A data structure that stores multiple values in a single variable | + | <li>Array - A data structure that stores multiple values in a single variable</li> |
− | <li>System I/O - Communicating with the program through the console | + | <li>System I/O - Communicating with the program through the console</li> |
− | + | </ol> | |
[[http://wiki.carlmontrobotics.org/Java_3:_WPILIB '''WPILib Basics''']] | [[http://wiki.carlmontrobotics.org/Java_3:_WPILIB '''WPILib Basics''']] | ||
<ol start="1"> | <ol start="1"> | ||
− | <li>FRC Updates - Installing the FRC software at kickoff or on new computers | + | <li>FRC Updates - Installing the FRC software at kickoff or on new computers</li> |
− | <li>Iterative Robot - A class containing robot methods that are repeatedly called | + | <li>Iterative Robot - A class containing robot methods that are repeatedly called</li> |
− | <li>WPILib - The FRC library | + | <li>WPILib - The FRC library</li> |
− | <li>Actuators - Components on the robot that can perform actions (outputs) | + | <li>Actuators - Components on the robot that can perform actions (outputs)</li> |
− | <li>Sensors - Components on the robot that can collect data (inputs) | + | <li>Sensors - Components on the robot that can collect data (inputs)</li> |
− | <li>Joysticks - Devices that the operator uses to control the robot (inputs) | + | <li>Joysticks - Devices that the operator uses to control the robot (inputs)</li> |
− | <li>RobotDrive - A class for controlling the robot drivetrain | + | <li>RobotDrive - A class for controlling the robot drivetrain</li> |
− | <li>FRC DriverStation - A program for operating the robot | + | <li>FRC DriverStation - A program for operating the robot</li> |
− | <li>SmartDashboard - A program for displaying robot output to the operator | + | <li>SmartDashboard - A program for displaying robot output to the operator</li> |
− | <li>Webdash - The online interface for the RoboRIO | + | <li>Webdash - The online interface for the RoboRIO</li> |
[[http://wiki.carlmontrobotics.org/Java_4:_Command-Based_Programming '''Command-Based Programming''']] | [[http://wiki.carlmontrobotics.org/Java_4:_Command-Based_Programming '''Command-Based Programming''']] | ||
Line 49: | Line 49: | ||
<li>SmartDashboard Continued - Using additional features of SmartDashboard</li> | <li>SmartDashboard Continued - Using additional features of SmartDashboard</li> | ||
<li>Timer - A class for keeping track of real time</li> | <li>Timer - A class for keeping track of real time</li> | ||
− | + | </ol> | |
[[http://wiki.carlmontrobotics.org/Java_5:_Inheritance '''Inheritance''']] | [[http://wiki.carlmontrobotics.org/Java_5:_Inheritance '''Inheritance''']] | ||
<ol start="1"> | <ol start="1"> | ||
Line 57: | Line 57: | ||
<li>Interfaces - Collections of methods that a class is required to implement</li> | <li>Interfaces - Collections of methods that a class is required to implement</li> | ||
<li>Inheritance Modifiers - Using abstract, default, final, and access modifiers with inheritance</li> | <li>Inheritance Modifiers - Using abstract, default, final, and access modifiers with inheritance</li> | ||
− | + | </ol> | |
[[http://wiki.carlmontrobotics.org/Java_6:_Design_Principles '''Design Principles''']] | [[http://wiki.carlmontrobotics.org/Java_6:_Design_Principles '''Design Principles''']] | ||
<ol start="1"> | <ol start="1"> | ||
− | Code Reuse - Not writing the same code twice | + | Code Reuse - Not writing the same code twice</li> |
− | Encapsulation - Keeping information self-contained | + | Encapsulation - Keeping information self-contained</li> |
− | Polymorphism - Using different data types interchangeably | + | Polymorphism - Using different data types interchangeably</li> |
− | Type Safety - Preventing incorrect use of data types | + | Type Safety - Preventing incorrect use of data types</li> |
− | Efficiency - Writing algorithms that use less processing power | + | Efficiency - Writing algorithms that use less processing power</li> |
− | Memory Management - Garbage collection and avoiding memory leaks | + | Memory Management - Garbage collection and avoiding memory leaks</li> |
− | + | </ol> | |
[[http://wiki.carlmontrobotics.org/Java_7:_Additional_Topics '''Additional Topics''']] | [[http://wiki.carlmontrobotics.org/Java_7:_Additional_Topics '''Additional Topics''']] | ||
<ol start="1"> | <ol start="1"> | ||
− | Nested Classes - Defining a class inside of another class | + | Nested Classes - Defining a class inside of another class</li> |
− | Generics - Generic datatypes that can represent any datatype | + | Generics - Generic datatypes that can represent any datatype</li> |
− | Enums - A special data type to define a collection of constants | + | Enums - A special data type to define a collection of constants</li> |
− | Exceptions - Errors thrown at runtime | + | Exceptions - Errors thrown at runtime</li> |
− | Threading - The sequence in which code is executed | + | Threading - The sequence in which code is executed</li> |
− | I/O Streams - Sequences of input or output information | + | I/O Streams - Sequences of input or output information</li> |
− | Graphics - Visual effects displayed on the screen by the program | + | Graphics - Visual effects displayed on the screen by the program</li> |
− | Annotations - A system for documenting code | + | Annotations - A system for documenting code</li> |
− | Regular Expressions - A technique for sorting through Strings | + | Regular Expressions - A technique for sorting through Strings</li> |
− | Dynamic Programming - A technique for making algorithms more efficient | + | Dynamic Programming - A technique for making algorithms more efficient</li> |
− | Functional Programming - A style of programming that avoids changes of state | + | Functional Programming - A style of programming that avoids changes of state</li> |
− | Stream Operations - Functional programming techniques for manipulating collections | + | Stream Operations - Functional programming techniques for manipulating collections</li> |
− | + | </ol> | |
'''Projects''' | '''Projects''' | ||
<ol start="1"> | <ol start="1"> | ||
− | Custom Widgets - Creating new widgets for the SmartDashboard | + | Custom Widgets - Creating new widgets for the SmartDashboard</li> |
− | Device Characterization - Investigating the usage of various actuators and sensors | + | Device Characterization - Investigating the usage of various actuators and sensors</li> |
− | Motion Profiling - Calculating a trajectory for the robot to follow | + | Motion Profiling - Calculating a trajectory for the robot to follow</li> |
− | NetTables Client - Reading data from network tables | + | NetTables Client - Reading data from network tables</li> |
− | PID Control - A type of feedback loop | + | PID Control - A type of feedback loop</li> |
− | RoboRIO Files - Storing files on the RoboRIO | + | RoboRIO Files - Storing files on the RoboRIO</li> |
− | Robot Simulator - A program that simulates the robot for testing purposes | + | Robot Simulator - A program that simulates the robot for testing purposes</li> |
− | Vision - Analyzing input from the camera | + | Vision - Analyzing input from the camera</li> |
+ | </ol> |
Revision as of 22:10, 22 September 2016
- Developer Tools - Eclipse (for writing code) and GitHub (for collaboration and version control)
- Hello World - A simple example of a Java program
- Data Types - Formats for storing information
- Variables - Data structures that store values
- Operators - Operations that can be performed on or between variables/values
- Control Statements - Statements that change the order in which code is executed
- Comments - Code that is not executed by the compiler
- Objects and Classes - Collections of variables and methods
- Methods - Actions that objects can perform
- Instantiation - Creating a new object
- Fields - Variables that an object possesses
- Modifiers - Keywords that affect properties of a variable, method, or class
- Type Casting - Converting between different data types
- Imports - Bringing outside code into a program
- Math - A library of more advanced mathematical functions
- String - A class for manipulating strings of text
- Array - A data structure that stores multiple values in a single variable
- System I/O - Communicating with the program through the console
- FRC Updates - Installing the FRC software at kickoff or on new computers
- Iterative Robot - A class containing robot methods that are repeatedly called
- WPILib - The FRC library
- Actuators - Components on the robot that can perform actions (outputs)
- Sensors - Components on the robot that can collect data (inputs)
- Joysticks - Devices that the operator uses to control the robot (inputs)
- RobotDrive - A class for controlling the robot drivetrain
- FRC DriverStation - A program for operating the robot
- SmartDashboard - A program for displaying robot output to the operator
- Webdash - The online interface for the RoboRIO
- Robot Builder - A program for generating the general framework of the robot code
- Robot Map - A class that maps actuators and sensors to their ports on the RoboRIO
- Subsystems - Parts of the robot that perform individual tasks
- Commands - Actions that the robot can perform
- Command Groups - Groups of actions for the robot to perform in sequence or in parallel
- Operator Interface - A class that maps the joysticks and buttons with robot commands
- Robot - An Iterative Robot class that manages the rest of the robot project
- SmartDashboard Continued - Using additional features of SmartDashboard
- Timer - A class for keeping track of real time
- Subclasses - Extensions of another class that inherit its code
- Overriding - Code in a subclass replacing code from a superclass
- Super - Accessing methods and constructors of a superclass
- Interfaces - Collections of methods that a class is required to implement
- Inheritance Modifiers - Using abstract, default, final, and access modifiers with inheritance
-
Code Reuse - Not writing the same code twice
Encapsulation - Keeping information self-contained
Polymorphism - Using different data types interchangeably
Type Safety - Preventing incorrect use of data types
Efficiency - Writing algorithms that use less processing power
Memory Management - Garbage collection and avoiding memory leaks
-
Nested Classes - Defining a class inside of another class
Generics - Generic datatypes that can represent any datatype
Enums - A special data type to define a collection of constants
Exceptions - Errors thrown at runtime
Threading - The sequence in which code is executed
I/O Streams - Sequences of input or output information
Graphics - Visual effects displayed on the screen by the program
Annotations - A system for documenting code
Regular Expressions - A technique for sorting through Strings
Dynamic Programming - A technique for making algorithms more efficient
Functional Programming - A style of programming that avoids changes of state
Stream Operations - Functional programming techniques for manipulating collections
Projects
-
Custom Widgets - Creating new widgets for the SmartDashboard
Device Characterization - Investigating the usage of various actuators and sensors
Motion Profiling - Calculating a trajectory for the robot to follow
NetTables Client - Reading data from network tables
PID Control - A type of feedback loop
RoboRIO Files - Storing files on the RoboRIO
Robot Simulator - A program that simulates the robot for testing purposes
Vision - Analyzing input from the camera