Skip to content

Commit 1f80007

Browse files
committed
bug fixed
1 parent f54975d commit 1f80007

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/create_pdudef.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def convert_csv_to_json(csv_file_path, output_json_path):
6363
"name": f"{row['RobotName']}_{row['pdu_name']}",
6464
"channel_id": int(row["channel_id"]),
6565
"pdu_size": int(row["pdu_size"]) + PDU_METDATA_SIZE,
66-
"write_cycle": int(row["io_cycle"])
66+
"write_cycle": int(row["io_cycle"]),
67+
"method_type": "SHM"
6768
}
6869

6970
# Add to appropriate list based on read_or_write

0 commit comments

Comments
 (0)