From 182a32148dae8d259b6fc106395a43562e5159a8 Mon Sep 17 00:00:00 2001 From: Kurt Bowen Date: Wed, 22 Feb 2017 17:24:55 -0600 Subject: [PATCH] Create MainBot.md --- util/Tomes of Knowledge/MainBot.md | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 util/Tomes of Knowledge/MainBot.md diff --git a/util/Tomes of Knowledge/MainBot.md b/util/Tomes of Knowledge/MainBot.md new file mode 100644 index 0000000..9de218b --- /dev/null +++ b/util/Tomes of Knowledge/MainBot.md @@ -0,0 +1,36 @@ +# Comp. Bot Constants +###CAN Talons + LEFT_MOTOR = 2, + OTHER_LEFT_MOTOR = 3, + RIGHT_MOTOR = 0, + OTHER_RIGHT_MOTOR = 1, + CLIMBER_MOTOR = 4, + SHOOTER_MOTOR = 5, + WINDOW_MOTOR1 = 6, + WINDOW_MOTOR2 = 7, + SERVO_PORT = 0; + +###Motor Inverts + LEFT_MOTOR_INVERT = false, + RIGHT_MOTOR_INVERT = true, + SHOOTER_MOTOR_INVERT = false, + ASCENDER_MOTOR_INVERT = true, + WINDOW1_INVERT = false, + WINDOW2_INVERT = true; + +###PCM Ports + CLOSE_GEAR_FLAPS = 0, + OPEN_GEAR_FLAPS = 1, + CLOSE_GEAR_FEEDER_FLAPS = 4, + OPEN_BALL_HOPPER = 7, + CLOSE_BALL_HOPPER = 6; + +###MISC. Limits + SHOOTER_LIMIT = 0.8, + SHOOTER_TARGET_VELOCITY_RPM = 3950.0; + ASCENDER_LIMIT = 0.8; + AGITATOR_LIMIT = 1.0; +###PWM LED Channels + RED_PWM = 1, + GREEN_PWM = 2, + BLUE_PWM = 3;