LingxinMeng 7 달 전
부모
커밋
9896d2fed1
1개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 5 6
      src/python2/pjibot_delivery/simulation-pjibot_delivery.py

+ 5 - 6
src/python2/pjibot_delivery/simulation-pjibot_delivery.py

@@ -11,8 +11,11 @@ key1 = 'pjibot_delivery/'
 path1 = '/scenarios1/'
 path2 = '/mnt/disk001/dcl_data_process/src/python2/pjibot_delivery/'
 path3 = '/mnt/disk001/simulation_outdoor/'
-xodr = 'thq_1116.xodr'
-osgb = 'thq_1116.opt.osgb'
+# xodr = 'thq_1116.xodr'
+# osgb = 'thq_1116.opt.osgb'
+xodr = 'thq_20240706.xodr'
+osgb = 'thq_20230710.osgb'
+
 vehicle_name = 'PuJin_distribution'  # 配送 PuJin_distribution 巡检 PuJin_patrol_robot
 xoscName = 'scenario.xosc'
 logging.basicConfig(filename=path2 + 'log/simulation.log', level=logging.INFO,
@@ -23,10 +26,6 @@ sleep_time = 60  # 每多少秒扫描一次
 
 def move_xosc_before_simulation(root_path):
     try:
-
-        xodr = 'thq_20240706.xodr'
-        osgb = 'thq_20230710.osgb'
-
         tree1 = ET.parse(root_path + 'scenario_orig.xosc')
         root1 = tree1.getroot()
         for node0 in root1: