@@ -49,22 +49,22 @@ namespace controlLoop {
49
49
50
50
namespace joystickAxisMaps {
51
51
constexpr std::array driveLongSpeed{interpMapPoint{-1.0 , -1.0 },
52
- interpMapPoint{-0.75 , -0.3 },
52
+ interpMapPoint{-0.75 , -0.5 },
53
53
interpMapPoint{-0.15 , 0.0 },
54
54
interpMapPoint{0.15 , 0.0 },
55
- interpMapPoint{0.75 , 0.3 },
55
+ interpMapPoint{0.75 , 0.5 },
56
56
interpMapPoint{1.0 , 1.0 }};
57
57
constexpr std::array driveLatSpeed{interpMapPoint{-1.0 , -1.0 },
58
- interpMapPoint{-0.75 , -0.3 },
58
+ interpMapPoint{-0.75 , -0.5 },
59
59
interpMapPoint{-0.15 , 0.0 },
60
60
interpMapPoint{0.15 , 0.0 },
61
- interpMapPoint{0.75 , 0.3 },
61
+ interpMapPoint{0.75 , 0.5 },
62
62
interpMapPoint{1.0 , 1.0 }};
63
63
constexpr std::array driveRotSpeed{interpMapPoint{-1.0 , -1.0 },
64
- interpMapPoint{-0.75 , -0.3 },
64
+ interpMapPoint{-0.75 , -0.5 },
65
65
interpMapPoint{-0.15 , 0.0 },
66
66
interpMapPoint{0.15 , 0.0 },
67
- interpMapPoint{0.75 , 0.3 },
67
+ interpMapPoint{0.75 , 0.5 },
68
68
interpMapPoint{1.0 , 1.0 }};
69
69
} // namespace joystickAxisMaps
70
70
@@ -114,10 +114,8 @@ namespace motorConfig {
114
114
constexpr static auto voltCompSat = 11 .0_V;
115
115
constexpr static auto nominalOutputForward = 0.0 ;
116
116
constexpr static auto nominalOutputReverse = 0.0 ;
117
- // constexpr static auto peakOutputForward = 0.2;
118
- // constexpr static auto peakOutputReverse = -0.2;
119
- // constexpr static auto openLoopRamp = controlLoop::rampRate;
120
- // constexpr static auto closedLoopRamp = controlLoop::rampRate;
117
+ constexpr static auto peakOutputForward = 0.3 ;
118
+ constexpr static auto peakOutputReverse = -0.3 ;
121
119
constexpr static auto pid0_selectedSensor = ctre::phoenix::motorcontrol::FeedbackDevice::IntegratedSensor;
122
120
constexpr static auto pid0_kP = controlLoop::drive::drive::kP ;
123
121
constexpr static auto pid0_kI = controlLoop::drive::drive::kI ;
@@ -144,10 +142,8 @@ namespace motorConfig {
144
142
constexpr static auto voltCompSat = 11 .0_V;
145
143
constexpr static auto nominalOutputForward = 0.0 ;
146
144
constexpr static auto nominalOutputReverse = 0.0 ;
147
- // constexpr static auto peakOutputForward = 0.2;
148
- // constexpr static auto peakOutputReverse = -0.2;
149
- // constexpr static auto openLoopRamp = controlLoop::rampRate;
150
- // constexpr static auto closedLoopRamp = controlLoop::rampRate;
145
+ constexpr static auto peakOutputForward = 0.3 ;
146
+ constexpr static auto peakOutputReverse = -0.3 ;
151
147
constexpr static auto pid0_selectedSensor = ctre::phoenix::motorcontrol::FeedbackDevice::IntegratedSensor;
152
148
constexpr static auto pid0_kP = controlLoop::drive::drive::kP ;
153
149
constexpr static auto pid0_kI = controlLoop::drive::drive::kI ;
@@ -174,10 +170,8 @@ namespace motorConfig {
174
170
constexpr static auto voltCompSat = 11 .0_V;
175
171
constexpr static auto nominalOutputForward = 0.0 ;
176
172
constexpr static auto nominalOutputReverse = 0.0 ;
177
- // constexpr static auto peakOutputForward = 0.2;
178
- // constexpr static auto peakOutputReverse = -0.2;
179
- // constexpr static auto openLoopRamp = controlLoop::rampRate;
180
- // constexpr static auto closedLoopRamp = controlLoop::rampRate;
173
+ constexpr static auto peakOutputForward = 0.3 ;
174
+ constexpr static auto peakOutputReverse = -0.3 ;
181
175
constexpr static auto pid0_selectedSensor = ctre::phoenix::motorcontrol::FeedbackDevice::IntegratedSensor;
182
176
constexpr static auto pid0_kP = controlLoop::drive::drive::kP ;
183
177
constexpr static auto pid0_kI = controlLoop::drive::drive::kI ;
@@ -204,10 +198,8 @@ namespace motorConfig {
204
198
constexpr static auto voltCompSat = 11 .0_V;
205
199
constexpr static auto nominalOutputForward = 0.0 ;
206
200
constexpr static auto nominalOutputReverse = 0.0 ;
207
- // constexpr static auto peakOutputForward = 0.2;
208
- // constexpr static auto peakOutputReverse = -0.2;
209
- // constexpr static auto openLoopRamp = controlLoop::rampRate;
210
- // constexpr static auto closedLoopRamp = controlLoop::rampRate;
201
+ constexpr static auto peakOutputForward = 0.3 ;
202
+ constexpr static auto peakOutputReverse = -0.3 ;
211
203
constexpr static auto pid0_selectedSensor = ctre::phoenix::motorcontrol::FeedbackDevice::IntegratedSensor;
212
204
constexpr static auto pid0_kP = controlLoop::drive::drive::kP ;
213
205
constexpr static auto pid0_kI = controlLoop::drive::drive::kI ;
@@ -230,10 +222,6 @@ namespace motorConfig {
230
222
constexpr static auto neutralDeadband = 0.001 ;
231
223
constexpr static auto neutralMode = ctre::phoenix::motorcontrol::NeutralMode::Brake;
232
224
constexpr static auto voltCompSat = 11 .0_V;
233
- // constexpr static auto nominalOutputForward = 0.1;
234
- // constexpr static auto nominalOutputReverse = -0.1;
235
- // constexpr static auto openLoopRamp = closedLoop::rampRate;
236
- // constexpr static auto closedLoopRamp = closedLoop::rampRate;
237
225
constexpr static auto remoteFilter0_addr = sensorConfig::drive::frontLeftTurn::address;
238
226
constexpr static auto remoteFilter0_type =
239
227
ctre::phoenix::motorcontrol::RemoteSensorSource::RemoteSensorSource_CANCoder;
@@ -261,10 +249,6 @@ namespace motorConfig {
261
249
constexpr static auto neutralDeadband = 0.001 ;
262
250
constexpr static auto neutralMode = ctre::phoenix::motorcontrol::NeutralMode::Brake;
263
251
constexpr static auto voltCompSat = 11 .0_V;
264
- // constexpr static auto nominalOutputForward = 0.1;
265
- // constexpr static auto nominalOutputReverse = -0.1;
266
- // constexpr static auto openLoopRamp = closedLoop::rampRate;
267
- // constexpr static auto closedLoopRamp = closedLoop::rampRate;
268
252
constexpr static auto remoteFilter0_addr = sensorConfig::drive::frontRightTurn::address;
269
253
constexpr static auto remoteFilter0_type =
270
254
ctre::phoenix::motorcontrol::RemoteSensorSource::RemoteSensorSource_CANCoder;
@@ -292,10 +276,6 @@ namespace motorConfig {
292
276
constexpr static auto neutralDeadband = 0.001 ;
293
277
constexpr static auto neutralMode = ctre::phoenix::motorcontrol::NeutralMode::Brake;
294
278
constexpr static auto voltCompSat = 11 .0_V;
295
- // constexpr static auto nominalOutputForward = 0.1;
296
- // constexpr static auto nominalOutputReverse = -0.1;
297
- // constexpr static auto openLoopRamp = closedLoop::rampRate;
298
- // constexpr static auto closedLoopRamp = closedLoop::rampRate;
299
279
constexpr static auto remoteFilter0_addr = sensorConfig::drive::rearRightTurn::address;
300
280
constexpr static auto remoteFilter0_type =
301
281
ctre::phoenix::motorcontrol::RemoteSensorSource::RemoteSensorSource_CANCoder;
@@ -323,10 +303,6 @@ namespace motorConfig {
323
303
constexpr static auto neutralDeadband = 0.001 ;
324
304
constexpr static auto neutralMode = ctre::phoenix::motorcontrol::NeutralMode::Brake;
325
305
constexpr static auto voltCompSat = 11 .0_V;
326
- // constexpr static auto nominalOutputForward = 0.1;
327
- // constexpr static auto nominalOutputReverse = -0.1;
328
- // constexpr static auto openLoopRamp = closedLoop::rampRate;
329
- // constexpr static auto closedLoopRamp = closedLoop::rampRate;
330
306
constexpr static auto remoteFilter0_addr = sensorConfig::drive::rearLeftTurn::address;
331
307
constexpr static auto remoteFilter0_type =
332
308
ctre::phoenix::motorcontrol::RemoteSensorSource::RemoteSensorSource_CANCoder;
0 commit comments