Laser Sensing Display for UI interfaces in the real world

Dependencies:   mbed

Fork of skinGames_forktest by Alvaro Cassinelli

Revisions of main.cpp

Revision Date Message Actions
34:1244fa3f2559 2012-11-07 added hardware button & potentiometer to select the thresholding mode and parameters. Problems with the ADC conversion though... File  Diff  Annotate
33:43e8bc451ef0 2012-11-05 added resizing functions, as well as better control on the thresholding modes File  Diff  Annotate
32:52273c3291fe 2012-10-29 code for Tokyo design week (starting with two colored following spots, and NO standby mode) File  Diff  Annotate
31:5f039cbddee8 2012-09-23 this is quite nice, but I am going to make a deep modification of the bouncing principle: instead of depending on the penetration, it will just be a factor over the speed (perfect elastic bouncing being factorElastic=1, and perfectly absorption=0); File  Diff  Annotate
30:d8af03f01cd4 2012-09-21 first commit. Not yet functional. Added ghost and pacman game modes, but the behaviour of these "rigid spots" is not implemented yet File  Diff  Annotate
29:2fc8c12822eb 2012-06-20 compiled at asahiTV File  Diff  Annotate
28:44b7b6e35548 2012-06-19 version almost ready for AsahiTV; File  Diff  Annotate
27:1ce994629ffc 2012-06-18 new weird mode ad hoc, with wrong time delay so it produces blue spots along the contour (for a reason I still don't understand) File  Diff  Annotate
25:74cb85b85fd2 2012-06-18 corrected some mistakes on color control; File  Diff  Annotate
24:4e52031a495b 2012-06-18 Various modifications for show at TV Asahi File  Diff  Annotate
23:bf666fcc61bc 2012-06-13 - added function to check laser power ; - but there seems to be a problem on the green laser control... at least on bouncing mode. The way the green color is set is wrong too - not per blob color? File  Diff  Annotate
22:d87317d7ca91 2012-06-02 testing the LUT table File  Diff  Annotate
21:bc9b9383f4b6 2012-05-06 Version working but not optimal for CHI. This is the first day of the setup. File  Diff  Annotate
19:228430f1350e 2012-04-28 relatively stable. Now need to make commands to control speed/stiffness/color and size of spot form the computer File  Diff  Annotate
18:d72935b13858 2012-04-28 this works pretty nicely. I will change some parameters on the elastic loop, as well as compute the KINETIC ENERGY File  Diff  Annotate
17:356ca5690a59 2012-04-28 will modify things for CHI exhibition. In particular, define simple modes, with different data sending times; File  Diff  Annotate
16:2ff1cb2ae1b1 2012-04-13 works pretty well with up to 12 bouncing/follwong spots!!; - will now correct the display routine to avoid having redundant drawing when there is only one spot;; - also, in case of multiple spots, instead of WAITING for the first point, we can just SWITC... File  Diff  Annotate
14:0fc33a3a7b4b 2012-04-12 checking old version, need to branch File  Diff  Annotate
13:9f03eac02700 2012-04-12 I have modified the way the rendering / update / draw work by adding a point counter, NOT a double buffer. I think this may solve the problem of the acquisition - but I don't really care about the problem of the not perfect display ("vertical synch" li... File  Diff  Annotate
11:62f7183a03e7 2012-04-12 It seems to work (but not tested on real hardware). ; NEEDS TO DO: ; 1) DOUBLE BUFFERING; 2) template class for vector2D, so as to use unsigned short for the rigid scafold instead of float...; File  Diff  Annotate
10:6f8e48dca1bd 2012-04-11 a tester avec le vrai hardware!! (plein de modif sur l'acquisition de l'intensite... unsigned short instead of float) File  Diff  Annotate
9:3321170d157c 2012-04-11 I will use an unsigned short to store the intensity instead of a float File  Diff  Annotate
8:5816bb17536b 2012-04-10 ca marche, mais je vais maintenant appliquer un flag sur la routine d'affichage pour permettre (ou pas) l'update File  Diff  Annotate
7:0df17f3078bc 2012-04-07 working contour following and bouncing. The blob mode is not so nice now, but this is because the UPDATE TIME should be a funciton of the number of points and the complexity of update (very simple in case of bouncing/contour following for rigid loops, ... File  Diff  Annotate
5:73cd58b58f95 2012-04-05 Something very strange happens in the class laserSensingTrajectory: adding a:; float lightRatio; as member variable makes the blob dissapear... File  Diff  Annotate
4:f9d364f10335 2012-04-04 - the new optimized laser output buffer has not been tested, but it compiles; - I am commiting here, because I am planning to change the structure of the classes: soundSpot will not contain an object of type classLaserSensingTrajectory, but be a CHILD o... File  Diff  Annotate
3:b44ff6de81bd 2012-04-02 working but needs a lot of calibration and optimization. In particular the laser renderer - I am going to modify it, that's why I commit now. File  Diff  Annotate
2:34157ebbf56b 2012-03-31 - Debugged some subtle problem that made the motion of the rigidLoops strange (when damping factor was too small, the blobs would start moving faster and faster sometimes, and oscillate - the reason being the VERLET integration and the fact that the up... File  Diff  Annotate
1:a4050fee11f7 2012-03-31 new scorelight methods added. VERY STRANGE problem with oldPos and pos in Verlet method, that have strange behaviour depending on the value of damp factor... File  Diff  Annotate
0:345b3bc7a0ea 2012-03-28 This version (using rigid frame, base and child classes, etc) works, but the blob is strangely smaller. Need to check this. File  Diff  Annotate