Thanks!
It doesn't still work with me, but anyway it's nice of you to help me.
I've finally parsed myself the message with matlab as I also had to
process the data, not so smart as mig, but working already.
Cheers
VirgĂnia
___
Tinyos-help mailing list
You can easily generate a java file with the MIG tool for parsing floats
just as you would do for ints or other data types. No special treatment is
required.
On 2/15/07, virginia estellers <[EMAIL PROTECTED]> wrote:
Hello another time,
I've tried some more times to run the code on the motes bu
oh, you're having trouble making sense of floats in TOS_Msgs?
that makes it easierlook at how mig deals with it...
I found it recently in java/net/tinyos/message someplace I think.
try searching fro "float" or "double" there...
I gotta run to a talk, or driver through the snow to a talk actual
Hello another time,
I've tried some more times to run the code on the motes but the output
I get from them doesn't make sense. I thought it was because of the
floating-point libraries, but maybe I'm completely wrong, because I
get the same output for my make as you send me. Could it be a problem
(I'm redirecting this back to the help list to keep a record of my mistakes...)
hmmI put your files in a directory named "Wint" under contrib/xbow/apps
and changed the Makefile to COMPONENT=W (because that's your file name W.nc),
then ran make micaz which seems to be ok (modulo silly warning
Hi, thanks for such an early answer!
I've tried lots of variations of #include (different places on the
code) but even if I can compile, the math functions do not work, as if
the library wasn't linked, or "math.h couldn't be preprocessed" appear
on the cygwin shell.
All it cames to my mind to jus
As far as I understand it float should "just work".
The default compile/link line has -lm which includes
the standard math libs in the link. If you are using
a lib function like abs() or sin() or whatever you
probably want to #include in the source file
to get the prototypes.
Are you getting spe
Hello!
I'm having troubles to include the math.h library on a program that should
run on micaz motes. I've been reading lot of the mails from the list, but
I'm quite dumb and do not succed in including correctly all the files,
paths... so, please, please, help me!
I'm using Tinyos 1.1