1516X High Stakes
2.0
Codebase for 1516X High Stakes season
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
}
13
14
Sweeper::Sweeper
() { ; }
Robot::Sweeper::run
void run()
Runs sweeper.
Definition
sweeper.cpp:8
Robot::Sweeper::Sweeper
Sweeper()
Definition
sweeper.cpp:14
Robot::Globals
Definition
globals.cpp:20
Robot::Globals::SweeperControl
pros::adi::Pneumatics SweeperControl('B', false)
Robot::Globals::controller
pros::Controller controller(pros::E_CONTROLLER_MASTER)
Robot
Definition
auton.h:8
sweeper.h
src
subsystems
sweeper.cpp
Generated on Sat Jan 11 2025 13:28:26 for 1516X High Stakes by
1.13.1