1516b Over Under 2.0
Codebase for 1516b over under season
Loading...
Searching...
No Matches
globals.cpp File Reference
#include "globals.h"
#include "api.h"
#include "robot/auton.h"
#include "robot/drivetrain.h"
#include "robot/wings.h"

Go to the source code of this file.

Namespaces

namespace  Robot
 Contains all objects generated by the 1516B team - Contains all of the subsystems, methods, and global objects.
 
namespace  Robot::Globals
 Contains global variables and type definitions for the Robot namespace.
 

Functions

pros::Controller Robot::Globals::controller (pros::E_CONTROLLER_MASTER)
 
pros::Motor Robot::Globals::RightFront (6, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::LeftFront (-5, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::LeftBack (-7, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::RightBack (8, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::LeftMid (-2, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::PuncherMotor (-19, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::PuncherMotor2 (20, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::RightMid (3, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Motor Robot::Globals::IntakeMotor (-9, pros::E_MOTOR_GEARSET_18, false, pros::E_MOTOR_ENCODER_DEGREES)
 
pros::Imu Robot::Globals::inertial_sensor (15)
 
pros::Distance Robot::Globals::distance (18)
 
pros::ADIDigitalOut Robot::Globals::wing ('A')
 
pros::ADIDigitalOut Robot::Globals::wing2 ('D')
 
pros::ADIDigitalOut Robot::Globals::pto_1 ('B')
 
pros::ADIDigitalOut Robot::Globals::pto_2 ('C')
 
pros::Motor_Group Robot::Globals::punchers ({PuncherMotor, PuncherMotor2})
 
pros::Motor_Group Robot::Globals::drive_left ({LeftFront, LeftMid, LeftBack})
 
pros::Motor_Group Robot::Globals::drive_right ({RightFront, RightMid, RightBack})
 
pros::Motor_Group Robot::Globals::drive_ ({LeftFront, RightFront, LeftMid, RightMid, LeftBack, RightBack})
 
lemlib::Chassis Robot::Globals::chassis (drivetrain, lateralController, angularController, sensors)
 

Variables

lemlib::Drivetrain_t Robot::Globals::drivetrain
 
lemlib::OdomSensors_t Robot::Globals::sensors
 
lemlib::ChassisController_t Robot::Globals::lateralController
 
lemlib::ChassisController_t Robot::Globals::angularController