SUMO & OMNeT++

391 views
Skip to first unread message

Eslam Tawfig

unread,
May 19, 2011, 9:43:37 AM5/19/11
to omnetpp
Hi all

I'm trying to create my own scenario in SUMO to connect them with OMNeT
++ with files which are route files, net files and sumo configuration
file. I faced the error

<!> Error in module (TraCIScenarioManagerLaunchd) scenario.manager
(id=3) during network initialization: Model error: ASSERT: condition
omnetTimestep == serverTimestep false in function
processSimSubscription, world/traci/TraCIScenarioManager.cc line 760.

the configuration files that I create it like follow
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<input>
<net-file value="net.net.xml"/>
<route-files value="routes.rou.xml"/>
</input>
<time>
<begin value="54000"/>
<end value="54900"/>
</time>
</configuration>

but the file that I found it with "traci_launchd" that found in in
this tutorial
http://veins.car2x.org/tutorial/
is different which is look like follow
<configuration>
<files>
<net-file>net.net.xml</net-file>
<route-files>routes.rou.xml</route-files>
<srand>88888</srand>
<abs-rand>false</abs-rand>
</files>
<simulation>
<route-steps>200</route-steps>
<begin>54000</begin>
<end>54900</end>
</simulation>
</configuration>

I tried to replaced the names of the files that I create it before.
but unfortunately, it does not work.

Help please, what should I do to make it run.

Christoph Sommer

unread,
May 19, 2011, 10:09:46 AM5/19/11
to omn...@googlegroups.com
Dear Eslam Tawfig,

Eslam Tawfig wrote:
> Model error: ASSERT: condition omnetTimestep == serverTimestep false

Which value did you configure for the OMNeT++ time step (updateInterval)?

Which value did you configure for the SUMO time step (step-length)?

The error message suggests that these differ.


Cheers,

Christoph

--
Christoph Sommer
Computer Networks and Communication Systems
University of Erlangen-Nuremberg, Germany
Phone: +49 9131 85-27993 / Fax: +49 9131 85-27409
http://www7.informatik.uni-erlangen.de/~sommer/

Eslam Tawfig

unread,
May 19, 2011, 1:46:10 PM5/19/11
to omnetpp
Hi Christoph

Thank you so much, your answer was really helpful and your tutorial
was also same. now it's my first time to run my scenario. My
suggestion is that, would you please add section below your tutorial
on "How to integrate our own scenarios" and what are the things that
we should take care of in order to implement our scenario.

thanks again.
regards :)

On May 19, 10:09 pm, Christoph Sommer <christoph.som...@informatik.uni-

shiree...@gmail.com

unread,
Dec 9, 2015, 4:13:59 PM12/9/15
to OMNeT++ Users, christop...@informatik.uni-erlangen.de
please can you help me 
i cant find how to change my omnet time step and my sumo time step ?

any help ?  
Reply all
Reply to author
Forward
0 new messages