您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

10 行
228B

  1. import json
  2. servo_mapping_filename = "/home/wuselfuzz/hexapod_ng/configuration/servo_mapping.json"
  3. with open(servo_mapping_filename, "r") as f:
  4. servo_mapping = json.load(f)
  5. print(json.dumps(servo_mapping, indent=4))