Use import *
just like MATLAB now!
@@ -17,7 +17,7 @@ import argparse
from math import pi # lgtm [py/unused-import]
import numpy as np
import matplotlib as plt # lgtm [py/unused-import]
-import roboticstoolbox as rtb # lgtm [py/unused-import]
+from roboticstoolbox import * # lgtm [py/unused-import]
from spatialmath import * # lgtm [py/polluting-import]
from spatialmath.base import * # lgtm [py/polluting-import]
@@ -38,8 +38,8 @@ if args.backend is not None:
plt.use(args.backend)
# load some models
-puma = rtb.models.DH.Puma560()
-panda = rtb.models.DH.Panda()
+puma = models.DH.Puma560()
+panda = models.DH.Panda()
# print the banner
# https://patorjk.com/software/taag/#p=display&f=Cybermedium&t=Robotics%20Toolbox%0A
@@ -49,6 +49,9 @@ print(r"""____ ____ ___ ____ ___ _ ____ ____ ___ ____ ____ _ ___ ____ _
for Python
+from roboticstoolbox import *
+from spatialmath import *
+
""")
if args.script is not None:
