[Avrora] .dat file for simulation inputs

Roy Shea royshea at gmail.com
Tue May 12 00:27:36 PDT 2009


Howdy,

> avrora -platform=mica2 -seconds=45 -simulation=sensor-network
> -monitors=serial,real-time -sensor-data="temp":2:new.dat -nodecount=1
> base.od ess.od

Looks like you are only simulating one node.  Try updating the node
count to:

----
-nodecount=1,1
----

that will simulate one instance of base.od and one instance of ess.od.
The detailed syntax for nodecount (shamelessly lifted from the avrora
help) is:

----
-nodecount: list = 1

    This option is used to specify the number of nodes to be
    instantiated. The format is a list of integers, where each
    integer specifies the number of nodes to instantiate with each
    program supplied on the command line. For example, when set to
    "1,2" one node will be created with the first program loaded
    onto it, and two nodes created with the second program loaded
    onto them.
---

Peace,
-Roy


More information about the Avrora mailing list