1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/********************************************************************
* Description: motion_debug.h
* A data structure used in only a few places
*
* Author:
* License: GPL Version 2
* System: Linux
*
* Copyright (c) 2004 All rights reserved
********************************************************************/
/*! \todo needs mot_priv.h, but including here causes conflicts */
/*********************************
DEBUG STRUCTURE
*********************************/
/* This is the debug structure. I guess it was intended to make some
of the motion controller's internal variables visible from user
space for debugging, but it has evolved into a monster.
180K last time I checked - most of it (174K or so) is the traj
planner queues... each entry is 720 bytes, and there are 210
entries in the main queue.
I'll figure it out eventually though.
Low level things will be exported thru the HAL so they can be
monitored with halscope. High level things will remain here,
and things that are internal will be moved to a private structure.
*/
/*! \todo FIXME - this struct is broken into two parts... at the top are
structure members that I understand, and that are needed for emc2.
Other structure members follow. All the later ones need to be
evaluated - either they move up, or they go away.
*/
/*! \todo FIXME - this has become a dumping ground for all kinds of stuff */
typedef struct emcmot_debug_t emcmot_debug_t;
// MOTION_DEBUG_H