DeepSpace
2019
|
#include <iostream>
Go to the source code of this file.
#define ARCADE_KD 0.0 |
Definition at line 40 of file RobotMap.h.
#define ARCADE_KI 0.0 |
Definition at line 39 of file RobotMap.h.
#define ARCADE_KP 0.25 |
Definition at line 38 of file RobotMap.h.
#define ARM_CURRENT_HOLD 33 |
Definition at line 21 of file RobotMap.h.
#define ARM_CURRENT_THRESHOLD 35 |
Definition at line 20 of file RobotMap.h.
#define ARM_CURRENT_TIMEOUT 30 |
Definition at line 23 of file RobotMap.h.
#define ARM_HOLD_SPEED 0.2 |
Definition at line 80 of file RobotMap.h.
#define ARM_PEAK_TIMEOUT 0 |
Definition at line 22 of file RobotMap.h.
#define ARM_PIN_LOWERED 4 |
Definition at line 77 of file RobotMap.h.
#define CAMERASERVER_DRIVER_CAMERA 1 |
Definition at line 26 of file RobotMap.h.
#define CAMERASERVER_VISION_CAMERA 0 |
Definition at line 27 of file RobotMap.h.
#define CLIMB_ARM_MOTOR 5 |
Definition at line 56 of file RobotMap.h.
#define CLIMB_ARM_MOTOR_2 7 |
Definition at line 57 of file RobotMap.h.
#define CLIMB_B 0.3 |
Definition at line 69 of file RobotMap.h.
#define CLIMB_LEG_MOTOR 8 |
Definition at line 58 of file RobotMap.h.
#define CLIMB_M 0.6 |
Definition at line 68 of file RobotMap.h.
#define CLIMB_MAX_HEIGHT 100 |
Definition at line 71 of file RobotMap.h.
#define CLIMB_ULTRASONIC 1 |
Definition at line 63 of file RobotMap.h.
#define CRAWL_LEFT_MOTOR 1 |
Definition at line 59 of file RobotMap.h.
#define CRAWL_RIGHT_MOTOR 0 |
Definition at line 60 of file RobotMap.h.
#define DODEBUG 0 |
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.
Definition at line 15 of file RobotMap.h.
#define DRIVETRAIN_LEFT_FRONT_MOTOR 1 |
Definition at line 30 of file RobotMap.h.
#define DRIVETRAIN_LEFT_FRONT_MOTOR_INVERT false |
Definition at line 46 of file RobotMap.h.
#define DRIVETRAIN_LEFT_REAR_MOTOR 2 |
Definition at line 31 of file RobotMap.h.
#define DRIVETRAIN_LEFT_REAR_MOTOR_INVERT false |
Definition at line 47 of file RobotMap.h.
#define DRIVETRAIN_RADIAL_SENSITIVITY_CUTOFF 0.8 |
Definition at line 65 of file RobotMap.h.
#define DRIVETRAIN_RIGHT_FRONT_MOTOR 3 |
Definition at line 32 of file RobotMap.h.
#define DRIVETRAIN_RIGHT_FRONT_MOTOR_INVERT true |
Definition at line 48 of file RobotMap.h.
#define DRIVETRAIN_RIGHT_REAR_MOTOR 4 |
Definition at line 33 of file RobotMap.h.
#define DRIVETRAIN_RIGHT_REAR_MOTOR_INVERT true |
Definition at line 49 of file RobotMap.h.
#define DRIVEWITHJOYSTICK_ROTATION_LIMITER 0.95 |
Definition at line 103 of file RobotMap.h.
#define elif else if |
Definition at line 113 of file RobotMap.h.
#define EndHeader | ( | ) | std::cout << "DONE" << std::endl |
Definition at line 122 of file RobotMap.h.
#define False false |
Definition at line 111 of file RobotMap.h.
#define FLAP_ID_FORWARD 5 |
Definition at line 99 of file RobotMap.h.
#define FLAP_ID_REVERSE 6 |
Definition at line 100 of file RobotMap.h.
#define Hand frc::GenericHID::JoystickHand |
Definition at line 116 of file RobotMap.h.
#define HatchGripper_FORWARD_ID 1 |
Definition at line 96 of file RobotMap.h.
#define HatchGripper_REVERSE_ID 2 |
Definition at line 97 of file RobotMap.h.
#define Header | ( | x | ) | std::cout << x |
Definition at line 121 of file RobotMap.h.
#define LEDCONTROLLER_ID 2 |
Definition at line 93 of file RobotMap.h.
#define LEG_HOLD_SPEED 0.1 |
Definition at line 81 of file RobotMap.h.
#define LEG_PIN_BOTTOM 6 |
Definition at line 76 of file RobotMap.h.
#define LEG_PIN_MIDDLE 5 |
Definition at line 75 of file RobotMap.h.
#define LEG_PIN_TOP 1 |
Definition at line 74 of file RobotMap.h.
#define LIGHT_ID 0 |
Definition at line 92 of file RobotMap.h.
#define OPTICAL_PIN 7 |
Definition at line 64 of file RobotMap.h.
#define PCM_CAN_ID 11 |
Definition at line 87 of file RobotMap.h.
#define PISTON_ID 7 |
Definition at line 89 of file RobotMap.h.
#define R_SLEW_LIMIT 0.04 |
Definition at line 43 of file RobotMap.h.
#define ROBOT_PERIOD 0.02 |
Definition at line 17 of file RobotMap.h.
#define SLEW_LIMIT 0.15 |
Definition at line 42 of file RobotMap.h.
#define SLIDER_MOTOR 6 |
Definition at line 84 of file RobotMap.h.
#define TALLON_TPR 4096 |
Definition at line 35 of file RobotMap.h.
#define True true |
Definition at line 112 of file RobotMap.h.
#define WinGame | ( | _class_ | ) | frc::StartRobot<_class_>() |
Definition at line 119 of file RobotMap.h.
#define XBOX_CONTROLLER_DEBUG_PORT 2 |
Definition at line 108 of file RobotMap.h.
#define XBOX_CONTROLLER_DRIVE_PORT 0 |
Definition at line 106 of file RobotMap.h.
#define XBOX_CONTROLLER_OPERATOR_PORT 1 |
Definition at line 107 of file RobotMap.h.
#define XBOX_DEADZONE_LEFT_JOY 0.1 |
Definition at line 53 of file RobotMap.h.
#define XBOX_DEADZONE_RIGHT_JOY 0.1 |
Definition at line 52 of file RobotMap.h.