[ns] About random mobility of wireless nodes
Claus Christmann
hcc at gatech.edu
Thu Sep 27 06:13:31 PDT 2007
HI Gabrial,
I am not sure if nam is the perfect way to look at your wireless
scenario. As far as I know, nam is not really supporting motion...
Also, do you have the following line in you node-config?
$ns_ node-config -movementTrace ON
Hope that helps.
Claus
Gabrial Monty wrote:
> Hi all,
>
> I am trying to simulate the an ad hoc network using the random mobility model for the wireless nodes. I have enabled the random motion as follows:
>
> $node_($i) random-motion 1
> $node_($i) start
>
> It works and give me results (eagrding the aggregate throughput) but the mobility of nodes and the generated traffic are not captured or recorded in the nam trace, where the nodes are appear static and no traffic is shown. I have added the following line:
>
> $node_($i) namattach $namtrace
>
>
> but nothing change, How can I make nam display the exact scenario with the mobility of nodes?
>
> thanx in advance for your help.
>
>
> ---------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
--
Claus Christmann
Graduate Research Assistant
Georgia Institute of Technology
270 Ferst Drive
Atlanta, GA 30332-0150
http://uav.ae.gatech.edu
More information about the Ns-users
mailing list