mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Adaptions for https://github.com/ros-planning/moveit/pull/3534
make_box() is a public method now
This commit is contained in:
parent
a90557279c
commit
275c15422d
@ -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()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user