2015-01-11 16:02:49 -05:00
|
|
|
#ifndef ROBOTMAP_H
|
|
|
|
#define ROBOTMAP_H
|
|
|
|
|
|
|
|
#include "WPILib.h"
|
|
|
|
|
2015-02-02 19:56:27 -05:00
|
|
|
// Elevator
|
2015-02-03 15:20:10 -05:00
|
|
|
#define ELEVATOR_CAN 1
|
2015-02-07 13:03:00 -05:00
|
|
|
#define ELEVATOR_BOTTOM_DIO 0
|
2015-02-07 13:08:24 -05:00
|
|
|
#define ELEVATOR_COLELCT_TOTE_DIO 1
|
|
|
|
#define ELEVATOR_READY_TOTE_DIO 2
|
|
|
|
#define ELEVATOR_TOP_DIO 5
|
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
|
|
|
|
#define BINELEVATOR_CAN 11
|
|
|
|
#define BINELEVATOR_BOTTOM_DIO 6
|
|
|
|
#define BINELEVATOR_COLELCT_BIN_DIO 7
|
|
|
|
#define BINELEVATOR_TOP_DIO 8
|
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-03 15:20:10 -05:00
|
|
|
#define DRIVE_FRONT_LEFT_CAN 2
|
|
|
|
#define DRIVE_BACK_LEFT_CAN 3
|
|
|
|
#define DRIVE_FRONT_RIGHT_CAN 4
|
|
|
|
#define DRIVE_BACK_RIGHT_CAN 5
|
2015-02-02 19:56:27 -05:00
|
|
|
|
|
|
|
// Collector
|
2015-02-03 15:20:10 -05:00
|
|
|
#define COLLECTOR_WINDOW_LEFT_CAN 6
|
|
|
|
#define COLLECTOR_WINDOW_RIGHT_CAN 7
|
|
|
|
#define COLLECTOR_LEFT_CAN 8
|
2015-02-08 12:19:39 -05:00
|
|
|
#define COLLECTOR_BOTTOM_CAN 10
|
2015-02-03 15:20:10 -05:00
|
|
|
#define COLLECTOR_RIGHT_CAN 9
|
2015-02-02 19:56:27 -05:00
|
|
|
|
2015-01-11 16:02:49 -05:00
|
|
|
#endif
|
2015-02-08 12:26:15 -05:00
|
|
|
// vim: ts=2:sw=2:et
|