GRBL V1.1f源码中文注解--GCode篇

Grbl是一个用于控制机器的运动的免费的,开源的,高性能的软件,制造物体或使东西移动,并将直接在Arduino平台上运行。如果制造商运动是一个行业,Grbl将是行业标准。

大多数开源3D打印机的核心都有Grbl控制器。它已经被用于数百个项目,包括激光切割机、自动手写器、钻孔机、涂鸦画家和古怪的绘图机。Grbl由于其性能、简单性和对硬件的节俭要求,已经发展成为一种小的开源现象。

GCode源码文件将解析器优化的G代码行进行解释并执行,这行代码假定只有大写字母和有符号浮点数(没有空格)。注释行和块删除字符被删除了。

GCode.h

/*
  GCode.h - rs274/ngc parser.
  Part of Grbl-Advanced

  Copyright (c) 2011-2016 Sungeun K. Jeon for Gnea Research LLC
  Copyright (c) 2009-2011 Simen Svale Skogsrud
  Copyright (c)	2017 Patrick F.

  Grbl-Advanced is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  Grbl-Advanced is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Gene

猜你喜欢

转载自blog.csdn.net/qq_15548761/article/details/104319694
今日推荐