make_box() is a public method now
This commit is contained in:
Robert Haschke 2024-02-15 21:57:48 +01:00
parent a90557279c
commit 275c15422d

View File

@ -25,7 +25,7 @@ class TestModifyPlanningScene(unittest.TestCase):
def setUp(self): def setUp(self):
super(TestModifyPlanningScene, self).setUp() super(TestModifyPlanningScene, self).setUp()
self.psi = PlanningSceneInterface(synchronous=True) self.psi = PlanningSceneInterface(synchronous=True)
self.make_box = self.psi._PlanningSceneInterface__make_box self.make_box = self.psi.make_box
# insert a box to collide with # insert a box to collide with
self.psi.add_box("box", make_pose(0.8, 0.25, 1.25), [0.2, 0.2, 0.2]) self.psi.add_box("box", make_pose(0.8, 0.25, 1.25), [0.2, 0.2, 0.2])
self.task = task = core.Task() self.task = task = core.Task()