1516X High Stakes
2.0
Codebase for 1516X High Stakes season
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
h
i
l
p
r
s
t
Functions
a
c
d
h
i
l
p
r
s
t
Variables
Classes
Class List
Class Index
Class Members
All
a
b
c
d
e
g
i
l
m
r
s
t
Functions
Variables
Enumerations
Enumerator
Files
File List
File Members
All
Functions
Variables
Macros
▼
1516X High Stakes
►
1516X - High Stakes
controller_bindings
►
Git Branching Conventions
Style Guide - Code
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
docs
►
include
▼
src
►
electronics
►
routines
►
screen
▼
subsystems
►
drivetrain.cpp
►
intake.cpp
ladybrown.cpp
latch.cpp
sweeper.cpp
►
globals.cpp
►
main.cpp
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
sweeper.cpp
Go to the documentation of this file.
1
#include "
robot/sweeper.h
"
2
3
#include "globals.h"
4
5
using namespace
Robot
;
6
using namespace
Robot::Globals
;
7
8
void
Sweeper::run
() {
9
if
(
controller
.get_digital_new_press(pros::E_CONTROLLER_DIGITAL_Y)) {
10
SweeperControl
.toggle();
11
}
12
}
8
void
Sweeper::run
() {
…
}
13
14
Sweeper::Sweeper
() { ; }
15
16
void
Sweeper::toggle
() {
SweeperControl
.toggle(); }
Robot::Sweeper::toggle
void toggle()
Toggles sweeper state.
Definition
sweeper.cpp:16
Robot::Sweeper::run
void run()
Runs sweeper.
Definition
sweeper.cpp:8
Robot::Sweeper::Sweeper
Sweeper()
Definition
sweeper.cpp:14
Robot::Globals
Definition
globals.cpp:21
Robot::Globals::SweeperControl
pros::adi::Pneumatics SweeperControl('B', false)
Robot::Globals::controller
pros::Controller controller(pros::E_CONTROLLER_MASTER)
Robot
Definition
auton.h:10
sweeper.h
src
subsystems
sweeper.cpp
Generated on Fri May 9 2025 07:21:22 for 1516X High Stakes by
1.13.2