dasBente / m3-modular-puzzle

Repository für die Entwicklung eines modularen Puzzles für das M3 Projektpraktikum
GNU General Public License v3.0
0 stars 0 forks source link

Emulate fluctuations of the needle-indicator #5

Open dasBente opened 8 years ago

dasBente commented 8 years ago

The needles of real-life analogous indicators such as pressure gauges fluctuate to some degree. This should be emulated to achieve a somewhat more immersive feeling of the puzzle.

dasBente commented 8 years ago

The fluctuation has to be included into the timer code. Adding a deviance to the servo position for every cycle of loop is barely (,if at all) noticable. Probably every 100ms or so by a factor of around 2-5 degrees in each direction should be somewhat realistic looking.