|
3 | 3 | from copy import deepcopy
|
4 | 4 | import numpy as np
|
5 | 5 | import roboticstoolbox as rtb
|
6 |
| -from spatialmath import SE3, SE2 |
| 6 | +from spatialmath import SE3 |
7 | 7 | from spatialmath.base.argcheck import (
|
8 | 8 | isvector,
|
9 | 9 | getvector,
|
|
18 | 18 | from roboticstoolbox.robot.Dynamics import DynamicsMixin
|
19 | 19 | from roboticstoolbox.robot.ETS import ETS
|
20 | 20 | from roboticstoolbox.robot.IK import IKMixin
|
21 |
| -from typing import Optional, Union, overload, Dict, Tuple |
| 21 | +from typing import Union, Dict, Tuple |
22 | 22 | from spatialgeometry import Shape
|
23 | 23 | from fknm import Robot_link_T
|
24 | 24 | from functools import lru_cache
|
25 | 25 | from spatialgeometry import SceneNode
|
26 | 26 | from roboticstoolbox.robot.Link import BaseLink, Link
|
27 |
| -from numpy import all, eye, isin |
| 27 | + |
| 28 | +# from numpy import all, eye, isin |
28 | 29 | from roboticstoolbox.robot.Gripper import Gripper
|
29 | 30 | from numpy import ndarray
|
30 | 31 | from warnings import warn
|
31 |
| -import scipy as sp |
| 32 | + |
| 33 | +# import scipy as sp |
32 | 34 |
|
33 | 35 | try:
|
34 | 36 | from matplotlib import colors
|
@@ -980,7 +982,7 @@ def jacob0_dot(self, q=None, qd=None, J0=None, representation=None):
|
980 | 982 |
|
981 | 983 | :seealso: :func:`jacob0`, :func:`hessian0`
|
982 | 984 | """ # noqa
|
983 |
| - n = len(q) |
| 985 | + # n = len(q) |
984 | 986 |
|
985 | 987 | if representation is None:
|
986 | 988 |
|
@@ -2199,10 +2201,12 @@ def get_link_scene_node():
|
2199 | 2201 |
|
2200 | 2202 | if __name__ == "__main__":
|
2201 | 2203 |
|
2202 |
| - import roboticstoolbox as rtb |
| 2204 | + pass |
| 2205 | + |
| 2206 | + # import roboticstoolbox as rtb |
2203 | 2207 |
|
2204 |
| - puma = rtb.models.DH.Puma560() |
2205 |
| - a = puma.copy() |
| 2208 | + # puma = rtb.models.DH.Puma560() |
| 2209 | + # a = puma.copy() |
2206 | 2210 |
|
2207 | 2211 | # from roboticstoolbox import ET2 as ET
|
2208 | 2212 |
|
|
0 commit comments