-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRobotMap.h
43 lines (43 loc) · 1.79 KB
/
RobotMap.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// RobotBuilder Version: 1.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code or it will be lost on an
// update. Deleting the comments indicating the section will prevent
// it from being updated in th future.
#ifndef ROBOTMAP_H
#define ROBOTMAP_H
#include "WPILib.h"
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic numbers
* floating around.
*/
class RobotMap {
public:
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
static SpeedController* driveTrainSpeedControllerRR;
static SpeedController* driveTrainSpeedControllerRL;
static SpeedController* driveTrainSpeedControllerFR;
static SpeedController* driveTrainSpeedControllerFL;
static RobotDrive* driveTrainOmniDrive;
static SpeedController* feederSpeedController;
static DigitalInput* feederLimitSwitch;
static DigitalInput* launcherLimitSwitchUp;
static SpeedController* launcherSpeedController;
static DigitalInput* launcherLimitSwitchDown;
static AnalogChannel* launcherDistanceSensor;
static Compressor* pneumaticMainCompressor;
static Solenoid* feederSolenoidFeederDown;
static DigitalInput* cameraMoveLeft;
static DigitalInput* cameraMoveRight;
static Servo* cameraCameraServo;
static AnalogChannel* distanceSensorUltrasonicSensor;
static Relay* distanceSensorInRangeLight;
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
static void init();
};
#endif