|
@@ -23,6 +23,7 @@ logging.basicConfig(filename=path1 + 'log/csv-pjibot_delivery.log', level=loggin
|
|
|
key1 = 'pjibot_delivery/'
|
|
|
sleep_time = 30 # 每多少秒扫描一次
|
|
|
error_bag_json = "/mnt/disk001/dcl_data_process/src/python2/pjibot_delivery/csv-errorBag.json"
|
|
|
+command_report = './pji_outdoor_real'
|
|
|
# ------- 全局配置 -------
|
|
|
|
|
|
|
|
@@ -114,7 +115,7 @@ def parse_csv(data_bag, parse_prefix, local_parse_dir, local_delete_list):
|
|
|
can_pdf = False
|
|
|
if can_pdf:
|
|
|
os.chdir(path2)
|
|
|
- command1 = ['./pji_outdoor_real',
|
|
|
+ command1 = [command_report,
|
|
|
os.path.join(local_csv_dir, ''), # 注意:这里可能不需要末尾的 '/',取决于程序要求
|
|
|
os.path.join(local_csv_dir, ''), # 同上
|
|
|
os.path.join(local_csv_dir, 'trajectory.png'),
|