-
Notifications
You must be signed in to change notification settings - Fork 4
Intro to Programming #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,8 +1,26 @@ | ||||||||
| --- | ||||||||
| title: Intro to Programming | ||||||||
| description: Coming soon! | ||||||||
| description: An Introduction to what is programming and how it's used in FRC | ||||||||
| prev: false | ||||||||
| next: getting-started/required-tools | ||||||||
| --- | ||||||||
|
|
||||||||
| Coming soon! | ||||||||
| ## What is Programming? | ||||||||
| Programming is when you give instructions to a computer. However, the instructions are written in a language that the computer can read | ||||||||
| and understand. These languages are programming languages and there are many different types that have different or sometimes | ||||||||
| similar usages. In FRC, Java, C++ and Python are three programming languages that are used to program robots. | ||||||||
|
|
||||||||
|
|
||||||||
| ## What is Java? | ||||||||
| Java is also an object-oriented programming language, which means its work is done by having objects that different actions, | ||||||||
| or functions, are called on. Java is also the most common programming language used in FRC which why FRCSoftware teaches FRC | ||||||||
| programming in Java. | ||||||||
|
Comment on lines
+16
to
+17
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
|
|
||||||||
| ## Why Program in FRC? | ||||||||
| In FIRST Robotics, robots are made out of many mechanisms. They have drive trains, flywheels, arms, intakes, elevators, etc. Programming is | ||||||||
| important in FIRST Robotics because code is used to program motors, and sensors which allows those different mechanisms to move. Teams can use | ||||||||
| sensors on a motor to deploy an intake, program the intake’s motor to spin so it can pick up a foam ball, program a drive train, etc. In the | ||||||||
| FIRST Robotics Competition, teams also program autonomous features for the autonomous portion of the game. In autonomous, points are doubled | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It felt we were saying autonomous too many times here |
||||||||
| so it's important to have code written which allows the robot to score points using preprogrammed instructions. | ||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.