diff --git a/src/roboticstoolbox/models/URDF/FetchCamera.py b/src/roboticstoolbox/models/URDF/FetchCamera.py deleted file mode 100644 index 0d6f835b..00000000 --- a/src/roboticstoolbox/models/URDF/FetchCamera.py +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env python - -import numpy as np -from roboticstoolbox.models.URDF.URDFRobot import URDFRobot - -# from spatialmath import SE3 - - -class FetchCamera(URDFRobot): - """ - Class that imports a FetchCamera URDF model - - ``FetchCamera()`` is a class which imports a FetchCamera robot definition - from a URDF file. The model describes its kinematic and graphical - characteristics. - - .. runblock:: pycon - - >>> import roboticstoolbox as rtb - >>> robot = rtb.models.URDF.FetchCamera() - >>> print(robot) - - Defined joint configurations are: - - - qz, zero joint angle configuration - - qr, zero joint angle configuration - - .. codeauthor:: Kerry He - .. sectionauthor:: Peter Corke - """ - - def __init__(self): - super().__init__( - "fetch_description/robots/fetch_camera.urdf", - manufacturer="Fetch", - gripper_link_index=6, - ) - - # self.grippers[0].tool = SE3(0, 0, 0.1034) - self.qdlim = np.array([4.0, 4.0, 0.1, 1.57, 1.57]) - - self.qz = np.array([0, 0, 0, 0, 0]) - self.qr = np.array([0, 0, 0, 0, 0]) - - self.addconfiguration("qr", self.qr) - self.addconfiguration("qz", self.qz) - - -if __name__ == "__main__": # pragma nocover - robot = FetchCamera() - print(robot) - - for link in robot.links: - print(link.name) - print(link.isjoint) - print(len(link.collision)) - - print() - - for link in robot.grippers[0].links: - print(link.name) - print(link.isjoint) - print(len(link.collision)) diff --git a/src/roboticstoolbox/models/URDF/__init__.py b/src/roboticstoolbox/models/URDF/__init__.py index 071c9e5d..dd182b20 100644 --- a/src/roboticstoolbox/models/URDF/__init__.py +++ b/src/roboticstoolbox/models/URDF/__init__.py @@ -20,7 +20,6 @@ from roboticstoolbox.models.URDF.KinovaGen3 import KinovaGen3 from roboticstoolbox.models.URDF.YuMi import YuMi from roboticstoolbox.models.URDF.Fetch import Fetch -from roboticstoolbox.models.URDF.FetchCamera import FetchCamera from roboticstoolbox.models.URDF.Valkyrie import Valkyrie from roboticstoolbox.models.URDF.AL5D import AL5D @@ -47,7 +46,6 @@ "KinovaGen3", "YuMi", "Fetch", - "FetchCamera", "Valkyrie", "AL5D", ]