mirror of https://github.com/fan-ziqi/rl_sar.git
fix: move all py files to scripts folder
This commit is contained in:
parent
f4ec1261bb
commit
150b497678
|
@ -5,7 +5,7 @@ import csv
|
||||||
from pynput import keyboard
|
from pynput import keyboard
|
||||||
from enum import Enum, auto
|
from enum import Enum, auto
|
||||||
|
|
||||||
BASE_PATH = os.path.join(os.path.dirname(__file__), "../../")
|
BASE_PATH = os.path.join(os.path.dirname(__file__), "../")
|
||||||
CONFIG_PATH = os.path.join(BASE_PATH, "config.yaml")
|
CONFIG_PATH = os.path.join(BASE_PATH, "config.yaml")
|
||||||
|
|
||||||
class LOGGER:
|
class LOGGER:
|
|
@ -13,9 +13,9 @@ from gazebo_msgs.srv import SetModelState, SetModelStateRequest
|
||||||
from std_srvs.srv import Empty
|
from std_srvs.srv import Empty
|
||||||
|
|
||||||
path = os.path.abspath(".")
|
path = os.path.abspath(".")
|
||||||
sys.path.insert(0, path + "/src/rl_sar")
|
sys.path.insert(0, path + "/src/rl_sar/scripts")
|
||||||
from library.rl_sdk.rl_sdk import *
|
from rl_sdk import *
|
||||||
from library.observation_buffer.observation_buffer import *
|
from observation_buffer import *
|
||||||
|
|
||||||
CSV_LOGGER = False
|
CSV_LOGGER = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue