[Avrora] MultHop problem (Tossim Vs Avrora)

Roy Shea royshea at gmail.com
Mon Feb 2 09:28:45 PST 2009


Hello Alireza,

> ...but when testing the same application on Avrora, i get weired results.
> while sending, sendDone is DOES NOT occure.

As a reality check you can confirm that the radio is properly working in
your version of Avrora Avrora using a simpler application.  Perhaps test
that RadioCountToLeds is correctly operating:

----
java -cp /home/rshea/local/avrora/bin avrora/Main -colors=false
-platform=mica2 -simulation=sensor-network -monitors=real-time,leds
-update-node-id -stagger-start=1333 -random-seed=1233594656
-topology=topo.def -nodecount=2
/opt/tinyos-2.1.0/apps/RadioCountToLeds/build/mica2/app.elf
----

since RadioCountToLeds depends on the sendDone event to operate.
Assuming that RadioCountToLeds works for you (its working on my box this
morning), you may have to start debugging your application in more
detail to narrow down the problem.  You could use avrora to help with
this.  My favorite tools for this type of debugging are the gdb and
calls monitors.

Best of luck,
-Roy


More information about the Avrora mailing list