Difference between revisions of "Programming"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
== Getting Started - Intros and Installs ==
+
== Getting Started ==
 +
* [[Programming MORT U presentation to other subteams]]
  
−
* [[Programming - Getting Started | Getting Started]]
+
* [[Programming - Getting Started | Getting Started - Intros and Installs]]
 +
:* MORT U
 
:* The IDE
 
:* The IDE
 
:* Java
 
:* Java
 
:* The RoboRIO
 
:* The RoboRIO
−
:* WIP Lib
+
:* WPI Lib
 
:* LabVIEW and the Driver Station/Classmate
 
:* LabVIEW and the Driver Station/Classmate
 
:* Version Control/Configuration Management - with Git
 
:* Version Control/Configuration Management - with Git
 
:* Day 1 Installs
 
:* Day 1 Installs
 +
 +
* [[Programming - Getting Started Tutorials | Getting Started Tutorials]]
 +
:* Java - Command Based Programming
 +
:* Python
 +
:* IntelliJ
 +
:* Git
 +
 +
== Documents Guides and References ==
 +
[https://mort11.com/mentor.wiki/index.php/Java#Documents.2C_Guides.2C_and_References Java/WPILib/etc Documents, Guides and References]
 +
 +
[https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=2ahUKEwiJytKAodDgAhWr7YMKHTHIC-kQFjAAegQIChAC&url=http%3A%2F%2Fwww.ni.com%2Fpdf%2Fmanuals%2F374474a.pdf&usg=AOvVaw1akx_AAD22yWbQns7ZTw5m RoboRIO User Manual]
 +
 +
[[Field Network Settings]]
 +
 +
== Code: Examples, Programming Techniques ==
 +
[[Code | Code Page]]
 +
 +
:Links to Project Code, Example Code, Shared Code, in Gitlab, Github, and elsewhere
 +
 +
== Programming Languages ==
 +
[[Programming Languages]]
 +
 +
:Java, WPI Lib, and Python (Intros, and links to individual pages with more info)
 +
 +
== Design ==
 +
[[Software Design | How to Design Software]]
 +
 +
Ways to design software, including:
 +
 +
* Flow Charts
 +
* Data Flow Diagrams
 +
* Decomposition
 +
* Pseudocode
 +
* Functional Specification
 +
* Object Oriented Design
 +
 +
== Source Control ==
 +
[[Git Basics]]
 +
 +
Source Control is all about saving, sharing, and managing your source code, whether working independently, or together. It is a significant element of Configuration Management (CM), and Version Control, which deal with managing changes to a Software System (or other systems of information).
 +
 +
For example, did we want to run this upcoming event after bringing in Billy's latest efforts on the Nav system? Did he finish it? Test it fully? Did Joey mess it up thinking it was fixed? CM provides a structured approach to approving changes to the software baseline and pulling them into a release of the software.
 +
 +
Source Control is the first step in a good CM process. It makes sure we save our work, gets it backed up in case we lose our hard drive, and share our work with others. It allows us to roll back to a previous version of working code (if something was broken badly), identify changes that were made and when, and who made those changes. It can allow us to make sure we have the latest appropriate code from everyone, but we each have to be responsible for getting the latest code.  We have to take this last step of getting latest to make sure our code works with the latest code, and doesn't break anything.
 +
 +
We use '''Git''' for our source control tool, and use [[Code | '''Gitlab''' and sometimes '''Github''']] to host the repositories and provide a web interface.  Although we can use the command line, and the IDEs (IntelliJ or Visual Studio) can perform Git commands, we also use '''Git Extensions''' or '''TortoiseGit''' as GUI front end for Git, which gives us a very nice interface.
 +
 +
== Task Management ==
 +
[https://trello.com/ Trello]
 +
: We will be using Trello to keep track of all our goals, work, bugs, etc.
 +
 +
:* [https://app.slack.com/client/T076TPBUM/C1ENHDC4B/thread/C1ENHDC4B-1578181500.010400 See programming channel in slack to join]
 +
:* Join the 2020 Programming Board.
 +
 +
[https://kanbanflow.com Kanban Flow]
 +
: This is a web browser based tool that implements a digital Sticky Note Board.  Very simple interface with a lot of power to manage.  Tasks are recorded on stickies and are placed in columns. 
 +
:* The defaults allow placement in ''To-Do'', ''Do Today'', ''In Progress'', and ''Done'', but these are tailorable.
 +
:* Subtasks can be placed right in the notes with checkboxes to indicate completion.
 +
:* Drag and drop stickies into different columns to indicate status.
 +
:* Tasks can be assigned to 1 or more people, can have tags or labels that can be filtered, and can be color coded.
 +
 +
== Project Documentation ==
 +
[[2019 Programming Build Season Installs | Build Season Installs]]
 +
 +
[[Programming Project Lifecycle | Project Lifecycle]]
  
 
== Additional Topics ==
 
== Additional Topics ==
  
 
{| class="wikitable" style="text-align: center;"
 
{| class="wikitable" style="text-align: center;"
−
|[[Index of all Topics]]
+
|[https://mort11.com/mentor.wiki/index.php/Category:Programming Index of all Topics]
 
|[[Beginner Topics]]
 
|[[Beginner Topics]]
 
|[[Intermediate Topics]]
 
|[[Intermediate Topics]]
 
|[[Advanced Topics]]
 
|[[Advanced Topics]]
 +
|[[Programming Wiki To Do List]]
 
|}
 
|}
−
 
−
== Project Documentation ==
 
−
TBD
 
  
 
[[Category:Programming]]
 
[[Category:Programming]]

Latest revision as of 19:16, 9 November 2021

Getting Started

  • MORT U
  • The IDE
  • Java
  • The RoboRIO
  • WPI Lib
  • LabVIEW and the Driver Station/Classmate
  • Version Control/Configuration Management - with Git
  • Day 1 Installs
  • Java - Command Based Programming
  • Python
  • IntelliJ
  • Git

Documents Guides and References

Java/WPILib/etc Documents, Guides and References

RoboRIO User Manual

Field Network Settings

Code: Examples, Programming Techniques

Code Page

Links to Project Code, Example Code, Shared Code, in Gitlab, Github, and elsewhere

Programming Languages

Programming Languages

Java, WPI Lib, and Python (Intros, and links to individual pages with more info)

Design

How to Design Software

Ways to design software, including:

  • Flow Charts
  • Data Flow Diagrams
  • Decomposition
  • Pseudocode
  • Functional Specification
  • Object Oriented Design

Source Control

Git Basics

Source Control is all about saving, sharing, and managing your source code, whether working independently, or together. It is a significant element of Configuration Management (CM), and Version Control, which deal with managing changes to a Software System (or other systems of information).

For example, did we want to run this upcoming event after bringing in Billy's latest efforts on the Nav system? Did he finish it? Test it fully? Did Joey mess it up thinking it was fixed? CM provides a structured approach to approving changes to the software baseline and pulling them into a release of the software.

Source Control is the first step in a good CM process. It makes sure we save our work, gets it backed up in case we lose our hard drive, and share our work with others. It allows us to roll back to a previous version of working code (if something was broken badly), identify changes that were made and when, and who made those changes. It can allow us to make sure we have the latest appropriate code from everyone, but we each have to be responsible for getting the latest code. We have to take this last step of getting latest to make sure our code works with the latest code, and doesn't break anything.

We use Git for our source control tool, and use Gitlab and sometimes Github to host the repositories and provide a web interface. Although we can use the command line, and the IDEs (IntelliJ or Visual Studio) can perform Git commands, we also use Git Extensions or TortoiseGit as GUI front end for Git, which gives us a very nice interface.

Task Management

Trello

We will be using Trello to keep track of all our goals, work, bugs, etc.

Kanban Flow

This is a web browser based tool that implements a digital Sticky Note Board. Very simple interface with a lot of power to manage. Tasks are recorded on stickies and are placed in columns.
  • The defaults allow placement in To-Do, Do Today, In Progress, and Done, but these are tailorable.
  • Subtasks can be placed right in the notes with checkboxes to indicate completion.
  • Drag and drop stickies into different columns to indicate status.
  • Tasks can be assigned to 1 or more people, can have tags or labels that can be filtered, and can be color coded.

Project Documentation

Build Season Installs

Project Lifecycle

Additional Topics

Index of all Topics Beginner Topics Intermediate Topics Advanced Topics Programming Wiki To Do List