-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvmstate.h
More file actions
40 lines (28 loc) · 748 Bytes
/
vmstate.h
File metadata and controls
40 lines (28 loc) · 748 Bytes
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
#ifndef VMSTATE_H
#define VMSTATE_H
#include "position.h"
class VMState
{
public:
VMState();
double _seconds;
Position _absMM;
double _feedRate;
double _spindleSpeed;
int _nextTool;
int _currentTool;
bool _spindleOn;
bool _coolantOn;
// skip overrides ...
// skip active plane...
bool _mmUnits; // really just length units, ignoring compensation
// skip coordinate system selection - can I do this??
// skip path control
// distance mode? G90, G91 (relative vs. absolute)
bool _movesAreRelative;
// skip retract mode
// skip reference location and coordinate system change
// axis offsets (ignoring .1, .2, & G94)
Position _off92MM;
};
#endif // VMSTATE_H