fix: move all py files to scripts folder

This commit is contained in:
fan-ziqi 2024-08-09 18:04:04 +08:00
parent f4ec1261bb
commit 150b497678
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import csv
from pynput import keyboard
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")
class LOGGER:

View File

@ -13,9 +13,9 @@ from gazebo_msgs.srv import SetModelState, SetModelStateRequest
from std_srvs.srv import Empty
path = os.path.abspath(".")
sys.path.insert(0, path + "/src/rl_sar")
from library.rl_sdk.rl_sdk import *
from library.observation_buffer.observation_buffer import *
sys.path.insert(0, path + "/src/rl_sar/scripts")
from rl_sdk import *
from observation_buffer import *
CSV_LOGGER = False