]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Redo Average interface.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Mon, 9 Nov 2009 19:30:58 +0000 (19:30 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:51 +0000 (20:01 -0700)
commit31c5577e7d049bcb6dfc5e3d0a2c8bfd324ef25c
tree19054214cb90cc7049eb1076ddf1942663aa9260
parentf54520e9a604b832eb3498102975f50f1494d1c3
Redo Average interface.

There is no point in having the averagers pre-know their number of samples.
The user should know this information.  Therefore we have a more flexible
solution and avoid a signal to return the averate to the user when that user is
very likely to want to call a command instead.
tos/platforms/tmirws/sensors/Average.nc
tos/platforms/tmirws/sensors/AverageAngleC.nc
tos/platforms/tmirws/sensors/AveragePolarP.nc
tos/platforms/tmirws/sensors/AverageU16C.nc