using System; using Microsoft.SPOT; namespace miniCPF { class configFile { //State timeout values public static int surfaceOpsTimeout = 10000; public static int preMissionDelayTimeout = 2000; public static int synchTimeTimeout = 100000; //Buoyancy control holdVelocity constants public const double KVel = 200.0, //Constant for P term of PID TiVel = 50000.0, // Time constant for I term of PID (in denominator, bigger values less I term in output TdVel = 1.0, // Time constant for D term of PID TfVel = 2.0, // Derivative filter time constant TtVel = 100.0, // Anti-windup time constant BVel = 1.0, // Setpoint weight uLowVel = -3000.0 / 60.0, // minimum possible output (RPM) uHighVel = 3000.0 / 60.0, // maximum possible output (RPM) hVel = 0.5; // Sample period (seconds) //Pump motor encoder counts per revolution public const double COUNTSperREV = 500.0 * 4.0; //500 Counts per Revolution *4 for quadrature interpolation public const double batteryBusThreshold = 28.0; } }