We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d954ee2 commit 57fb1e0Copy full SHA for 57fb1e0
tests/test_CustomXacro.py
@@ -9,7 +9,7 @@
9
from roboticstoolbox import Robot
10
from spatialmath import SE3
11
from roboticstoolbox.tools.data import rtb_path_to_datafile
12
-from distutils.dir_util import copy_tree
+from shutil import copytree
13
from os import mkdir, path
14
import tempfile as tf
15
@@ -52,7 +52,7 @@ def __init__(self, xacro_path):
52
panda_xacro = xacro_path / "franka_description"
53
54
# Copy into temp franka directory
55
- copy_tree(panda_xacro, franka_dir)
+ copytree(panda_xacro, franka_dir, dirs_exist_ok=True)
56
57
# Make our custom robot
58
robot = CustomPanda(xacro_dir)
0 commit comments