goto_skips_line

forward goto skips the middle motion block

Status: Match

Input G-code

GOTO END
G1 X10
END:
G1 X20

Options

{
  "filename": null,
  "active_skip_levels": [],
  "tool_change_mode": "deferred_m6",
  "enable_iso_m98_calls": false
}

Expected Trace

{
  "name": "goto_skips_line",
  "description": "forward goto skips the middle motion block",
  "initial_state": {
    "modal": {
      "motion_code": "",
      "working_plane": "xy",
      "rapid_mode": "linear",
      "tool_radius_comp": "off",
      "active_tool_selection": null,
      "pending_tool_selection": null,
      "selected_tool_selection": null
    }
  },
  "options": {
    "filename": null,
    "active_skip_levels": [],
    "tool_change_mode": "deferred_m6",
    "enable_iso_m98_calls": false
  },
  "expected_events": [
    {
      "type": "linear_move",
      "source": {
        "filename": null,
        "line": 4,
        "line_number": null
      },
      "target": {
        "x": 20.0,
        "y": null,
        "z": null,
        "a": null,
        "b": null,
        "c": null
      },
      "feed": null,
      "effective": {
        "motion_code": "G1",
        "working_plane": "xy",
        "rapid_mode": "linear",
        "tool_radius_comp": "off",
        "active_tool_selection": null,
        "pending_tool_selection": null,
        "selected_tool_selection": null
      }
    },
    {
      "type": "completed"
    }
  ]
}

Actual Trace

{
  "name": "goto_skips_line",
  "description": "forward goto skips the middle motion block",
  "initial_state": {
    "modal": {
      "motion_code": "",
      "working_plane": "xy",
      "rapid_mode": "linear",
      "tool_radius_comp": "off",
      "active_tool_selection": null,
      "pending_tool_selection": null,
      "selected_tool_selection": null
    }
  },
  "options": {
    "filename": null,
    "active_skip_levels": [],
    "tool_change_mode": "deferred_m6",
    "enable_iso_m98_calls": false
  },
  "expected_events": [
    {
      "type": "linear_move",
      "source": {
        "filename": null,
        "line": 4,
        "line_number": null
      },
      "target": {
        "x": 20.0,
        "y": null,
        "z": null,
        "a": null,
        "b": null,
        "c": null
      },
      "feed": null,
      "effective": {
        "motion_code": "G1",
        "working_plane": "xy",
        "rapid_mode": "linear",
        "tool_radius_comp": "off",
        "active_tool_selection": null,
        "pending_tool_selection": null,
        "selected_tool_selection": null
      }
    },
    {
      "type": "completed"
    }
  ]
}