Skip to content
Snippets Groups Projects
Select Git revision
  • b08b0c2897e6fa5eb54507f3bb9b69e67b2c03cf
  • master default protected
  • at_palomagr
3 results

mm2.json

Blame
  • mm2.json 3.27 KiB
    {
      "description": {
        "name": "new program",
        "counter": 2
      },
      "modules": {
        "SerialportATKLink-0": {
          "description": {
            "isHardware": true,
            "isLink": true,
            "name": "SerialportATKLink",
            "alt": "window into hardware world",
            "id": "SerialportATKLink-0",
            "path": "./modules/hardware/atkseriallink.js",
            "position": {
              "left": 650,
              "top": 307
            }
          },
          "inputs": {},
          "outputs": {},
          "state": {
            "portName": "---",
            "portStatus": "closed"
          },
          "ui": {
            "kickButton": {
              "type": "button",
              "clientPath": "ui/uiButton.js"
            }
          }
        },
        "ATKStepper-1": {
          "description": {
            "name": "ATKStepper",
            "alt": "software representation of stepper motor",
            "isHardware": true,
            "id": "ATKStepper-1",
            "path": "./modules/hardware/atkstepper.js",
            "position": {
              "left": 177,
              "top": 118
            }
          },
          "inputs": {
            "trapezoid": {
              "accepts": "move instruction"
            },
            "accel": {
              "accepts": "number"
            },
            "rmtrig": {
              "accepts": "event"
            }
          },
          "outputs": {
            "ack": {
              "emits": "move acknowledgement",
              "calls": []
            },
            "position": {
              "emits": "number",
              "calls": []
            }
          },
          "state": {
            "message": "click below to test network",
            "route": "0,0",
            "rate": 2000,
            "axis": "X",
            "spu": 200,
            "rawMove": -10,
            "lead": 0,
            "position": 0
          },
          "ui": {
            "resetButton": {
              "type": "button",
              "clientPath": "ui/uiButton.js"
            },
            "testButton": {
              "type": "button",
              "clientPath": "ui/uiButton.js"
            },
            "rawButton": {
              "type": "button",
              "clientPath": "ui/uiButton.js"
            }
          }
        },
        "ATKStepper-2": {
          "description": {
            "name": "ATKStepper",
            "alt": "software representation of stepper motor",
            "isHardware": true,
            "id": "ATKStepper-2",
            "path": "./modules/hardware/atkstepper.js",
            "position": {
              "left": 183,
              "top": 545
            }
          },
          "inputs": {
            "trapezoid": {
              "accepts": "move instruction"
            },
            "accel": {
              "accepts": "number"
            },
            "rmtrig": {
              "accepts": "event"
            }
          },
          "outputs": {
            "ack": {
              "emits": "move acknowledgement",
              "calls": []
            },
            "position": {
              "emits": "number",
              "calls": []
            }
          },
          "state": {
            "message": "click below to test network",
            "route": "0,0",
            "rate": 2000,
            "axis": "X",
            "spu": 200,
            "rawMove": -10,
            "lead": 0,
            "position": 0
          },
          "ui": {
            "resetButton": {
              "type": "button",
              "clientPath": "ui/uiButton.js"
            },
            "testButton": {
              "type": "button",
              "clientPath": "ui/uiButton.js"
            },
            "rawButton": {
              "type": "button",
              "clientPath": "ui/uiButton.js"
            }
          }
        }
      }
    }