From 245b06f2df56dc691552ea65d6af0aacfb1fd832 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 17 May 2008 17:02:59 +0000 Subject: [PATCH] bigger margins --- hostside/safety.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hostside/safety.h b/hostside/safety.h index 735145c..1745021 100644 --- a/hostside/safety.h +++ b/hostside/safety.h @@ -363,11 +363,12 @@ int trackloc_set_exactinto(TrackLocation *t, TrackAdvanceContext *c, #define MARGIN_AUTOPOINTTIME 500 /*ms*/ #define UNMARGIN_ROUNDING 1e-4 /* mm/ms; for 1s, leads to max err of 100um */ -#define MARGIN_STOPTIME 60 /*ms*/ -#define MARGIN_POLARISETIME 60 /*ms*/ +#define MARGIN_STOPTIME 240 /*ms*/ +#define MARGIN_POLARISETIME 120 /*ms*/ -#define UNMARGIN_WATCHDOG_16 3 /* 16ms units */ /* should be < MARGIN_*TIME */ +#define UNMARGIN_WATCHDOG_16 7 /* 16ms units */ #define UNMARGIN_WATCHDOG (UNMARGIN_WATCHDOG_16*16) /*ms*/ -#define MARGIN_WATCHDOG 20 + /* should be < MARGIN_POLARISETIME */ +#define MARGIN_WATCHDOG 40 #endif /*SAFETY_H*/ -- 2.30.2