|
@@ -326,7 +326,7 @@ class Batchrun:
|
|
if __name__ == "__main__":
|
|
if __name__ == "__main__":
|
|
# rootPath = "/media/hancheng/Simulation5/pujin/pujin_outdoor/pjioutrobot_2024-08-21-15-12-04" # 跟车
|
|
# rootPath = "/media/hancheng/Simulation5/pujin/pujin_outdoor/pjioutrobot_2024-08-21-15-12-04" # 跟车
|
|
rootPath = sys.argv[1]
|
|
rootPath = sys.argv[1]
|
|
- vehicle_type = sys.argv[2] # 0 配送 1 巡检
|
|
|
|
|
|
+ vehicle_type = sys.argv[2] # 0 配送 1 巡检
|
|
# 生成场景
|
|
# 生成场景
|
|
a = Batchrun(rootPath, "pos_pji.csv")
|
|
a = Batchrun(rootPath, "pos_pji.csv")
|
|
a.batchRun(rootPath, vehicle_type) # 0为占位参数
|
|
a.batchRun(rootPath, vehicle_type) # 0为占位参数
|