/ src / emc / motion / emcmotglb.h
emcmotglb.h
 1  /********************************************************************
 2  * Description: emcmotglb.h
 3  *   Declarations for globals whose default values are found in emcmotcfg.h
 4  *
 5  *   Derived from a work by Fred Proctor & Will Shackleford
 6  *
 7  * Author:
 8  * License: GPL Version 2
 9  * System: Linux
10  *    
11  * Copyright (c) 2004 All rights reserved.
12  ********************************************************************/
13  #ifndef EMCMOTGLB_H
14  #define EMCMOTGLB_H
15  
16  #ifdef __cplusplus
17  extern "C" {
18  #endif
19  
20  #define EMCMOT_INIFILE_LEN 256
21  
22  /*! \todo FIXME - eventually want to convert all of these to lowercase,
23     uppercase is for constants only
24  */
25  
26  /*! \todo FIXME - want to move some of these out of here completely...
27     too many globals - put in emcmotXXX structs instead, perhaps?
28  */
29  
30      extern char EMCMOT_INIFILE[EMCMOT_INIFILE_LEN];
31  
32      extern unsigned int SHMEM_KEY;
33  
34      extern double EMCMOT_COMM_TIMEOUT;	/* seconds until timeout */
35  
36      extern int num_axes;
37  
38      extern double VELOCITY;
39      extern double ACCELERATION;
40  
41      extern double MAX_LIMIT;
42      extern double MIN_LIMIT;
43  
44      extern double MAX_OUTPUT;
45      extern double MIN_OUTPUT;
46  
47      extern int TC_QUEUE_SIZE;
48  
49      extern double MAX_FERROR;
50      extern double BACKLASH;
51  
52  
53  #ifdef __cplusplus
54  }				/* matches extern "C" at top */
55  #endif
56  #endif				/* EMCMOTGLB_H */