2015-01-11 16:02:49 -05:00
|
|
|
#ifndef ROBOTMAP_H
|
|
|
|
#define ROBOTMAP_H
|
|
|
|
|
|
|
|
#include "WPILib.h"
|
|
|
|
|
2015-03-26 10:25:51 -04:00
|
|
|
#define CODE_VERSION 2.1
|
2015-02-19 10:28:29 -05:00
|
|
|
|
2015-02-02 19:56:27 -05:00
|
|
|
// Elevator
|
2015-10-05 16:29:33 -04:00
|
|
|
#define ELEVATOR_CAN 11
|
2015-02-14 17:12:58 -05:00
|
|
|
#define ELEVATOR_BOTTOM_DIO 9
|
2015-02-15 17:10:20 -05:00
|
|
|
#define ELEVATOR_MIDDLE_DIO 8
|
|
|
|
#define ELEVATOR_TOP_DIO 7
|
2015-02-13 21:41:38 -05:00
|
|
|
#define ELEVATOR_ENCODERA 4
|
|
|
|
#define ELEVATOR_ENCODERB 9
|
2015-02-02 19:56:27 -05:00
|
|
|
|
2015-02-11 18:34:38 -05:00
|
|
|
// BinElevator
|
2015-04-15 10:35:44 -04:00
|
|
|
#define BINELEVATOR_LEFT_CAN 13
|
|
|
|
#define BINELEVATOR_RIGHT_CAN 14
|
2015-02-11 18:34:38 -05:00
|
|
|
#define BINELEVATOR_BOTTOM_DIO 6
|
2015-02-26 10:08:08 -05:00
|
|
|
#define BINELEVATOR_TOP_DIO 12
|
2015-02-13 21:41:38 -05:00
|
|
|
#define BINELEVATOR_ENCODERA 10
|
|
|
|
#define BINELEVATOR_ENCODERB 11
|
2015-02-11 18:34:38 -05:00
|
|
|
|
2015-02-02 19:56:27 -05:00
|
|
|
// Drivetrain
|
2015-02-26 10:08:08 -05:00
|
|
|
#define DRIVE_FRONT_LEFT_CAN 8
|
2015-10-09 12:27:34 -04:00
|
|
|
#define DRIVE_BACK_LEFT_CAN 8
|
2015-02-03 15:20:10 -05:00
|
|
|
#define DRIVE_FRONT_RIGHT_CAN 4
|
2015-10-05 16:29:33 -04:00
|
|
|
#define DRIVE_BACK_RIGHT_CAN 3
|
2015-03-10 20:14:38 -04:00
|
|
|
#define DRIVE_GYRO_ANALOG 0
|
2015-02-02 19:56:27 -05:00
|
|
|
|
|
|
|
// Collector
|
2015-02-14 17:12:58 -05:00
|
|
|
#define COLLECTOR_RAMP_CAN 7
|
2015-10-09 12:27:34 -04:00
|
|
|
#define COLLECTOR_LEFT_CAN 2
|
2015-10-05 16:29:33 -04:00
|
|
|
#define COLLECTOR_BOTTOM_CAN 20
|
|
|
|
#define COLLECTOR_RIGHT_CAN 10
|
2015-02-15 07:53:19 -05:00
|
|
|
#define COLLECTOR_SONAR_ANALOG 3
|
2015-02-02 19:56:27 -05:00
|
|
|
|
2015-04-06 20:36:35 -04:00
|
|
|
// BinCollector
|
2015-04-18 05:03:06 -04:00
|
|
|
#define BINCOLLECTOR_RIGHT_CAN 6
|
|
|
|
#define BINCOLLECTOR_LEFT_CAN 10
|
2015-04-06 20:36:35 -04:00
|
|
|
|
2015-09-18 11:39:18 -04:00
|
|
|
//Pneumatics
|
|
|
|
#define COMPRESSOR_PCM_CAN 12
|
2015-09-18 16:34:20 -04:00
|
|
|
#define BINELEVATOR_SOLENOID_ONE 0
|
|
|
|
#define BINELEVATOR_SOLENOID_TWO 1
|
|
|
|
#define BINELEVATOR_SOLENOID_THREE 2
|
|
|
|
#define BINELEVATOR_SOLENOID_FOUR 3
|
2015-09-18 11:39:18 -04:00
|
|
|
|
2015-01-11 16:02:49 -05:00
|
|
|
#endif
|
2015-02-08 12:26:15 -05:00
|
|
|
// vim: ts=2:sw=2:et
|