hello everyone
I am using sumo-0.22.0 on ubuntu 12.04 . i successfully generated network
file and route file (with randomTrips.py using -i and -p options) then
using traceExporter.py , i generated the ns2 format mobility file. But i am
using this file as a scenario file to run AODV routing protcol, it is
giving me the following error: (scen1 is the mobility file generated with
the help of traceExporter.py)
ns aodv.tcl scen1
num_nodes is set 50
INITIALIZE THE LIST xListHead
loading mobility file
loading traffic file
Starting Simulation...
ns: _o50 setdest 580.35 804.95 0.00:
(_o50 cmd line 1)
invoked from within
"_o50 cmd setdest 580.35 804.95 0.00"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o50" line 2)
(SplitObject unknown line 2)
invoked from within
"_o50 setdest 580.35 804.95 0.00"
I think problem is with coordinates. Actually when i generated the config
file as output , these are the coordinates
# set floor size
set opt(x) 604.95
set opt(y) 804.95
set opt(min-x) -4.95
set opt(min-y) -4.95
where as my actual coordinates of the network are
<location netOffset="-100.00,-100.00"
convBoundary="0.00,0.00,600.00,800.00"
origBoundary="100.00,100.00,700.00,900.00" projParameter="!"/>
(this is the 2nd line of mine network file .net.xml)
As i was searching on the google , i found ns2 does not support negative
coordinates. but how i generate the ns2 mobility file using
traceExporter.py.
Could anyone please tell me how can i resolve this issue.
thanks.
sims
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user