Skip to content

Commit

Permalink
classmethod -> staticmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
civerachb-cpr committed Nov 4, 2024
1 parent ca27b78 commit cba24ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions clearpath_config/manipulators/types/arms.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,24 +121,24 @@ def from_dict(self, d: dict) -> None:
class KinovaGen3Dof6(BaseArm):
MANIPULATOR_MODEL = "kinova_gen3_6dof"

@classmethod
def assert_is_supported(self):
@staticmethod
def assert_is_supported():
raise UnsupportedAccessoryException("Kinova Gen3 is not yet supported for Jazzy")


class KinovaGen3Dof7(BaseArm):
MANIPULATOR_MODEL = "kinova_gen3_7dof"

@classmethod
def assert_is_supported(self):
@staticmethod
def assert_is_supported():
raise UnsupportedAccessoryException("Kinova Gen3 is not yet supported for Jazzy")


class KinovaGen3Lite(BaseArm):
MANIPULATOR_MODEL = "kinova_gen3_lite"

@classmethod
def assert_is_supported(self):
@staticmethod
def assert_is_supported():
raise UnsupportedAccessoryException("Kinova Gen3 Lite is not yet supported for Jazzy")


Expand Down

0 comments on commit cba24ec

Please sign in to comment.