1516b Over Under 2.0
Codebase for 1516b over under season
Loading...
Searching...
No Matches
api.h
Go to the documentation of this file.
1/**
2 * \file api.h
3 *
4 * PROS API header provides high-level user functionality
5 *
6 * Contains declarations for use by typical VEX programmers using PROS.
7 *
8 * This file should not be modified by users, since it gets replaced whenever
9 * a kernel upgrade occurs.
10 *
11 * \copyright Copyright (c) 2017-2023, Purdue University ACM SIGBots.
12 * All rights reserved.
13 *
14 * This Source Code Form is subject to the terms of the Mozilla Public
15 * License, v. 2.0. If a copy of the MPL was not distributed with this
16 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
17 */
18
19#ifndef _PROS_API_H_
20#define _PROS_API_H_
21
22#ifdef __cplusplus
23#include <cerrno>
24#include <cmath>
25#include <cstdbool>
26#include <cstddef>
27#include <cstdint>
28#include <cstdio>
29#include <cstdlib>
30#include <iostream>
31#else /* (not) __cplusplus */
32#include <errno.h>
33#include <math.h>
34#include <stdbool.h>
35#include <stddef.h>
36#include <stdint.h>
37#include <stdio.h>
38#include <stdlib.h>
39#include <unistd.h>
40#endif /* __cplusplus */
41
42#define PROS_VERSION_MAJOR 3
43#define PROS_VERSION_MINOR 8
44#define PROS_VERSION_PATCH 0
45#define PROS_VERSION_STRING "3.8.0"
46
47#include "pros/adi.h"
48#include "pros/colors.h"
49#include "pros/distance.h"
50#include "pros/error.h"
51#include "pros/ext_adi.h"
52#include "pros/gps.h"
53#include "pros/imu.h"
54#include "pros/link.h"
55#include "pros/llemu.h"
56#include "pros/misc.h"
57#include "pros/motors.h"
58#include "pros/optical.h"
59#include "pros/rtos.h"
60#include "pros/rotation.h"
61#include "pros/screen.h"
62#include "pros/vision.h"
63
64#ifdef __cplusplus
65#include "pros/adi.hpp"
66#include "pros/distance.hpp"
67#include "pros/gps.hpp"
68#include "pros/imu.hpp"
69#include "pros/llemu.hpp"
70#include "pros/misc.hpp"
71#include "pros/motors.hpp"
72#include "pros/optical.hpp"
73#include "pros/rotation.hpp"
74#include "pros/rtos.hpp"
75#include "pros/screen.hpp"
76#include "pros/vision.hpp"
77#include "pros/link.hpp"
78#endif
79
80#endif // _PROS_API_H_
The Wings class represents the wings of a robot.
Definition wings.h:11
Contains global variables and type definitions for the Robot namespace.
Definition globals.cpp:18
pros::Controller controller
lemlib::ChassisController_t angularController
Definition globals.cpp:73
pros::Motor LeftMid
pros::Motor IntakeMotor
pros::Distance distance
pros::Motor_Group drive_
pros::Imu inertial_sensor
pros::Motor RightBack
pros::ADIDigitalOut wing2
pros::Motor_Group drive_right
pros::Motor_Group drive_left
pros::Motor RightFront
pros::ADIDigitalOut wing
pros::ADIDigitalOut pto_2
pros::ADIDigitalOut pto_1
pros::Motor RightMid
lemlib::OdomSensors_t sensors
Definition globals.cpp:52
pros::Motor LeftFront
pros::Motor PuncherMotor2
lemlib::ChassisController_t lateralController
Definition globals.cpp:62
Robot::Wings robotWings
lemlib::Chassis chassis
pros::Motor PuncherMotor
lemlib::Drivetrain_t drivetrain
Definition globals.cpp:44
pros::Motor_Group punchers
pros::Motor LeftBack
Contains all objects generated by the 1516B team - Contains all of the subsystems,...
Definition globals.cpp:17