2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/RobotMap.h

45 lines
952 B
C
Raw Normal View History

#ifndef ROBOTMAP_H
#define ROBOTMAP_H
#include "WPILib.h"
2015-03-18 07:56:03 -04:00
#define CODE_VERSION 2.0
2015-02-02 19:56:27 -05:00
// Elevator
2015-02-03 15:20:10 -05:00
#define ELEVATOR_CAN 1
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
// BinElevator
2015-02-26 10:08:08 -05:00
#define BINELEVATOR_CAN 10
#define BINELEVATOR_BOTTOM_DIO 6
#define BINELEVATOR_COLELCT_BIN_DIO 7
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-26 07:45:35 -05:00
#define BINELEVATOR_SOLDENOID_ONE 6
#define BINELEVATOR_SOLDENOID_TWO 7
2015-02-02 19:56:27 -05:00
// Drivetrain
2015-02-26 10:08:08 -05:00
#define DRIVE_FRONT_LEFT_CAN 8
2015-02-03 15:20:10 -05:00
#define DRIVE_BACK_LEFT_CAN 3
#define DRIVE_FRONT_RIGHT_CAN 4
#define DRIVE_BACK_RIGHT_CAN 5
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-02-26 10:08:08 -05:00
#define COLLECTOR_LEFT_CAN 2
#define COLLECTOR_BOTTOM_CAN 11
2015-02-03 15:20:10 -05:00
#define COLLECTOR_RIGHT_CAN 9
2015-02-15 07:53:19 -05:00
#define COLLECTOR_SONAR_ANALOG 3
2015-02-02 19:56:27 -05:00
// BinCollector
#define BINCOLLECTOR 0
#endif
2015-02-08 12:26:15 -05:00
// vim: ts=2:sw=2:et