emcmotglb.c
1 /******************************************************************** 2 * Description: emcmotglb.c 3 * Compile-time configuration parameters 4 * 5 * Set the values in emcmotcfg.h; these vars will be set to those values 6 * and emcmot.c can reference the variables with their defaults. This file 7 * exists to avoid having to recompile emcmot.c every time a default is 8 * changed. 9 * 10 * Derived from a work by Fred Proctor & Will Shackleford 11 * 12 * Author: 13 * License: GPL Version 2 14 * System: Linux 15 * 16 * Copyright (c) 2004 All rights reserved. 17 ********************************************************************/ 18 19 #include "emcmotglb.h" /* these decls */ 20 #include "emcmotcfg.h" /* initial values */ 21 22 char EMCMOT_INIFILE[EMCMOT_INIFILE_LEN] = DEFAULT_EMCMOT_INIFILE; 23 24 25 unsigned int SHMEM_KEY = DEFAULT_SHMEM_KEY; 26 27 double EMCMOT_COMM_TIMEOUT = DEFAULT_EMCMOT_COMM_TIMEOUT; 28 29 double VELOCITY = DEFAULT_VELOCITY; 30 double ACCELERATION = DEFAULT_ACCELERATION; 31 32 double MAX_LIMIT = DEFAULT_MAX_LIMIT; 33 double MIN_LIMIT = DEFAULT_MIN_LIMIT; 34 35 int TC_QUEUE_SIZE = DEFAULT_TC_QUEUE_SIZE; 36 37 double MAX_FERROR = DEFAULT_MAX_FERROR;