[Ns-bugs] [Bug 1301] New: Ns2MobilityHelper causes Node GetPosition() to return NaN

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Nov 22 03:09:28 PST 2011


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1301

           Summary: Ns2MobilityHelper causes Node GetPosition() to return
                    NaN
           Product: ns-3
           Version: ns-3.11
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: mobility models
        AssignedTo: boyko at iitp.ru
        ReportedBy: loulloudes.n at cs.ucy.ac.cy
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


Hi all, 

I am using mobility traces in NS2 format generated from SUMO (0.13.0) for some
VANET simulations I am performing.

While the simulations are running I get the following exception from the
propagation-loss model:

distance >= 0", file=../src/propagation/model/propagation-loss-model.cc,
line=643
terminate called without an active exception

I tracked it down via debug and it is because the MobilityModel::GetPosition ()
of a node returns NaN.

I am attaching the mobility trace file generated by SUMO (to be more specific
generated by traceExporter tool in SUMO), in order to reproduce the bug.

The exception takes place around simulation time 132s

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list