Skip to content

Commit

Permalink
updated cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericxiyinyang committed Dec 5, 2024
1 parent 5825a55 commit 0ad5ddb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions command/arm.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import math

import wpilib # noqa
from commands2 import SequentialCommandGroup # noqa

import wpilib
from commands2 import SequentialCommandGroup
import config
import constants # noqa
import utils # noqa
from oi.keymap import Controllers # noqa
import constants
import utils
from oi.keymap import Controllers
from subsystem import Arm
from toolkit.command import SubsystemCommand
from units.SI import radians
Expand Down Expand Up @@ -39,7 +37,7 @@ def isFinished(self):

def end(self, interrupted: bool):
if interrupted:
arm_angle = self.subsystem.get_angle()
arm_angle = self.subsystem.get_radians()

self.subsystem.arm_moving = False

Expand Down

0 comments on commit 0ad5ddb

Please sign in to comment.