Fri, 17 Nov 2017 10:13:31 +0100
proper configuration, homing and planner optimization
0 | 1 | /* |
2 | motion_control.h - high level interface for issuing motion commands | |
3 | Part of Grbl | |
4 | ||
5 | Copyright (c) 2009-2011 Simen Svale Skogsrud | |
6 | Copyright (c) 2011 Sungeun K. Jeon | |
7 | ||
8 | Grbl is free software: you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation, either version 3 of the License, or | |
11 | (at your option) any later version. | |
12 | ||
13 | Grbl is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with Grbl. If not, see <http://www.gnu.org/licenses/>. | |
20 | */ | |
21 | ||
22 | #ifndef motion_control_h | |
23 | #define motion_control_h | |
24 | ||
25 | // Execute an arc in offset mode format. position == current xyz, target == target xyz, | |
26 | // offset == offset from current xyz, axis_XXX defines circle plane in tool space, axis_linear is | |
27 | // the direction of helical travel, radius == circle radius, isclockwise boolean. Used | |
28 | // for vector transformation direction. | |
29 | void mc_arc(float *position, float *target, float *offset, unsigned char axis_0, unsigned char axis_1, | |
30 | unsigned char axis_linear, float feed_rate, float radius, unsigned char isclockwise, uint8_t extruder); | |
31 | ||
32 | #endif |