Difference between revisions of "Programming"
Dsteinmark (talk | contribs) |
Dsteinmark (talk | contribs) |
||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
== Getting Started == | == Getting Started == | ||
=== The IDE === | === The IDE === | ||
| Line 9: | Line 7: | ||
There are [https://www.upgrad.com/blog/intellij-idea-vs-eclipse-the-holy-war/ long standing battles] as to [https://dzone.com/articles/why-idea-better-eclipse which IDE] is [https://dzone.com/articles/i-still-prefer-eclipse-over-intellij-idea better]. However, as most of the tutorials available for FRC are given in Eclipse, everyone needs to know Eclipse. | There are [https://www.upgrad.com/blog/intellij-idea-vs-eclipse-the-holy-war/ long standing battles] as to [https://dzone.com/articles/why-idea-better-eclipse which IDE] is [https://dzone.com/articles/i-still-prefer-eclipse-over-intellij-idea better]. However, as most of the tutorials available for FRC are given in Eclipse, everyone needs to know Eclipse. | ||
| − | * [[Installing and Using Eclipse IDE]] | + | * [[Installing and Using Eclipse IDE]] (mandatory) |
| − | * [[Installing and Using IntelliJ IDEA]] | + | * [[Installing and Using IntelliJ IDEA]] (optional) |
=== Java === | === Java === | ||
| − | Java is the language we use primarily to program the FRC robots. | + | Java is the language we use primarily to program the FRC robots. It is a general purpose programming language that can do almost any variety of tasks. It works hand-in-hand with WPI Lib to control the robot. |
| − | + | See the [[Java]] page to learn more about how we use Java. | |
=== The RoboRIO === | === The RoboRIO === | ||
| + | The RoboRIO is a small embedded computer designed to control all functions on the robot, providing a variety input/output (I/O) facilities. | ||
(TBD more on the RoboRIO) | (TBD more on the RoboRIO) | ||
| Line 44: | Line 43: | ||
'''To be moved''' | '''To be moved''' | ||
| + | [Needs more hierarchy] | ||
* [[FTP/SSH/SCP/PuTTY/Keys]] | * [[FTP/SSH/SCP/PuTTY/Keys]] | ||
Revision as of 20:31, 6 August 2018
Getting Started
The IDE
The Integrated Development Environment (IDE), sometimes known as the editor is your way of editing and compiling your code. On this project, the default IDE that everyone needs to know is the Eclipse IDE. It's pretty much the standard IDE that has a wide array of useful features for editing a number of different languages.
Another IDE that the team has enjoyed is IntelliJ IDEA, which has some appreciated features that Eclipse lacks by default, such as integrated version control. However, that can be remedied by plugins for Eclipse, such as EGit.
There are long standing battles as to which IDE is better. However, as most of the tutorials available for FRC are given in Eclipse, everyone needs to know Eclipse.
- Installing and Using Eclipse IDE (mandatory)
- Installing and Using IntelliJ IDEA (optional)
Java
Java is the language we use primarily to program the FRC robots. It is a general purpose programming language that can do almost any variety of tasks. It works hand-in-hand with WPI Lib to control the robot.
See the Java page to learn more about how we use Java.
The RoboRIO
The RoboRIO is a small embedded computer designed to control all functions on the robot, providing a variety input/output (I/O) facilities. (TBD more on the RoboRIO)
WPI Lib
(TBD more on the WPI Lib)
LabVIEW and the Driver Station
(TBD more on the LabVIEW, Dashboard, Driver Station)
Version Control
(TBD more on the Version control and Git)
Project Documentation
TBD
Additional Topics
| Index of all Topics | Beginner Topics | Intermediate Topics | Advanced Topics |
To be moved [Needs more hierarchy]
- What they are, how they work, how use them and any FRC11 policies.
- Tutorials (all programmers should walk through this)
- * Note: you should look through the code some minor items (imports) are glossed over
- * FRC Java Command-based Programming Tutorials
- Languages
- Cygwin,
- Bash and
- PowerShell
- Oracle VirtualBox, VMware/Fusion, Parallels, KVM, Xen.
- Red Hat, Debian, (X/K/L)Ubuntu, LXLE, Mint, Zorin, ChruchBase, Arch(Bang), and 'NI Linux Real-Time' (which is a rip of Red Hat Linux with modifications to preempt kernel functions to make it more realtime).
- At least IFI to RoboRio.
- For cRio and RoboRIO.
- Also communicating with co-processors using UDP or TCP.
- Plus mDNS.
Custom USB devices on the Driver Station or digital I/O
- Also SPI, I2C devices on the RoboRio.
CameraServer to the Driver Station
- Live video from a Logitech C920
- USB cameras on Linux,
- Maybe Grip and
- The LimeLight
Using the Kangaroo for video coprocessing