Skip to content

Commit 8d503d2

Browse files
Merge pull request #31 from bow4290/dev
Finished up to Chapter 2.5 in Programming Training
2 parents f056cff + 72bf5ae commit 8d503d2

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

training/chapter_2/4_dashboards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ As well as the official dashboards supported by WPILib, there are also other uno
3030

3131
---
3232

33-
### [<< Previous](./3_joysticks_controllers.md) | Next (Coming Soon...)
33+
### [<< Previous](./3_joysticks_controllers.md) | [Next >>](./5_can_devices_hardware.md)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 4290 Programming Training Ch 2.5 - CAN Devices & Hardware
2+
## Motors & Pneumatics
3+
Motors are a invaluable component in building your robot, as they are one of the few ways to add movement. In FRC, these motors are programmed and controlled by attaching motor controllers, although some motors have these built in. Pneumatics are another option for adding a more specific type of movement, as they use pressurized air to move components. Below are some article(s) that explain these components better:
4+
- [1. Article - Beginner Motors (Spectrum 3847)](https://docs.google.com/presentation/d/e/2PACX-1vQx1bBy1RHAYv5y5O5y82e4a45j5DCRmNrwY-d_eOVz8wqks7ehSpiql-qweDWE0J3zzcqMG-5X805x/pub?start=false&loop=false&delayms=3000#slide=id.g9d51526672_0_393)
5+
- [2. Article - Intro to Pneumatics (Spectrum 3847)](https://docs.google.com/presentation/d/1thkZCVNKfHDGw6_co2KAN7cajhKEGYDX1tCw2e6pwqM/edit#slide=id.p)
6+
- [3. Article - Hardware Component Overview (WPILib)](https://docs.wpilib.org/en/stable/docs/controls-overviews/control-system-hardware.html#)
7+
8+
## CAN Devices & Hardware APIs
9+
CAN is a way of connecting robot wires used in FRC. It uses a chain of wires connecting each device, meaning shorter wiring since devices don't have to be individually wired to the roboRIO. CAN devices generally have their own helper WPILib classes, allowing them to be programmed much easier. There are also PWM Motor Controllers, which are controlled roughly the same way as CAN, but connect directly to the roboRIO. The following article explains a basic use case for Motor Controllers:
10+
- [Using Motor Controllers in Code (WPILib)](https://docs.wpilib.org/en/stable/docs/software/hardware-apis/motors/using-motor-controllers.html)
11+
12+
Since there are so many different components and motors that are changing quite frequently, the best way to find out more about these would be to go to the specific documentation for any given motor or component. Below are two articles by WPILib that can help you find the APIs for components:
13+
- [Third-Party CAN Devices (WPILib)](https://docs.wpilib.org/en/stable/docs/software/can-devices/third-party-devices.html)
14+
- [Sensors (WPILib)](https://docs.wpilib.org/en/stable/docs/software/hardware-apis/sensors/index.html)
15+
16+
17+
---
18+
19+
### [<< Previous](./4_dashboards.md) | Next (Coming Soon...)

training/chapter_2/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This chapter will be going over interacting robots using WPILib and Java, which
99
- 2.2 [Commands & Subsystems](./2_commands_subsystems.md)
1010
- 2.3 [Joysticks / Controllers](./3_joysticks_controllers.md)
1111
- 2.4 [Dashboards](./4_dashboards.md)
12-
- 2.5 []
12+
- 2.5 [CAN Devices & Hardware](./5_can_devices_hardware.md)
1313

1414
---
1515

0 commit comments

Comments
 (0)