blob: 71b87816196e00bb07bad1018fd8d83d6c3e5c60 (
plain)
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
|
/********************************************************************
* Description: emcmotglb.h
* Declarations for globals whose default values are found in emcmotcfg.h
*
* Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: GPL Version 2
* System: Linux
*
* Copyright (c) 2004 All rights reserved.
*
* Last change:
********************************************************************/
#ifndef EMCMOTGLB_H
#define EMCMOTGLB_H
#ifdef __cplusplus
extern "C" {
#endif
#define EMCMOT_INIFILE_LEN 256
/*! \todo FIXME - eventually want to convert all of these to lowercase,
uppercase is for constants only
*/
/*! \todo FIXME - want to move some of these out of here completely...
too many globals - put in emcmotXXX structs instead, perhaps?
*/
extern char EMCMOT_INIFILE[EMCMOT_INIFILE_LEN];
extern unsigned int SHMEM_KEY;
extern double EMCMOT_COMM_TIMEOUT; /* seconds until timeout */
extern double EMCMOT_COMM_WAIT; /* seconds to delay between tries */
extern int num_axes;
extern double VELOCITY;
extern double ACCELERATION;
extern double MAX_LIMIT;
extern double MIN_LIMIT;
extern double MAX_OUTPUT;
extern double MIN_OUTPUT;
extern int TC_QUEUE_SIZE;
extern double MAX_FERROR;
extern double BACKLASH;
#ifdef __cplusplus
} /* matches extern "C" at top */
#endif
#endif /* EMCMOTGLB_H */
|