grblHAL core  20261015
nuts_bolts.h
Go to the documentation of this file.
1 /*
2  nuts_bolts.h - Header file for shared definitions, variables, and functions
3 
4  Part of grblHAL
5 
6  Copyright (c) 2017-2026 Terje Io
7  Copyright (c) 2011-2016 Sungeun K. Jeon for Gnea Research LLC
8  Copyright (c) 2009-2011 Simen Svale Skogsrud
9 
10  grblHAL is free software: you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  grblHAL is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with grblHAL. If not, see <http://www.gnu.org/licenses/>.
22 */
23 
24 #ifndef _NUTS_BOLTS_H_
25 #define _NUTS_BOLTS_H_
26 
27 #include "grbl.h"
28 #include "real.h"
29 #include "errors.h"
30 
31 #ifndef true
32 #define false 0
33 #define true 1
34 #endif
35 
36 #define Off 0
37 #define On 1
38 
39 #define SOME_LARGE_VALUE 1.0E+38f
40 #ifndef M_PI
41 #define M_PI 3.14159265358979323846f
42 #endif
43 
44 #define TOLERANCE_EQUAL 0.0001f
45 
46 #define RADDEG 0.01745329251994329577f // Radians per degree
47 #define DEGRAD 57.29577951308232087680f // Degrees per radians
48 #define SQRT3 1.73205080756887729353f
49 #define SIN120 0.86602540378443864676f
50 #define COS120 -0.5f
51 #define TAN60 1.73205080756887729353f
52 #define SIN30 0.5f
53 #define TAN30 0.57735026918962576451f
54 #define TAN30_2 0.28867513459481288225f
55 
56 #define ABORTED (sys.abort || sys.cancel)
57 #define IS_AXIS_LETTER(c) (AXIS3_LETTER == c || AXIS4_LETTER == c || AXIS5_LETTER == c || AXIS6_LETTER == c || AXIS7_LETTER == c)
58 #define IS_AXIS_LETTER_VALID(c) (c == 'A' || c == 'B' || c == 'C' || c == 'U' || c == 'V' || c == 'W')
59 //#define AXIS_LETTER_FN_IDX(c) ((c >= 'X' && c <= 'Z') ? ((c - 'X') << 1) : ((c >= 'A' && c <= 'C') ? c - 'A' + 6 : ((c >= 'U' && c <= 'W') ? c - 'U' + 9 : -1)))
60 
61 // Convert character to uppercase
62 #define CAPS(c) ((c >= 'a' && c <= 'z') ? (c & 0x5F) : c)
63 #define LCAPS(c) ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c)
64 
65 #if !(defined(STM32F103xB) || defined(STM32F303xC) || defined(STM32F756xx) || defined(STM32F765xx))
66 #ifndef UNUSED
67 #define UNUSED(x) (void)(x)
68 #endif
69 #endif
70 
71 #if RTCP_AC && N_AXIS == 5 && AXIS4_LETTER != 'C'
72 #undef AXIS4_LETTER
73 #define AXIS4_LETTER 'C'
74 #endif
75 
76 // Axis array index values. Must start with 0 and be continuous.
77 #define X_AXIS 0 // Axis indexing value.
78 #define Y_AXIS 1
79 #define Z_AXIS 2
80 #define X_AXIS_BIT bit(X_AXIS)
81 #define Y_AXIS_BIT bit(Y_AXIS)
82 #define Z_AXIS_BIT bit(Z_AXIS)
83 #if N_AXIS > 3
84 #define AXIS3_IDX 3
85 #define AXIS3_BIT bit(AXIS3_IDX)
86 #endif
87 #if N_AXIS > 4
88 #define AXIS4_IDX 4
89 #define AXIS4_BIT bit(AXIS4_IDX)
90 #endif
91 #if N_AXIS > 5
92 #define AXIS5_IDX 5
93 #define AXIS5_BIT bit(AXIS5_IDX)
94 #endif
95 #if N_AXIS > 6
96 #define AXIS6_IDX 6
97 #define AXIS6_BIT bit(AXIS6_IDX)
98 #endif
99 #if N_AXIS == 8
100 #define AXIS7_IDX 7
101 #define AXIS7_BIT bit(AXIS7_IDX)
102 #endif
103 
104 #if N_AXIS == 3
105 #define AXES_BITMASK (X_AXIS_BIT|Y_AXIS_BIT|Z_AXIS_BIT)
106 #elif N_AXIS == 4
107 #define AXES_BITMASK (X_AXIS_BIT|Y_AXIS_BIT|Z_AXIS_BIT|AXIS3_BIT)
108 #elif N_AXIS == 5
109 #define AXES_BITMASK (X_AXIS_BIT|Y_AXIS_BIT|Z_AXIS_BIT|AXIS3_BIT|AXIS4_BIT)
110 #elif N_AXIS == 6
111 #define AXES_BITMASK (X_AXIS_BIT|Y_AXIS_BIT|Z_AXIS_BIT|AXIS3_BIT|AXIS4_BIT|AXIS5_BIT)
112 #elif N_AXIS == 7
113 #define AXES_BITMASK (X_AXIS_BIT|Y_AXIS_BIT|Z_AXIS_BIT|AXIS3_BIT|AXIS4_BIT|AXIS5_BIT|AXIS6_BIT)
114 #else
115 #define AXES_BITMASK (X_AXIS_BIT|Y_AXIS_BIT|Z_AXIS_BIT|AXIS3_BIT|AXIS4_BIT|AXIS5_BIT|AXIS6_BIT|AXIS7_BIT)
116 #endif
117 
118 #ifdef AXIS7_IDX
119 #define N_ABC_AXIS 5
120 #elif defined(AXIS6_IDX)
121 #define N_ABC_AXIS 4
122 #elif defined(AXIS5_IDX)
123 #define N_ABC_AXIS 3
124 #elif defined(AXIS4_IDX)
125 #define N_ABC_AXIS 2
126 #elif defined(AXIS3_IDX)
127 #define N_ABC_AXIS 1
128 #else
129 #define N_ABC_AXIS 0
130 #endif
131 
132 #define AXIS0_LETTER 'X'
133 #define AXIS1_LETTER 'Y'
134 #define AXIS2_LETTER 'Z'
135 
136 #if N_AXIS > 3
137  #if AXIS_REMAP_ABC2UVW
138  #define AXIS3_LETTER 'U'
139  #elif !defined(AXIS3_LETTER)
140  #define AXIS3_LETTER 'A'
141  #elif !IS_AXIS_LETTER_VALID(AXIS3_LETTER)
142  #error "Illegal axis letter assigned!"
143  #endif
144 #else
145  #define AXIS3_LETTER 0
146 #endif
147 
148 #if N_AXIS > 4
149  #if AXIS_REMAP_ABC2UVW
150  #define AXIS4_LETTER 'V'
151  #elif !defined(AXIS4_LETTER)
152  #define AXIS4_LETTER 'B'
153  #elif !IS_AXIS_LETTER_VALID(AXIS4_LETTER)
154  #error "Illegal axis letter assigned!"
155  #endif
156 #else
157  #define AXIS4_LETTER 0
158 #endif
159 
160 #if N_AXIS > 5
161  #if AXIS_REMAP_ABC2UVW
162  #define AXIS5_LETTER 'W'
163  #elif !defined(AXIS5_LETTER)
164  #define AXIS5_LETTER 'C'
165  #elif !IS_AXIS_LETTER_VALID(AXIS5_LETTER)
166  #error "Illegal axis letter assigned!"
167  #endif
168 #else
169  #define AXIS5_LETTER 0
170 #endif
171 
172 #if N_AXIS > 6
173  #if !defined(AXIS6_LETTER)
174  #define AXIS6_LETTER 'U'
175  #elif !IS_AXIS_LETTER_VALID(AXIS6_LETTER)
176  #error "Illegal axis letter assigned!"
177  #endif
178 #else
179  #define AXIS6_LETTER 0
180 #endif
181 
182 #if N_AXIS > 7
183  #if !defined(AXIS7_LETTER)
184  #define AXIS7_LETTER 'V'
185  #elif !IS_AXIS_LETTER_VALID(AXIS7_LETTER)
186  #error "Illegal axis letter assigned!"
187  #endif
188 #else
189  #define AXIS7_LETTER 0
190 #endif
191 
192 #if N_AXIS == 4
193 #define AXIS_LETTER_TO_IDX(c) AXIS3_IDX
194 #elif N_AXIS == 5
195 #define AXIS_LETTER_TO_IDX(c) \
196 (c == AXIS3_LETTER ? AXIS3_IDX : \
197 (c == AXIS4_LETTER ? AXIS4_IDX : -1))
198 #elif N_AXIS == 6
199 #define AXIS_LETTER_TO_IDX(c) \
200 (c == AXIS3_LETTER ? AXIS3_IDX : \
201 (c == AXIS4_LETTER ? AXIS4_IDX : \
202 (c == AXIS5_LETTER ? AXIS5_IDX : -1)))
203 #elif N_AXIS == 7
204 #define AXIS_LETTER_TO_IDX(c) \
205 (c == AXIS3_LETTER ? AXIS3_IDX : \
206 (c == AXIS4_LETTER ? AXIS4_IDX : \
207 (c == AXIS5_LETTER ? AXIS5_IDX : \
208 (c == AXIS6_LETTER ? AXIS6_IDX : -1))))
209 #elif N_AXIS == 8
210 #define AXIS_LETTER_TO_IDX(c) \
211 (c == AXIS3_LETTER ? AXIS3_IDX : \
212 (c == AXIS4_LETTER ? AXIS4_IDX : \
213 (c == AXIS5_LETTER ? AXIS5_IDX : \
214 (c == AXIS6_LETTER ? AXIS6_IDX : \
215 (c == AXIS7_LETTER ? AXIS7_IDX : -1)))))
216 #endif
217 
218 #if IS_AXIS_LETTER('A')
219 #define A_AXIS AXIS_LETTER_TO_IDX('A')
220 #define A_AXIS_BIT bit(A_AXIS)
221 #endif
222 
223 #if IS_AXIS_LETTER('B')
224 #define B_AXIS AXIS_LETTER_TO_IDX('B')
225 #define B_AXIS_BIT bit(B_AXIS)
226 #endif
227 
228 #if IS_AXIS_LETTER('C')
229 #define C_AXIS AXIS_LETTER_TO_IDX('C')
230 #define C_AXIS_BIT bit(C_AXIS)
231 #endif
232 
233 #if !LATHE_UVW_OPTION
234 
235 #if IS_AXIS_LETTER('U')
236 #define U_AXIS AXIS_LETTER_TO_IDX('U')
237 #define U_AXIS_BIT bit(U_AXIS)
238 #endif
239 
240 #if IS_AXIS_LETTER('V')
241 #define V_AXIS AXIS_LETTER_TO_IDX('V')
242 #define V_AXIS_BIT bit(V_AXIS)
243 #endif
244 
245 #if IS_AXIS_LETTER('W')
246 #define W_AXIS AXIS_LETTER_TO_IDX('W')
247 #define W_AXIS_BIT bit(W_AXIS)
248 #endif
249 
250 #endif
251 
252 typedef uint32_t line_number_t;
253 
254 typedef union {
255  uint8_t mask;
256  uint8_t bits;
257  uint8_t value;
258  struct {
259  uint8_t x :1,
260  y :1,
261  z :1
262 #if N_AXIS > 3
263  #ifdef A_AXIS
264  , a :1
265  #endif
266  #ifdef B_AXIS
267  , b :1
268  #endif
269  #ifdef C_AXIS
270  , c :1
271  #endif
272  #ifdef U_AXIS
273  , u :1
274  #endif
275  #ifdef V_AXIS
276  , v :1
277  #endif
278  #ifdef W_AXIS
279  , w :1
280  #endif
281 #endif
282 ;
283  };
284  struct {
285  uint8_t a0 :1,
286  a1 :1,
287  a2 :1,
288  a3 :1,
289  a4 :1,
290  a5 :1,
291  a6 :1,
292  a7 :1;
293  };
295 
297 typedef union {
298  float values[N_AXIS];
299  struct {
300  float x;
301  float y;
302  float z;
303 #if N_AXIS > 3
304  #ifdef A_AXIS
305  float a;
306  #endif
307  #ifdef B_AXIS
308  float b;
309  #endif
310  #ifdef C_AXIS
311  float c;
312  #endif
313  #ifdef U_AXIS
314  float u;
315  #endif
316  #ifdef V_AXIS
317  float v;
318  #endif
319  #ifdef W_AXIS
320  float w;
321  #endif
322 #endif
323  };
324 } coord_data_t;
325 
327 typedef struct {
329 #ifdef ROTATION_ENABLE
330  float rotation;
331 #endif
333 
334 typedef union {
335  int32_t values[N_AXIS];
336  struct {
337  int32_t x;
338  int32_t y;
339  int32_t z;
340 #if N_AXIS > 3
341  #ifdef B_AXIS
342  int32_t a;
343  #endif
344  #ifdef B_AXIS
345  int32_t b;
346  #endif
347  #ifdef C_AXIS
348  int32_t c;
349  #endif
350  #ifdef U_AXIS
351  int32_t u;
352  #endif
353  #ifdef V_AXIS
354  int32_t v;
355  #endif
356  #ifdef W_AXIS
357  int32_t w;
358  #endif
359 #endif
360  };
361 } mpos_t;
362 
363 typedef union {
364  real_t values[2];
365  struct {
368  };
369  struct {
371  real_t x;
372  } g18;
373 /* struct {
374  real_t y;
375  real_t z;
376  } g19; */
377 } point_2d_t;
378 
379 typedef struct {
382 } bbox_2d_t;
383 
384 typedef union {
385  real_t values[3];
386  struct {
390  };
391 } point_3d_t;
392 
393 typedef struct {
396 } bbox_3d_t;
397 
399 typedef union {
400  uint8_t axis[3];
401  struct {
402  uint8_t axis_0;
403  uint8_t axis_1;
404  uint8_t axis_linear;
405  };
406 } plane_t;
407 
408 #pragma pack(push, 1)
409 
411 typedef union {
412  uint32_t bits;
413  struct {
418  };
420 
422 typedef struct {
426 
428 typedef union {
429  uint16_t state;
430  home_signals_t details; // Stepper driver signals states.
432 
434 typedef struct {
438 
439 #pragma pack(pop)
440 
441 // NOTE: the pin_function_t enum must be kept in sync with any changes!
442 typedef union {
443  uint16_t bits;
444  uint16_t mask;
445  uint16_t value;
446  struct {
447  uint16_t reset :1,
453  e_stop :1,
463  };
465 
466 typedef enum {
470 
471 // Conversions
472 #define MM_PER_INCH (25.40f)
473 #define INCH_PER_MM (0.0393701f)
474 
475 #define MAX_INT_DIGITS 9 // Maximum number of digits in int32 (and float)
476 #define STRLEN_COORDVALUE (MAX_INT_DIGITS + N_DECIMAL_COORDVALUE_INCH + 1) // 8.4 format - excluding terminating null
477 
478 // Useful macros
479 #ifndef max
480 #define max(a,b) (((a) > (b)) ? (a) : (b))
481 #endif
482 #ifndef min
483 #define min(a,b) (((a) < (b)) ? (a) : (b))
484 #endif
485 #ifndef constrain
486 #define constrain(val, min, max) ((val) < (min) ? (min) : ((val) > (max) ? (max) : (val)))
487 #endif
488 #define clear_vector(a) memset(a, 0, sizeof(a))
489 #define isequal_position_vector(a, b) !memcmp(a, b, sizeof(coord_data_t))
490 #define is0_position_vector(a) !memcmp(a, &((coord_data_t){0}), sizeof(coord_data_t))
491 
492 // Bit field and masking macros
493 #ifndef bit
494 #define bit(n) (1UL << (n))
495 #endif
496 #define bit_true(x, mask) (x) |= (mask)
497 #define bit_false(x, mask) (x) &= ~(mask)
498 #define BIT_SET(x, bit, v) { if (v) { x |= (bit); } else { x &= ~(bit); } }
499 
500 #define bit_istrue(x, mask) (((x) & (mask)) != 0)
501 #define bit_isfalse(x, mask) (((x) & (mask)) == 0)
502 
503 extern char const *const axis_letter[];
504 extern const coord_data_t null_vector;
505 
506 // Converts an uint32 variable to string.
507 char *uitoa (uint32_t n);
508 
509 // Converts a float variable to string with the specified number of decimal places.
510 char *ftoa (float n, uint8_t decimal_places);
511 
512 // Trim trailing zeros and possibly decimal point
513 char *trim_float (char *s);
514 
515 // Returns true if float value is a whole number (integer)
516 bool isintf (float value);
517 
518 status_code_t read_uint (const char *line, uint_fast8_t *char_counter, uint32_t *uint_ptr);
519 
520 // Read a floating point value from a string. Line points to the input buffer, char_counter
521 // is the indexer pointing to the current character of the line, while float_ptr is
522 // a pointer to the result variable. Returns true when it succeeds
523 bool read_float (const char *line, uint_fast8_t *char_counter, float *float_ptr);
524 
525 // Non-blocking delay function used for general operation and suspend features.
526 bool delay_sec (float seconds, delaymode_t mode);
527 
528 float convert_delta_vector_to_unit_vector(float *vector);
529 
530 void rotate (coord_data_t *pt, plane_t plane, float angle /*rad*/);
531 
532 // parse ISO8601 datetime
533 struct tm *get_datetime (const char *s);
534 
535 char *strcaps (char *s);
536 
537 uint_fast8_t bit_count (uint32_t bits);
538 
539 void dummy_handler (void);
540 
541 #ifdef _WIN32
542 
543 static inline int ffs (int i)
544 {
545  int idx = 0;
546 
547  while(i) {
548  idx++;
549  if(i & 1)
550  break;
551  i >>= 1;
552  }
553 
554  return idx;
555 }
556 
557 #endif // _WIN32
558 
559 #endif
#define N_AXIS
Defines number of axes supported - minimum 3, maximum 8. If more than 3 axes are configured a complia...
Definition: config.h:42
status_code_t
Definition: errors.h:31
float convert_delta_vector_to_unit_vector(float *vector)
Definition: nuts_bolts.c:339
struct tm * get_datetime(const char *s)
Definition: nuts_bolts.c:371
char * strcaps(char *s)
Definition: nuts_bolts.c:432
bool isintf(float value)
Definition: nuts_bolts.c:314
uint32_t line_number_t
Definition: nuts_bolts.h:252
void rotate(coord_data_t *pt, plane_t plane, float angle)
Definition: nuts_bolts.c:360
char const *const axis_letter[]
Definition: nuts_bolts.c:85
char * ftoa(float n, uint8_t decimal_places)
Definition: nuts_bolts.c:126
const coord_data_t null_vector
Definition: nuts_bolts.c:62
uint_fast8_t bit_count(uint32_t bits)
Definition: nuts_bolts.c:448
char * uitoa(uint32_t n)
Definition: nuts_bolts.c:107
delaymode_t
Definition: nuts_bolts.h:466
@ DelayMode_SysSuspend
Definition: nuts_bolts.h:468
@ DelayMode_Dwell
Definition: nuts_bolts.h:467
bool delay_sec(float seconds, delaymode_t mode)
Definition: nuts_bolts.c:320
bool read_float(const char *line, uint_fast8_t *char_counter, float *float_ptr)
Definition: nuts_bolts.c:249
char * trim_float(char *s)
Definition: nuts_bolts.c:181
status_code_t read_uint(const char *line, uint_fast8_t *char_counter, uint32_t *uint_ptr)
Definition: nuts_bolts.c:195
void dummy_handler(void)
Definition: nuts_bolts.c:460
float real_t
Definition: real.h:48
Definition: nuts_bolts.h:379
point_2d_t max
Definition: nuts_bolts.h:381
point_2d_t min
Definition: nuts_bolts.h:380
Definition: nuts_bolts.h:393
point_3d_t max
Definition: nuts_bolts.h:395
point_3d_t min
Definition: nuts_bolts.h:394
Coordinate system data.
Definition: nuts_bolts.h:327
coord_data_t coord
Definition: nuts_bolts.h:328
Home switches struct, consists of two packed axes_signals_t structs.
Definition: nuts_bolts.h:422
axes_signals_t a
Primary home switches status, optional. Limit signals are used for homing if not available.
Definition: nuts_bolts.h:423
axes_signals_t b
Secondary home switch(es) status, required for auto squaring enabled axes if primary switches are ava...
Definition: nuts_bolts.h:424
// Stepper driver warning and fault signal states, consists of two packed stepper_state_t structs in ...
Definition: nuts_bolts.h:434
stepper_state_t warning
Stepper drivers warning states.
Definition: nuts_bolts.h:435
stepper_state_t fault
Stepper drivers fault states.
Definition: nuts_bolts.h:436
Definition: vfs.h:50
Definition: nuts_bolts.h:254
uint8_t x
Definition: nuts_bolts.h:259
uint8_t y
Definition: nuts_bolts.h:260
uint8_t bits
Definition: nuts_bolts.h:256
uint8_t a1
Definition: nuts_bolts.h:286
uint8_t a5
Definition: nuts_bolts.h:290
uint8_t a7
Definition: nuts_bolts.h:292
uint8_t value
Definition: nuts_bolts.h:257
uint8_t a4
Definition: nuts_bolts.h:289
uint8_t mask
Definition: nuts_bolts.h:255
uint8_t a0
Definition: nuts_bolts.h:285
uint8_t z
Definition: nuts_bolts.h:282
uint8_t a2
Definition: nuts_bolts.h:287
uint8_t a6
Definition: nuts_bolts.h:291
uint8_t a3
Definition: nuts_bolts.h:288
Definition: nuts_bolts.h:442
uint16_t probe_overtravel
used for probe (toolsetter) protection
Definition: nuts_bolts.h:460
uint16_t bits
Definition: nuts_bolts.h:443
uint16_t stop_disable
Definition: nuts_bolts.h:452
uint16_t limits_override
Definition: nuts_bolts.h:457
uint16_t cycle_start
Definition: nuts_bolts.h:449
uint16_t feed_hold
Definition: nuts_bolts.h:448
uint16_t probe_disconnected
Definition: nuts_bolts.h:454
uint16_t reset
Definition: nuts_bolts.h:447
uint16_t safety_door_ajar
Definition: nuts_bolts.h:450
uint16_t motor_fault
Definition: nuts_bolts.h:455
uint16_t motor_warning
Definition: nuts_bolts.h:456
uint16_t deasserted
used for probe protection
Definition: nuts_bolts.h:462
uint16_t mask
Definition: nuts_bolts.h:444
uint16_t e_stop
M1.
Definition: nuts_bolts.h:453
uint16_t block_delete
Definition: nuts_bolts.h:451
uint16_t value
Definition: nuts_bolts.h:445
uint16_t probe_triggered
used for probe protection
Definition: nuts_bolts.h:461
uint16_t tls_overtravel
Definition: nuts_bolts.h:459
uint16_t single_block
Definition: nuts_bolts.h:458
Coordinate data.
Definition: nuts_bolts.h:297
float y
Definition: nuts_bolts.h:301
float x
Definition: nuts_bolts.h:300
float z
Definition: nuts_bolts.h:302
Limit switches struct, consists of four packed axes_signals_t structs in 32 bits.
Definition: nuts_bolts.h:411
axes_signals_t min
Min limit switches status, required.
Definition: nuts_bolts.h:414
axes_signals_t min2
Secondary min limit switch(es) status, required for auto squaring enabled axes.
Definition: nuts_bolts.h:416
axes_signals_t max2
Secondary max limit switches status, optional (of no practical use?).
Definition: nuts_bolts.h:417
axes_signals_t max
Max limit switches status, optional.
Definition: nuts_bolts.h:415
uint32_t bits
Definition: nuts_bolts.h:412
Definition: nuts_bolts.h:334
int32_t z
Definition: nuts_bolts.h:339
int32_t y
Definition: nuts_bolts.h:338
int32_t x
Definition: nuts_bolts.h:337
Axis index to plane assignment.
Definition: nuts_bolts.h:399
uint8_t axis_linear
Definition: nuts_bolts.h:404
uint8_t axis_0
Definition: nuts_bolts.h:402
uint8_t axis_1
Definition: nuts_bolts.h:403
Definition: nuts_bolts.h:363
real_t y
Definition: nuts_bolts.h:367
real_t x
Definition: nuts_bolts.h:366
real_t z
Definition: nuts_bolts.h:370
Definition: nuts_bolts.h:384
real_t y
Definition: nuts_bolts.h:388
real_t x
Definition: nuts_bolts.h:387
real_t z
Definition: nuts_bolts.h:389
Stepper driver states struct.
Definition: nuts_bolts.h:428
home_signals_t details
Definition: nuts_bolts.h:430
uint16_t state
Definition: nuts_bolts.h:429