Difference between revisions of "Programming"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
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 lots of useful features for editing lots of different languages.
 
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 lots of useful features for editing lots 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.
+
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 [https://www.eclipse.org/egit/ EGit].
  
 
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.

Revision as of 17:25, 6 August 2018

[Needs more hierarchy]

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 lots of useful features for editing lots 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.

Java

Java is the language we use primarily to program the FRC robots.

(TBD more on Java)

The RoboRIO

(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

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
* FRC/WPI Java
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

Navigation using the Navx

Navigation using the RoboRIO sensors

Other RoboRIO sensors

Talon SRX CAN features

PID loops in the RoboRio

PID loops in the Talons