From 593e47c4f81ac5949a4c551ea880da4c586cb8f8 Mon Sep 17 00:00:00 2001 From: Marcus Grieger Date: Sat, 27 Jan 2024 12:26:32 +0100 Subject: [PATCH] Add servo_mapping.py --- python/servo_mapping.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 python/servo_mapping.py diff --git a/python/servo_mapping.py b/python/servo_mapping.py new file mode 100644 index 0000000..ef7083c --- /dev/null +++ b/python/servo_mapping.py @@ -0,0 +1,9 @@ +import json + + +servo_mapping_filename = "/home/wuselfuzz/hexapod_ng/configuration/servo_mapping.json" + +with open(servo_mapping_filename, "r") as f: + servo_mapping = json.load(f) + +print(json.dumps(servo_mapping, indent=4))