mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-16 14:05:30 -05:00
Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart (#516)
* Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart * Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart * Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart * Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart * Fix No module error in GridBasedSweepCPP and ClosedLoopRRTStart
This commit is contained in:
@@ -5,15 +5,28 @@ Path planning Sample Code with Closed loop RRT for car like robot.
|
||||
author: AtsushiSakai(@Atsushi_twi)
|
||||
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
import reeds_shepp_path_planning
|
||||
from rrt_star_reeds_shepp import RRTStarReedsShepp
|
||||
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
import pure_pursuit
|
||||
import unicycle_model
|
||||
|
||||
sys.path.append(os.path.dirname(
|
||||
os.path.abspath(__file__)) + "/../ReedsSheppPath/")
|
||||
sys.path.append(os.path.dirname(
|
||||
os.path.abspath(__file__)) + "/../RRTStarReedsShepp/")
|
||||
|
||||
try:
|
||||
import reeds_shepp_path_planning
|
||||
from rrt_star_reeds_shepp import RRTStarReedsShepp
|
||||
except ImportError:
|
||||
raise
|
||||
|
||||
show_animation = True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user