Laser Sensing Display for UI interfaces in the real world
Fork of skinGames_forktest by
Diff: laserSensingDisplay.h
- Revision:
- 45:5ef809480c12
- Parent:
- 40:3ba2b0ea9f33
- Child:
- 46:e0dd2d1d07c1
--- a/laserSensingDisplay.h Wed Oct 30 02:50:58 2013 +0000 +++ b/laserSensingDisplay.h Mon Dec 23 18:04:07 2013 +0000 @@ -18,14 +18,14 @@ #define SENSING_LASER_BLANKING // note: this blanking introduces problems because the Lock-in looses signal, but we can add more points to compensate when there // are many blobs, see "DEFAULT_OVERLAP_POINTS" (but will slow down...) -#define RENDER_INTERVAL 0.000056 //0.0001 is good for CALIBRATION grid, 0.000054 good for normal display // in seconds (Ticker) +#define RENDER_INTERVAL 0.00005 //0.0001 is good for CALIBRATION grid, 0.000054 good for normal display // in seconds (Ticker) -#define WAIT_NORMAL 1 // good :0 // (minimum is 0) waiting time for setting mirror position MINUS waiting laser time (note that this total waiting time may be +#define WAIT_NORMAL 0 //1 // good :0 // (minimum is 0) waiting time for setting mirror position MINUS waiting laser time (note that this total waiting time may be //equal to 0 if we set a good sampling freq for the renderer, but and if the shape is regular so that this time does not change significatively - this is not // the case for multiple blobs or highly deformed blobs). #define WAIT_LASER 2 // Good 5 for grid. (minimum is 0) waiting time for properly powering the laser (if there are color changes IN BETWEEN points). Maybe needed for the green laser // WHEN THERE IS MORE THAN ONE SPOT: -#define WAIT_FIRST 8// Good 7 for grid. 12 // special waiting time for mirror positioning to first point on next +#define WAIT_FIRST 10// Good 7 for grid. 12 // special waiting time for mirror positioning to first point on next // blob BEFORE re-activating laser // ****IMPORTANT: IN FACT WAITING TIMES SHOULD DEPEND ON THE DISTANCE BETWEEN THE POINTS. AND THAT'S ALL*****