-
Notifications
You must be signed in to change notification settings - Fork 22
Added a Stage1a vocabulary "prestage" page #156
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
Open
Adrianamm
wants to merge
7
commits into
frcsoftware:main
Choose a base branch
from
Adrianamm:pre1a
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+56
−0
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9f10675
added 1a prestage and fixed comma issues on 1b
Adrianamm 9b0914b
Apply suggestions from code review
Adrianamm 496e1f6
updated with suggestions
Adrianamm 06eb785
SPARK MAX
Adrianamm 1e36976
Merge branch 'main' into pre1a
Adrianamm 4f399bb
Applied suggestions
Adrianamm b6f867c
updated with suggestions
Adrianamm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
src/content/docs/learning-course/stage1/stage1a/1a-vocabulary.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| --- | ||
| title: Stage 1A Vocabulary | ||
| description: An overview of important vocabulary that is used in Stage 1A | ||
| prev: ../stage-overview | ||
| next: false | ||
| --- | ||
|
|
||
| Before programming your first robot, there are some electrical and hardware terms that are important to go over. | ||
|
|
||
| <Aside type="tip">Open this page in a new tab to use as a reference! </Aside> | ||
|
|
||
| ## Drivetrain | ||
|
|
||
| A drivetrain describes the mechanism used to make a robot drive. | ||
| In FRC, there are many different types of drivetrains. | ||
| The drivetrain that we will be programming in this stage is called a tank drive. | ||
|
|
||
| For programming kitbot's drivetrain, we will be using the `DifferentialDrive` object which describes the drivetrain. | ||
| We will also be using the `ArcadeDrive` method which tells the motors to drive so that when using a controller (such as an xbox controller), | ||
| the joystick's y axis drives the robot forward and backwards, and the joystick's x axis controls the rotation. | ||
|
|
||
| ## Motor Controller | ||
|
|
||
| Motor controllers are the electronic interfaces which control the speed and direction of the motor. | ||
| When writing code to control a motor, you are writing code to control the motor's motor controller. | ||
| In Stage 1a, you will use either the SPARK MAX or the TalonFX. | ||
|
|
||
| ### SPARK MAX | ||
|
|
||
| A SPARK MAX is the motor controller that belongs to the REV ecosystem. | ||
| REV is a vendor that has electronic and hardware for FIRST teams. | ||
| SPARK MAXes are mainly used to control NEO motors, but may also control brushless motors from other vendors, or even brushed motors. | ||
|
|
||
| ### TalonFX | ||
|
|
||
| The TalonFX is the primary motor controller used for the CTRE ecosystem. | ||
| CTRE is a vendor for FRC that specializes in electronics for FIRST teams. | ||
| It is used to control motors such as a Kraken motor. | ||
| Unlike the SPARK MAX, the TalonFX is built into the motor. | ||
|
|
||
| ## Systemcore | ||
|
|
||
| Systemcore is the main processor for robot code. | ||
| It can be thought of as the "brain" of the robot. | ||
|
|
||
| ## CAN | ||
|
|
||
| CAN stands for Controller Area Network, and is used to communicate with motor controllers and other devices on the robot. | ||
| CAN communication typically uses twisted pairs of yellow and green cables. | ||
| For stage 1a, CAN is used to communicate with motor controllers. | ||
| A **CAN Bus** describes a chain of devices connected together by a single pair of CAN wires. | ||
| A CAN bus starts at the Systemcore, connects with any number of devices, and typically ends at the [Power Distribution Hub](https://docs.revrobotics.com/ion-control/pdh/overview). | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.