1#include "robot/wings.h"
8 if(
controller.get_digital_new_press(pros::E_CONTROLLER_DIGITAL_B)) {
13 wing2.set_value(
false);
17 wing.set_value(
false);
18 wing2.set_value(
true);
The Wings class represents the wings of a robot.
void setState(bool wingState)
Sets the state of the wings.
void run()
Runs the wings.
bool getState()
Gets the current state of the wings.
Contains global variables and type definitions for the Robot namespace.
pros::Controller controller
pros::ADIDigitalOut wing2
Contains all objects generated by the 1516B team - Contains all of the subsystems,...