blob: 9343734080a1e828564a411e2ca29e4d7c869e07 (
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
|
/********************************************************************
* Description: emcmotglb.c
* Compile-time configuration parameters
*
* Set the values in emcmotcfg.h; these vars will be set to those values
* and emcmot.c can reference the variables with their defaults. This file
* exists to avoid having to recompile emcmot.c every time a default is
* changed.
*
* Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: GPL Version 2
* System: Linux
*
* Copyright (c) 2004 All rights reserved.
*
* Last change:
********************************************************************/
#include "emcmotglb.h" /* these decls */
#include "emcmotcfg.h" /* initial values */
char EMCMOT_INIFILE[EMCMOT_INIFILE_LEN] = DEFAULT_EMCMOT_INIFILE;
unsigned int SHMEM_KEY = DEFAULT_SHMEM_KEY;
double EMCMOT_COMM_TIMEOUT = DEFAULT_EMCMOT_COMM_TIMEOUT;
double EMCMOT_COMM_WAIT = DEFAULT_EMCMOT_COMM_WAIT;
double VELOCITY = DEFAULT_VELOCITY;
double ACCELERATION = DEFAULT_ACCELERATION;
double MAX_LIMIT = DEFAULT_MAX_LIMIT;
double MIN_LIMIT = DEFAULT_MIN_LIMIT;
int TC_QUEUE_SIZE = DEFAULT_TC_QUEUE_SIZE;
double MAX_FERROR = DEFAULT_MAX_FERROR;
|