A subsystem that controls the Arm of the robot.
More...
#include <Arm.h>
A subsystem that controls the Arm of the robot.
Definition at line 15 of file Arm.h.
◆ Arm()
◆ GetSensor()
bool Arm::GetSensor |
( |
void |
| ) |
|
Returns whether the hall effects is tripped This is the sensor for when the arm is lowered.
- Returns
- true The arm is fully lowered, the sensor is tripped
-
false Sensor is not tripped
Definition at line 43 of file Arm.cpp.
◆ InitDefaultCommand()
void Arm::InitDefaultCommand |
( |
| ) |
|
|
override |
Initalizes the default command for this subsystem (Arm)
Definition at line 32 of file Arm.cpp.
◆ MoveArm()
void Arm::MoveArm |
( |
double |
Speed | ) |
|
Move Arm arm up or down.
- Parameters
-
Speed | speed (from -1 to 1), where 1 is forward-down |
Definition at line 37 of file Arm.cpp.
◆ pArmHall
frc::DigitalInput* Arm::pArmHall |
|
private |
hall effects for arm is lowered enough
Definition at line 39 of file Arm.h.
◆ pArmMotor
can::WPI_TalonSRX* Arm::pArmMotor |
|
private |
Pointer for Arm arm motor.
Definition at line 36 of file Arm.h.
◆ pArmMotor2
can::WPI_TalonSRX* Arm::pArmMotor2 |
|
private |
Pointer for Arm arm motor.
Definition at line 37 of file Arm.h.
The documentation for this class was generated from the following files:
- src/main/include/Subsystems/Arm.h
- src/main/cpp/Subsystems/Arm.cpp