Difference between revisions of "Getting Started Tutorials - Programming"
Dsteinmark (talk | contribs) (→Python) |
Dsteinmark (talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | There are lots of different programming languages. Most of the languages we are familiar with are ''Procedural'' languages (like ''C'', ''python'' or ''Pascal''), or ''Object oriented languages'', many of which happen to have significant roots in procedural languages (like ''C++'' or ''Java''. There are other types of languages that are quite different, like ''Functional'' languages such as ''Lisp'' which is often used in Artificial Intelligence, and ''Logic'' languages, such as ''Prolog''. | ||
| + | |||
| + | Here we only cover languages likely to be used on our team - Java and Python. | ||
| + | |||
== Java == | == Java == | ||
* [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java] | * [https://wpilib.screenstepslive.com/s/4485/m/13809 FRC/WPI Java] | ||
Revision as of 21:16, 20 October 2018
There are lots of different programming languages. Most of the languages we are familiar with are Procedural languages (like C, python or Pascal), or Object oriented languages, many of which happen to have significant roots in procedural languages (like C++ or Java. There are other types of languages that are quite different, like Functional languages such as Lisp which is often used in Artificial Intelligence, and Logic languages, such as Prolog.
Here we only cover languages likely to be used on our team - Java and Python.
Java
FRC Java Tutorials
FRC Java Command-based Programming Tutorial Playlist (1.5 hrs)
- FRC Java Programming Tutorial Part 1: Project Setup
- FRC Java Programming Tutorial Part 2: Basic Drivebase
- FRC Java Programming Tutorial Part 3: Setting up Tank Drive Controls
- FRC Java Programming Tutorial Part 4: How to use TalonSRXs
- FRC Java Programming Tutorial Part 5: Version Control
- FRC Java Programming Tutorial Part 6: WPILIB PID
Note: when watching the videos, you should stop and look through the code that is discussed. Some minor items (such as imports) are glossed over. For example, if you have unreferenced calls in your code, compare the code on screen with what you have - you may have to import an additional library. Hover over unresolved items. Usually, you want to import the correct library.