From 197ba3a8cc2afd61a4852421a9022799b71c42b3 Mon Sep 17 00:00:00 2001 From: NeonCoal <52942449+NeonCoal@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:07:38 -0500 Subject: [PATCH] imports + created constant file --- .../config/constants/TelescopingArmConstants.kt | 5 +++++ .../subsystems/TelescopingArm/TelescopingArm.kt | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/main/kotlin/com/team4099/robot2023/config/constants/TelescopingArmConstants.kt diff --git a/src/main/kotlin/com/team4099/robot2023/config/constants/TelescopingArmConstants.kt b/src/main/kotlin/com/team4099/robot2023/config/constants/TelescopingArmConstants.kt new file mode 100644 index 00000000..4029b4e0 --- /dev/null +++ b/src/main/kotlin/com/team4099/robot2023/config/constants/TelescopingArmConstants.kt @@ -0,0 +1,5 @@ +package com.team4099.robot2023.config.constants + +object TelescopingArmConstants { + +} diff --git a/src/main/kotlin/com/team4099/robot2023/subsystems/TelescopingArm/TelescopingArm.kt b/src/main/kotlin/com/team4099/robot2023/subsystems/TelescopingArm/TelescopingArm.kt index 343f9baf..08b9ac3a 100644 --- a/src/main/kotlin/com/team4099/robot2023/subsystems/TelescopingArm/TelescopingArm.kt +++ b/src/main/kotlin/com/team4099/robot2023/subsystems/TelescopingArm/TelescopingArm.kt @@ -1,5 +1,21 @@ package com.team4099.robot2023.subsystems.TelescopingArm +import com.team4099.lib.logging.TunableNumber +import org.team4099.lib.units.base.Length +import org.team4099.lib.units.base.inInches +import org.team4099.lib.units.base.inMeters +import org.team4099.lib.units.base.meters +import org.team4099.lib.units.derived.inVolts +import org.team4099.lib.units.derived.volts +import org.team4099.lib.units.inMetersPerSecond +import org.team4099.lib.units.inMetersPerSecondPerSecond +import org.team4099.lib.units.perSecond +import com.team4099.robot2023.config.constants.TelescopingArmConstants +import edu.wpi.first.math.controller.ElevatorFeedforward +import edu.wpi.first.math.trajectory.TrapezoidProfile +import edu.wpi.first.wpilibj2.command.SubsystemBase +import org.littletonrobotics.junction.Logger + class TelescopingArm(val io: TelescopingArmIO) : SubsystemBase() { val inputs = TelescopingArmIO.TelescopingArmIOInputs()