mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-16 11:25:15 -05:00
using pathlib based local module import (#722)
* using pathlib based local module import * remove unused import
This commit is contained in:
@@ -5,27 +5,17 @@ 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
|
||||
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
import sys
|
||||
import pathlib
|
||||
sys.path.append(str(pathlib.Path(__file__).parent.parent))
|
||||
|
||||
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
|
||||
from ClosedLoopRRTStar import pure_pursuit
|
||||
from ClosedLoopRRTStar import unicycle_model
|
||||
from ReedsSheppPath import reeds_shepp_path_planning
|
||||
from RRTStarReedsShepp.rrt_star_reeds_shepp import RRTStarReedsShepp
|
||||
|
||||
show_animation = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user