just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Revisions of elasticLoop.cpp

Revision Date Message Actions
47:2312a8dc9658 2014-04-01 Version with pushbutton to change modes. I added a small capacitor to do elementary debouncing of the interrupt. File  Diff  Annotate
46:90516893793a 2014-04-01 added show parameters function to calibrate (including integration steps) File  Diff  Annotate
45:a3b984a79d5d 2014-04-01 working on tracking mode; File  Diff  Annotate
44:46e25fa1669b 2014-03-31 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. File  Diff  Annotate
41:32c80fc09b59 2014-03-26 I need to modify parameters of blob... File  Diff  Annotate
40:ee217eff826c 2014-03-26 not bad... 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
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
26:c9329c4fc20a 2012-06-18 still some color problems - cannot change the green from command 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
22:d87317d7ca91 2012-06-02 testing the LUT table File  Diff  Annotate
20:8e82b95180e7 2012-04-28 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... 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
12:0de9cd2bced5 2012-04-12 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... 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
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
6:444859c27e78 2012-04-05 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... 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