Everything posted by Arctan
-
Difficulty importing template.
Sorry, just seen your second reply...
-
Difficulty importing template.
How about this? Error at 2,2. I appreciate your valuable time, so if there are errors beyond this I'll return to manually assigning. <?xml version="1.0" encoding="UTF-8"?> <AAOProfile version="1.0"> <Device name="X-Touch Mini" id="1"> <!-- Layer A: Cockpit/External Cameras --> <Layer id="A"> <Assignment type="Button" id="1" action="SCRIPT:Camera_CockpitForward"/> <Assignment type="Button" id="2" action="SCRIPT:Camera_CockpitLeft"/> <Assignment type="Button" id="3" action="SCRIPT:Camera_CockpitRight"/> <Assignment type="Button" id="4" action="SCRIPT:Camera_CockpitOverhead"/> <Assignment type="Button" id="5" action="SCRIPT:Camera_ExternalChase"/> <Assignment type="Button" id="6" action="SCRIPT:Camera_ExternalFlyby"/> <Assignment type="Button" id="7" action="SCRIPT:Camera_ExternalTopDown"/> <Assignment type="Button" id="8" action="SCRIPT:Camera_Reset"/> <Assignment type="Encoder" id="1" action="SCRIPT:Camera_PanLeftRight"/> <Assignment type="Encoder" id="2" action="SCRIPT:Camera_PanUpDown"/> <Assignment type="Encoder" id="3" action="SCRIPT:Camera_Zoom"/> <Assignment type="Encoder" id="4" action="SCRIPT:Camera_Tilt"/> </Layer> <!-- Layer B: Drone Cameras --> <Layer id="B"> <Assignment type="Button" id="1" action="SCRIPT:Drone_Toggle"/> <Assignment type="Button" id="2" action="SCRIPT:Drone_Forward"/> <Assignment type="Button" id="3" action="SCRIPT:Drone_Backward"/> <Assignment type="Button" id="4" action="SCRIPT:Drone_Left"/> <Assignment type="Button" id="5" action="SCRIPT:Drone_Right"/> <Assignment type="Button" id="6" action="SCRIPT:Drone_Up"/> <Assignment type="Button" id="7" action="SCRIPT:Drone_Down"/> <Assignment type="Button" id="8" action="SCRIPT:Drone_Reset"/> <Assignment type="Encoder" id="1" action="SCRIPT:Drone_Yaw"/> <Assignment type="Encoder" id="2" action="SCRIPT:Drone_Pitch"/> <Assignment type="Encoder" id="3" action="SCRIPT:Drone_Roll"/> <Assignment type="Encoder" id="4" action="SCRIPT:Drone_Zoom"/> </Layer> </Device> </AAOProfile>
-
Difficulty importing template.
Thank you. An excellent answer!
-
Difficulty importing template.
Hello to you. I'm very inexperienced with AAO and I'm having difficulty importing a template file. I get 'error at 1,1' when attempted. I've used notepad ++ in windows 11 to save the file, and confirm it's encoded and saved as uft8, not uft 8 BOM. Here is the code, as I can't as yet upload the file. I've imported the script file without complaint (but have no confirmation of this). The AAO manual cover page suggests I'm using Version 4.51 - 01.12.2024, which I downloaded in February 2025. { "Version": "4.51", "Devices": [ { "Name": "X-Touch Mini", "Layer": "A", "Assignments": [ { "Control": "Knob1", "Type": "Script", "Target": "ExtCamLeftRight" }, { "Control": "Knob2", "Type": "Script", "Target": "ExtCamUpDown" }, { "Control": "Knob3", "Type": "Script", "Target": "CockpitZoom" }, { "Control": "Knob4", "Type": "Script", "Target": "ExtCamZoom" }, { "Control": "Knob5", "Type": "Script", "Target": "CockpitNextView" }, { "Control": "Knob6", "Type": "Script", "Target": "CockpitPrevView" }, { "Control": "Button1", "Type": "Event", "Target": "CAMERA COCKPIT" }, { "Control": "Button2", "Type": "Event", "Target": "CAMERA EXTERNAL" }, { "Control": "Button3", "Type": "Event", "Target": "VIEW_RESET" } ] }, { "Name": "X-Touch Mini", "Layer": "B", "Assignments": [ { "Control": "Knob1", "Type": "Script", "Target": "DroneYaw" }, { "Control": "Knob2", "Type": "Script", "Target": "DronePitch" }, { "Control": "Knob3", "Type": "Script", "Target": "DroneRoll" }, { "Control": "Knob4", "Type": "Script", "Target": "DroneForwardBack" }, { "Control": "Knob5", "Type": "Script", "Target": "DroneLeftRight" }, { "Control": "Knob6", "Type": "Script", "Target": "DroneUpDown" }, { "Control": "Knob7", "Type": "Script", "Target": "DroneSpeed" }, { "Control": "Knob8", "Type": "Script", "Target": "DroneZoom" }, { "Control": "Button1", "Type": "Event", "Target": "TOGGLE DRONE CAMERA" }, { "Control": "Button2", "Type": "Event", "Target": "DRONE RESET" } ] } ] }