{
  "blocks": {
    "languageVersion": 0,
    "blocks": [
      {
        "type": "APM_digital_motor_init",
        "id": "--s.(;:u39;VL:).[snd",
        "x": 188,
        "y": 188,
        "fields": {
          "digital_motor_instance": "左轮",
          "port": "1",
          "direction": "True",
          "soft_break": true
        },
        "next": {
          "block": {
            "type": "APM_digital_motor_init",
            "id": "g4c;_t`_.6|=;^j5f)%j",
            "fields": {
              "digital_motor_instance": "右轮",
              "port": "2",
              "direction": "False",
              "soft_break": true
            },
            "next": {
              "block": {
                "type": "variables_set",
                "id": "^]GjyGmnIU@mz3-bDs@G",
                "fields": {
                  "VAR": {
                    "id": "l)zn8cOn@ddsJORH.X5P"
                  }
                },
                "inputs": {
                  "VALUE": {
                    "block": {
                      "type": "math_number",
                      "id": "`R^4njUKB+oB@/nc.tin",
                      "fields": {
                        "NUM": 0
                      }
                    }
                  }
                },
                "next": {
                  "block": {
                    "type": "controls_whileUntil",
                    "id": ":t)L+qr=uh8b)*Yu9h|_",
                    "fields": {
                      "MODE": "WHILE"
                    },
                    "inputs": {
                      "BOOL": {
                        "block": {
                          "type": "logic_boolean",
                          "id": "x8r#hj[8WMP:=qY9;0VC",
                          "fields": {
                            "BOOL": "TRUE"
                          }
                        }
                      },
                      "DO": {
                        "block": {
                          "type": "APM_digital_motor_openloop",
                          "id": "EBD4@E|jV6{3L^Ap`yR7",
                          "fields": {
                            "instance": "左轮"
                          },
                          "inputs": {
                            "speed": {
                              "shadow": {
                                "type": "math_number",
                                "id": "R{Q6{-Dq(7p)s0%mx=hA",
                                "fields": {
                                  "NUM": 0
                                }
                              },
                              "block": {
                                "type": "variables_get",
                                "id": "i)(9JDR~Uh(}A~@|Uq*b",
                                "fields": {
                                  "VAR": {
                                    "id": "l)zn8cOn@ddsJORH.X5P"
                                  }
                                }
                              }
                            }
                          },
                          "next": {
                            "block": {
                              "type": "APM_digital_motor_openloop",
                              "id": "EM)zu,cxN4ZP,E.R#Y8F",
                              "fields": {
                                "instance": "右轮"
                              },
                              "inputs": {
                                "speed": {
                                  "shadow": {
                                    "type": "math_number",
                                    "id": "(wjBRH2TMRkZY^:*Wg0+",
                                    "fields": {
                                      "NUM": 0
                                    }
                                  },
                                  "block": {
                                    "type": "variables_get",
                                    "id": "_P.i/eucq|k-IZ^CYDHQ",
                                    "fields": {
                                      "VAR": {
                                        "id": "l)zn8cOn@ddsJORH.X5P"
                                      }
                                    }
                                  }
                                }
                              },
                              "next": {
                                "block": {
                                  "type": "controls_if",
                                  "id": "9D[,Oa38KB0b4=;54/k`",
                                  "extraState": {
                                    "elseIfCount": 2,
                                    "hasElse": true
                                  },
                                  "inputs": {
                                    "IF0": {
                                      "block": {
                                        "type": "APM-cheap_get_button",
                                        "id": "O6PfJk:E15%Z|%X!=cL]",
                                        "fields": {
                                          "button_name": "A"
                                        }
                                      }
                                    },
                                    "DO0": {
                                      "block": {
                                        "type": "variables_set",
                                        "id": "w7TmBK!A8mL58HBm)0Fp",
                                        "fields": {
                                          "VAR": {
                                            "id": "l)zn8cOn@ddsJORH.X5P"
                                          }
                                        },
                                        "inputs": {
                                          "VALUE": {
                                            "block": {
                                              "type": "math_number",
                                              "id": "*Ca|jrhO!nC=tsINWQTU",
                                              "fields": {
                                                "NUM": 30
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "IF1": {
                                      "block": {
                                        "type": "APM-cheap_get_button",
                                        "id": "#,ocYPrAd@v{u+-_(m#d",
                                        "fields": {
                                          "button_name": "M"
                                        }
                                      }
                                    },
                                    "DO1": {
                                      "block": {
                                        "type": "variables_set",
                                        "id": ";le0CEbbNCk~xU4DJZ@,",
                                        "fields": {
                                          "VAR": {
                                            "id": "l)zn8cOn@ddsJORH.X5P"
                                          }
                                        },
                                        "inputs": {
                                          "VALUE": {
                                            "block": {
                                              "type": "math_number",
                                              "id": "d*0Dv}?`YF{xY0Mgez!|",
                                              "fields": {
                                                "NUM": 60
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "IF2": {
                                      "block": {
                                        "type": "APM-cheap_get_button",
                                        "id": "x$uBI.v,!q:H1YZ*0n7e",
                                        "fields": {
                                          "button_name": "ROCKET"
                                        }
                                      }
                                    },
                                    "DO2": {
                                      "block": {
                                        "type": "variables_set",
                                        "id": "c[t~_;rtUB1,`|Av@vg0",
                                        "fields": {
                                          "VAR": {
                                            "id": "l)zn8cOn@ddsJORH.X5P"
                                          }
                                        },
                                        "inputs": {
                                          "VALUE": {
                                            "block": {
                                              "type": "math_number",
                                              "id": "/1oM#4F0D%Co+(__xF_$",
                                              "fields": {
                                                "NUM": 100
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "ELSE": {
                                      "block": {
                                        "type": "variables_set",
                                        "id": "Vr5BAq5/NR3wH}UCSW8d",
                                        "fields": {
                                          "VAR": {
                                            "id": "l)zn8cOn@ddsJORH.X5P"
                                          }
                                        },
                                        "inputs": {
                                          "VALUE": {
                                            "block": {
                                              "type": "math_number",
                                              "id": "]|q.gGf?iH5gcm|QhrRt",
                                              "fields": {
                                                "NUM": 0
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    ]
  },
  "variables": [
    {
      "name": "sudu",
      "id": "l)zn8cOn@ddsJORH.X5P"
    }
  ]
}