Skip to content

Commit 5dfe320

Browse files
committed
rename PivotProfile to ShooterProfile
1 parent 6e6e5b3 commit 5dfe320

File tree

1 file changed

+6
-6
lines changed
  • src/main/kotlin/com/frcteam3636/bunnybots2025/subsystems/shooter

1 file changed

+6
-6
lines changed

src/main/kotlin/com/frcteam3636/bunnybots2025/subsystems/shooter/Shooter.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ object Shooter {
221221
}
222222
}
223223

224-
data class PivotProfile(
224+
data class ShooterProfile(
225225
val getPosition: () -> Angle,
226226
val getVelocity: () -> AngularVelocity
227227
)
@@ -243,9 +243,9 @@ val flywheelTunable = LoggedNetworkNumber("/Tuning/FlywheelTestSpeed", 0.0)
243243

244244

245245
// should we move this inside the shooter object?
246-
enum class Target(val profile: PivotProfile) {
246+
enum class Target(val profile: ShooterProfile) {
247247
AIM(
248-
PivotProfile(
248+
ShooterProfile(
249249
{
250250
angleInterpolationTable.getAngle(distanceToZoo())
251251
}, {
@@ -254,7 +254,7 @@ enum class Target(val profile: PivotProfile) {
254254
)
255255
),
256256
PETTINGZOO(
257-
PivotProfile(
257+
ShooterProfile(
258258
{
259259
45.degrees
260260
},
@@ -264,7 +264,7 @@ enum class Target(val profile: PivotProfile) {
264264
)
265265
),
266266
STOWED(
267-
PivotProfile(
267+
ShooterProfile(
268268
{
269269
12.degrees
270270
},
@@ -274,7 +274,7 @@ enum class Target(val profile: PivotProfile) {
274274
)
275275
),
276276
TUNING(
277-
PivotProfile(
277+
ShooterProfile(
278278
{
279279
pivotTunable.get().degrees
280280
},

0 commit comments

Comments
 (0)