[Tinyos Core WG] Issue with sampling multiple sensors

Kevin Klues klueska at gmail.com
Tue May 22 14:13:54 PDT 2007


What would be nicer still is some declarative way of saying which
sensors you want and at which rates, and to let the proper code be
generated for you...

Kevin

On 5/22/07, David Gay <dgay42 at gmail.com> wrote:
> The thread that starts with
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-May/024986.html
> ("I can't sample X&Y acceleration at more than 31Hz!") brings up a
> limitation of ReadStream:
> how can one sample a group of sensors at high rates?
>
> It's easy enough to sample one sensor at a high rate, or several
> sensors in succession. But if I want 200Hz sampling of X&Y
> acceleration simultaneously, there doesn't seem to be a very good
> answer?
>
> Possible current solutions:
> - go low level, using Resource to reserve both sensors and ReadNow to
> sample them (i.e., do ReadStream by hand) - this requires the
> sensorboard to make *Now versions of each sensor available (the mts300
> doesn't...)
>
> - have the sensor provide all reasonable sensor groups (e.g., X, Y and
> X&Y) - painful for more than two sensors
>
> Possible future solutions:
> - some interface to sampling groups of sensors? could be icky...
>
> Anyway, something I noticed from that thread rather than any good answer.
>
> David
> _______________________________________________
> Tinyos-2.0wg mailing list
> Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
>


-- 
~Kevin


More information about the Tinyos-2.0wg mailing list