Selaa lähdekoodia

配置项处理

rambo 3 kuukautta sitten
vanhempi
commit
0d8f08868e
2 muutettua tiedostoa jossa 15 lisäystä ja 59 poistoa
  1. 15 35
      python/action.json
  2. 0 24
      python/action_tabs.json

+ 15 - 35
python/action.json

@@ -2,16 +2,16 @@
     {
         "tab_id": 1,
         "execution_type": "程序1",
-        "action_name": "俯视",
+        "action_name": "正面",
         "action_index": 10,
         "is_system":true,
         "picture_index": 99,
         "camera_height": 200,
-        "camera_angle": 14.0,
+        "camera_angle": 7.0,
         "number_focus": 1,
         "take_picture": true,
-        "turntable_position": 300.0,
-        "turntable_angle": -32.0,
+        "turntable_position": 350.0,
+        "turntable_angle": -20.0,
         "shoe_upturn": false,
         "pre_delay": 0.0,
         "after_delay": 0.0,
@@ -26,12 +26,12 @@
         "action_index": 20,
         "is_system": true,
         "picture_index": 99,
-        "camera_height": 0,
-        "camera_angle": 3.0,
+        "camera_height": 350,
+        "camera_angle": 10.0,
         "number_focus": 1,
         "take_picture": true,
-        "turntable_position": 300.0,
-        "turntable_angle": 0.0,
+        "turntable_position": 100.0,
+        "turntable_angle": 30.0,
         "shoe_upturn": false,
         "pre_delay": 0.0,
         "after_delay": 0.0,
@@ -42,16 +42,16 @@
     {
         "tab_id": 1,
         "execution_type": "程序1",
-        "action_name": "后跟",
+        "action_name": "背面",
         "action_index": 30,
         "picture_index": 99,
         "is_system": true,
         "camera_height": 0,
-        "camera_angle": 3.0,
+        "camera_angle": 2.0,
         "number_focus": 1,
         "take_picture": true,
-        "turntable_position": 450.0,
-        "turntable_angle": 70.0,
+        "turntable_position": 0.0,
+        "turntable_angle": 160.0,
         "shoe_upturn": false,
         "pre_delay": 0.0,
         "after_delay": 0.0,
@@ -62,7 +62,7 @@
     {
         "tab_id": 1,
         "execution_type": "程序2",
-        "action_name": "鞋底",
+        "action_name": "背侧",
         "action_index": 40,
         "picture_index": 99,
         "is_system": true,
@@ -70,33 +70,13 @@
         "camera_angle": 3.0,
         "number_focus": 1,
         "take_picture": true,
-        "turntable_position": 100.0,
-        "turntable_angle": 0.0,
+        "turntable_position": 0.0,
+        "turntable_angle": -12.0,
         "shoe_upturn": true,
         "pre_delay": 3.0,
         "after_delay": 0.0,
         "led_switch": false,
         "is_wait": false,
         "is_need_confirm": false
-    },
-    {
-        "tab_id": 1,
-        "execution_type": "程序2",
-        "action_name": "内里",
-        "action_index": 50,
-        "picture_index": 99,
-        "camera_height": 0,
-        "is_system": true,
-        "camera_angle": 3.0,
-        "number_focus": 1,
-        "take_picture": true,
-        "turntable_position": 500.0,
-        "turntable_angle": 180.0,
-        "shoe_upturn": false,
-        "pre_delay": 0.0,
-        "after_delay": 0.0,
-        "led_switch": false,
-        "is_wait": false,
-        "is_need_confirm": false
     }
 ]

+ 0 - 24
python/action_tabs.json

@@ -22,29 +22,5 @@
     {
         "mode_type": 0,
         "mode_name": "自定义配置5"
-    },
-    {
-        "mode_type": 1,
-        "mode_name": "执行右脚程序"
-    },
-    {
-        "mode_type": 1,
-        "mode_name": "自定义配置1"
-    },
-    {
-        "mode_type": 1,
-        "mode_name": "自定义配置2"
-    },
-    {
-        "mode_type": 1,
-        "mode_name": "自定义配置3"
-    },
-    {
-        "mode_type": 1,
-        "mode_name": "自定义配置4"
-    },
-    {
-        "mode_type": 1,
-        "mode_name": "自定义配置5"
     }
 ]