FROM_DISK=True   #set True once this is written to the Flash drive

FILTEROFFSET = 300 #this is the offset from where "filter" lands and the puck at the center of the clamp
ARMBACKOFF = 1000 #how far the arm should move after the clamp has grabbed the puck

PICKPLUS = 100 #how far to shift the cylinder after first attempt at acquiring puck
PICKMINUS = -100 #how far to shift the cylinder after second attempt at acquiring puck

GRABATCYL_OFFSET=-2000

SYSTEMVOLTAGE = (41.0/4096.0)
SYSTEMCURRENT = (3.3/(0.1275*4096.0))

PRESS0_PLOW = 0
PRESS0_PHIGH = 12
PRESS0_CLOW = 740
PRESS0_CHIGH = 3592

VOLUME_UNITS = 2.22585E-08 #flow sensor volume units per count
VOLUME_OFFSET = 1000
VOLUME_COUNTER_FREQ = 14686
VOLUME_COUNTER_PSC = 5446

#polynomial values for the force resistor
FORCESN="28"   #if this stays at "00", the code will not run.  
FORCEA=1.0e-5   #This and the FORCE must be updated ont he Flash drive with the correct falues for the 
FORCEB=0.0293625   #coeffience of the installed Force Resistor in the clamp
FORCEC=-48.73641

CLAMP_GRAB_LBS = 2.5
CLAMP_CLOSE_LBS = 60
CLAMP_SEAL_LBS = 65

CLAMP_MAX_DISTANCE = 10850*5+4000
CLAMP_FLUSH_DISTANCE = 10850*5+4000
CLAMP_GRAB_OPEN_DISTANCE = 2000*5+3000
CLAMP_GRAB_CLOSE_RETAIN_DISTANCE = 2800*5+3000
CLAMP_CLOSE_SEAL_DISTANCE = 100*5
CLAMP_PUCK_CLOSE_DISTANCE = 19000

ZERO_PUCKS = 219
TWELVE_PUCKS = 37
NO_CYLINDER = 225

