Initial commit
This commit is contained in:
commit
2c7628bb9f
381 files changed
+83535
No files matched your search
@@ -0,0 +1,85 @@
|
||||
/**
|
||||
* \file api.h
|
||||
*
|
||||
* PROS API header provides high-level user functionality
|
||||
*
|
||||
* Contains declarations for use by typical VEX programmers using PROS.
|
||||
*
|
||||
* This file should not be modified by users, since it gets replaced whenever
|
||||
* a kernel upgrade occurs.
|
||||
*
|
||||
* \copyright Copyright (c) 2017-2023, Purdue University ACM SIGBots.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#ifndef _PROS_API_H_
|
||||
#define _PROS_API_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cerrno>
|
||||
#include <cmath>
|
||||
#include <cstdbool>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#else /* (not) __cplusplus */
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define PROS_VERSION_MAJOR 4
|
||||
#define PROS_VERSION_MINOR 1
|
||||
#define PROS_VERSION_PATCH 1
|
||||
#define PROS_VERSION_STRING "4.1.1"
|
||||
|
||||
|
||||
#include "pros/adi.h"
|
||||
#include "pros/colors.h"
|
||||
#include "pros/device.h"
|
||||
#include "pros/distance.h"
|
||||
#include "pros/error.h"
|
||||
#include "pros/ext_adi.h"
|
||||
#include "pros/gps.h"
|
||||
#include "pros/imu.h"
|
||||
#include "pros/link.h"
|
||||
#include "pros/llemu.h"
|
||||
#include "pros/misc.h"
|
||||
#include "pros/motors.h"
|
||||
#include "pros/optical.h"
|
||||
#include "pros/rotation.h"
|
||||
#include "pros/rtos.h"
|
||||
#include "pros/screen.h"
|
||||
#include "pros/vision.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include "pros/adi.hpp"
|
||||
#include "pros/colors.hpp"
|
||||
#include "pros/device.hpp"
|
||||
#include "pros/distance.hpp"
|
||||
#include "pros/gps.hpp"
|
||||
#include "pros/imu.hpp"
|
||||
#include "pros/link.hpp"
|
||||
#include "pros/llemu.hpp"
|
||||
#include "pros/misc.hpp"
|
||||
#include "pros/motor_group.hpp"
|
||||
#include "pros/motors.hpp"
|
||||
#include "pros/optical.hpp"
|
||||
#include "pros/rotation.hpp"
|
||||
#include "pros/rtos.hpp"
|
||||
#include "pros/screen.hpp"
|
||||
#include "pros/vision.hpp"
|
||||
#endif
|
||||
|
||||
#endif // _PROS_API_H_
|
||||
Reference in new issue
Block a user