'rrt_connect'

This commit is contained in:
yue qi
2020-08-03 20:39:24 -07:00
parent a8f9e26198
commit 36cc2ff837
2 changed files with 40 additions and 6 deletions
@@ -139,7 +139,7 @@ class dynamic_rrt_3D():
t = 0
while True:
# move the block while the robot is moving
new, old = self.env.move_block(a=[0, 0, -0.2], mode='translation')
new, _ = self.env.move_block(a=[0, 0, -0.2], mode='translation')
self.InvalidateNodes(new)
# if solution path contains invalid node
self.done = True