just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Changes

RevisionDateWhoCommit message
48:7633d8e7b0d3 2014-12-02 mbedalvaro this is the working version of the skin games sowtware (aka, scorelight but with pre-determined "games") default tip
47:2312a8dc9658 2014-04-01 mbedalvaro Version with pushbutton to change modes. I added a small capacitor to do elementary debouncing of the interrupt.
46:90516893793a 2014-04-01 mbedalvaro added show parameters function to calibrate (including integration steps)
45:a3b984a79d5d 2014-04-01 mbedalvaro working on tracking mode;
44:46e25fa1669b 2014-03-31 mbedalvaro This new version works pretty well, even if the following blob is not as nice as in elasticLoop_OSC. New: fraction rendering / first point wait solved (more regular rendering) / better delay calibration.
43:5ff1a26d99ac 2014-03-28 mbedalvaro enabled internal pullup resistor on pin p24 (two state switch to control the threshold mode)
42:c4e9c1116af4 2014-03-28 mbedalvaro Added functionality for two rotary encoders to control the additional mirror delay and the fixed threshold (instead of a potentiometer), and discarded the use of interrupt based switches to change the threshold mode (instead I use a two-state switch)
41:32c80fc09b59 2014-03-26 mbedalvaro I need to modify parameters of blob...
40:ee217eff826c 2014-03-26 mbedalvaro not bad...
39:7c54b6bca0e2 2013-10-16 mbedalvaro test;
38:9b522ef2c519 2013-03-13 mbedalvaro really, pot value not working, but good version
37:fa6b1f15819f 2013-03-13 mbedalvaro good version, but THE POTENTIOMETER READOUT IS NOT WORKING (using the adc library - not sure how to go from burst mode to normal mode and viscversa).
36:233b12d0b1f0 2013-03-13 mbedalvaro modified the way the "is touched" mode works
35:35af5086ab4f 2012-11-13 mbedalvaro version para ITS
34:1244fa3f2559 2012-11-07 mbedalvaro added hardware button & potentiometer to select the thresholding mode and parameters. Problems with the ADC conversion though...
33:43e8bc451ef0 2012-11-05 mbedalvaro added resizing functions, as well as better control on the thresholding modes
32:52273c3291fe 2012-10-29 mbedalvaro code for Tokyo design week (starting with two colored following spots, and NO standby mode)
31:5f039cbddee8 2012-09-23 mbedalvaro 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);
30:d8af03f01cd4 2012-09-21 mbedalvaro first commit. Not yet functional. Added ghost and pacman game modes, but the behaviour of these "rigid spots" is not implemented yet
29:2fc8c12822eb 2012-06-20 mbedalvaro compiled at asahiTV
28:44b7b6e35548 2012-06-19 mbedalvaro version almost ready for AsahiTV;
27:1ce994629ffc 2012-06-18 mbedalvaro 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)
26:c9329c4fc20a 2012-06-18 mbedalvaro still some color problems - cannot change the green from command
25:74cb85b85fd2 2012-06-18 mbedalvaro corrected some mistakes on color control;
24:4e52031a495b 2012-06-18 mbedalvaro Various modifications for show at TV Asahi
23:bf666fcc61bc 2012-06-13 mbedalvaro - 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?
22:d87317d7ca91 2012-06-02 mbedalvaro testing the LUT table
21:bc9b9383f4b6 2012-05-06 mbedalvaro Version working but not optimal for CHI. This is the first day of the setup.
20:8e82b95180e7 2012-04-28 mbedalvaro Version working at the end of the working day with Daito. Need to:; 1) control speed, size spot, color stifness and number of spots from Processing or Max patch.; 2) check why sometimes bouncing does not send message. ; 3) simplify protocol sending TOP AD...
19:228430f1350e 2012-04-28 mbedalvaro relatively stable. Now need to make commands to control speed/stiffness/color and size of spot form the computer
18:d72935b13858 2012-04-28 mbedalvaro this works pretty nicely. I will change some parameters on the elastic loop, as well as compute the KINETIC ENERGY
17:356ca5690a59 2012-04-28 mbedalvaro will modify things for CHI exhibition. In particular, define simple modes, with different data sending times;
16:2ff1cb2ae1b1 2012-04-13 mbedalvaro 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...
15:56a0bf424e8d 2012-04-12 mbedalvaro this is not bad, but still two or more spots produce problems. Need to re-trace TWICE a spot - or do like before, do a little more of it's trajectory.
14:0fc33a3a7b4b 2012-04-12 mbedalvaro checking old version, need to branch
13:9f03eac02700 2012-04-12 mbedalvaro 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...
12:0de9cd2bced5 2012-04-12 mbedalvaro 1) template class vector works fine. This way, I have more memory (by defining a rigid scafold using unsigned shorts). I can now make an elastic blob of at least 50 points. ; ; To do: double buffering (this will again take memory, but it may be ok becaus...
11:62f7183a03e7 2012-04-12 mbedalvaro 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...;
10:6f8e48dca1bd 2012-04-11 mbedalvaro a tester avec le vrai hardware!! (plein de modif sur l'acquisition de l'intensite... unsigned short instead of float)
9:3321170d157c 2012-04-11 mbedalvaro I will use an unsigned short to store the intensity instead of a float
8:5816bb17536b 2012-04-10 mbedalvaro ca marche, mais je vais maintenant appliquer un flag sur la routine d'affichage pour permettre (ou pas) l'update
7:0df17f3078bc 2012-04-07 mbedalvaro 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, ...
6:444859c27e78 2012-04-05 mbedalvaro solved one problem related to the initialization of the positions, so now the "relax contract central blob" works as before.; - strange first point; - still did not try the strange problem with the variable on the class laser sensing trajectory (required...
5:73cd58b58f95 2012-04-05 mbedalvaro Something very strange happens in the class laserSensingTrajectory: adding a:; float lightRatio; as member variable makes the blob dissapear...
4:f9d364f10335 2012-04-04 mbedalvaro - 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...
3:b44ff6de81bd 2012-04-02 mbedalvaro 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.
2:34157ebbf56b 2012-03-31 mbedalvaro - 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...
1:a4050fee11f7 2012-03-31 mbedalvaro 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...
0:345b3bc7a0ea 2012-03-28 mbedalvaro This version (using rigid frame, base and child classes, etc) works, but the blob is strangely smaller. Need to check this.