[Avrora] Avrora simulates incorrectly multihop networks of sensors

MARTIN PEREZ-JUANA MORA Martin.Perez at alu.uclm.es
Wed May 28 08:12:06 PDT 2008


I am currently simulating the applications (Surge and GenericBase) from TinyOs to simulate a multihop network and the data that Avrora returns me and I think that are incorrect or illogical.
For the transmission package if it appears to be q packages  received are correct but not happens the same with the packages sent. All nodes send the same packet number and i suppose that not being done multihop routing.

Some of the problems i have are as follows:
     1.	Simulating Surge in each node the function getParent not obtain a valid value. I think that for some reason nodes are not associated with one another and a node is not a neighbour of another. It’s a problem of the medium or avrora?
     2.	Examining the code Avrora (avrora.sim.radio.Medium) for all the nodes the method void beginTransmit (double pow) the variable pow always has the value 0.0.
I used a topology file correct and used stagger-start to avoid problems loading simultaneous:

node0 0 0 0
node1 5 0 0
node2 10 0 0
node3 15 0 0
node4 20 0 0
node5 30 0 0
node6 35 0 0
node7 40 0 0
node8 45 0 0

java -jar avrora-beta-1.7.105.jar -colors=false -action=simulate -simulation=sensor-network -platform=mica2 -seconds=100.0 -stagger-start=500000 -monitors=packet -show-bits=false -show-packets=false -topology=topology.top -nodecount=1,1,1,1,1,1,1,1 GenericBase.elf surge.elf surge.elf surge.elf surge.elf surge.elf surge.elf surge.elf

=={ Packet monitor results }==================================================
Node     sent (b/p)          recv (b/p)    corrupted (b)
------------------------------------------------------------------------------
   0         1 / 1              738 / 27               0
   1       241 / 9              768 / 27               0
   2       241 / 9              732 / 23               0
   3       256 / 9              937 / 28               0
   4       271 / 9             1127 / 33               0
   5       256 / 9              922 / 28               0
   6       241 / 9              681 / 19               0
   7       226 / 9              425 / 10               0

I would appreciate if somebody can solve my problem and if somebody have been able simulate correctly implementing Surge or another multihop application and if communication between nodes has been correct.

Regards and hope your reply
Thanks and sorry for my English. 



___________________________________________________
Enviado a través de http://alumnos.uclm.es/webmail


 
                   



More information about the Avrora mailing list