Elevator
The ElevatorSubsystem class is a Singleton to control the elevator motors on the robot. The class sets the motor positions, gets the motor positions, stops the motors, and toggles the soft stop for the elevator motor.
Functions
Link copied to clipboard
Get the average position of the elevator motors
Link copied to clipboard
Get the position of the elevator motor
Link copied to clipboard
Returns the Singleton instance of this ElevatorSubsystem.
Link copied to clipboard
Get the state of the elevator motor
Link copied to clipboard
Gets the state of the elevator motor as a double in terms of its height in the parameters file
Link copied to clipboard
Link copied to clipboard
Move the elevator motor at a specific velocity
Link copied to clipboard
Move the elevator motor to a specific level
Link copied to clipboard
Soft resets the encoders on the elevator motors
Link copied to clipboard
Sets the elevator motor to a specific position
Set the position of the left and right elevator motors
Link copied to clipboard
Sets the elevator state
Link copied to clipboard
Stops the elevator motors
Link copied to clipboard
Toggles the soft stop for the elevator motor