mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 02:08:03 -05:00
add animation gif
This commit is contained in:
BIN
PathPlanning/BatchInformedRRTStar/animation.gif
Normal file
BIN
PathPlanning/BatchInformedRRTStar/animation.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
@@ -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 |
Reference in New Issue
Block a user