10 #ifndef ALLROBOTCONTROLS_H_
11 #define ALLROBOTCONTROLS_H_
16 static constexpr uint32_t kDriveStickCh = 1;
17 static constexpr uint32_t kFrontRightCh = 0;
18 static constexpr uint32_t kFrontLeftCh = 1;
19 static constexpr uint32_t kBackLeftCh = 2;
20 static constexpr uint32_t kBackRightCh = 3;
21 static constexpr uint32_t kGyroButton = 9;
22 static constexpr
float kSafetyTimeout = 1.5;
23 static constexpr uint32_t kGyroCh = 0;
25 static constexpr
float kNoGyro = 0.0;
35 static constexpr uint32_t kCameraChannel = 4;
36 static constexpr uint32_t kCameraUp = 3;
37 static constexpr uint32_t kCameraDown = 4;
38 static constexpr
float kCameraIncrement = 0.01;
39 static constexpr
float kCameraFirstPos = 0.5;
40 static constexpr
float kMaxCameraServoPosition = 0.7;
41 static constexpr
float kMinCameraServoPosition = 0.2;
const float kLifterDistancePerPulse
const int kEncoderchannel2
const int kBottomLimitChannel
const int kEncoderChannel
const int kTopLimitChannel
const int kSolenoidChannel2
Second Solenoid Channel.
const int kStickChannel
Auxiliary joystick Channel TODO: rename after arms merged.
const int kEncoderchannel1
const int kSolenoidChannel1
First Solenoid Channel.
const float kEncoderClickDistance
const float kAccelVal
Acceleration increment: approach target by 1%.
const float k_lifterDistancePerPulse
const float k_driverDistancePerPulse
const int kArmMotorChannel
Channel of Victor.