Firstly, excuse me for insisting so much on this, but I really do not know
what to do.
I use telosb motes and an external sensor and I need to use the natural
logarithmic function in order to convert the adc value of the sensor. I
tried:
#include math.h
...
x=log(y);
but at make I get:
Oops, my bad! Actually logf() works fine. It computes ln correctly. I still
cannot find it in any of the math.h files but it works.
Sorry again.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
I have two different versions of msp430 tools courtesy
of different mystery TOS installations, one in /usr
and one in /opt. They both have the same directory
structure, so the only math.h file I could find was:
.../msp430/msp430/include/math.h
Both contain a logf() declaration, and a
Dear Mr Michael Schippling
Thank you so much for both your help and your irony. I am afraid I was
looking at avr! After your enlightening reply I was able (at last) to find
logf. Unfortunately I cannot understand the base 10 ironic part of your
mail. But logf(2.718) returns 1 so I guess logf
The base10 log ironic part was a reference to how bad
my memory is of math functions that I don't often use...
I also forgot that avr math.h uses doubles...
hope things keep working for you
MS
Geo Gkolfin wrote:
Dear Mr Michael Schippling
Thank you so much for both your help and your irony.
Dear all,
in CTP does the linkEtx =10 (essentially 1.0) means the throughput is 100%?
I'm trying to comprehend the linkEtx value's relationship to the
throughput.
can someone help me in this?
Thanks all for the great community support.
silva
___
It means packet reception ratio (PRR --- num packets transmitted
successfully/total number of packets transmitted) is 1.0.
Moreover, ETX in CTP is bi-directional, it accounts for the quality of
link from receiver to transmitter (on which ACKs are transmitted)
On the otherhand, throughput of a
Hi all
I want to disable the CRC of the packet,so
I can receive all packets which cover those bad packets.but I can not
receive any messages.
what I have changed is like Damien O'Rourke: go to CC2420ControlP and
comment out the line “( 1 CC2420_MDMCTRL0_AUTOCRC );”.
the src of transmit node
Hello,
Could someone please shine some light on the change from r5657 which added
the following to RPLRankP.nc in IP_DIO.recv():
if(TOS_NODE_ID == 2 dio-dagRank == ROOT_RANK)
return;
When I merged in this change to my working tree I had my comms broken as I
was using node IDs 1 and 2
Thanks Eric.
You have no idea how long I have been struggling with it. now I manage to
install without any issues.
But I still can make even the simple make file I get a load of errors.
I have copied just the first few lines.
I still get some errors from the command
make all make
10 matches
Mail list logo