add animation gif

This commit is contained in:
Atsushi Sakai
2018-06-16 21:20:28 +09:00
parent 4db588bf8c
commit 6f3c12cbf7
3 changed files with 3 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@@ -9,6 +9,7 @@ Uses lazy connecting by combining sampling based methods and A*
like incremental graph search algorithms.
author: Karan Chawla(@karanchawla)
Atsushi Sakai(@Atsushi_twi)
Reference: https://arxiv.org/abs/1405.5848
"""
@@ -20,11 +21,10 @@ import matplotlib.pyplot as plt
show_animation = True
# Class to represent the explicit tree created
# while sampling through the state space
class RTree(object):
# Class to represent the explicit tree created
# while sampling through the state space
def __init__(self, start=[0, 0], lowerLimit=[0, 0], upperLimit=[10, 10], resolution=1):
@@ -581,7 +581,6 @@ def main():
bitStar = BITStar(start=[-1, 0], goal=[3, 8], obstacleList=obstacleList,
randArea=[-2, 15])
path = bitStar.plan(animation=show_animation)
# print(path)
print("Done")
if show_animation:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB