Hello,

Thanks for your reply. Indeed I am using SUMO 0.14 so I was trying to do it
by using the java traceExporter.jar. Following the instructions from page:
http://sourceforge.net/apps/mediawiki/sumo/index.php?title=Purgatory/TraceExporterJar.
However I get an ArrayIndexOutOfBoundsException.

To be more specific, I run

netconvert -n=amam.nod.xml -e=amam.edg.xml --output-file=amam.net.xml
--offset.disable-normalization
sumo -n amam.net.xml -r amam.rou.xml --netstate-dump amamnetstate.xml

I skipped the

sumo-duarouter --flow-defs=flow.xml --net=net.xml --output-file=routes.xml

command since I am using a scenario without flows but with individual
vehicles and I provide specific routes that each vehicle should follow
inside my rou.xml file .
Is this ok?

The problem appears at the next step when I try to run:
java -jar traceExporter.jar ns2 -n amam.net.xml -t amamnetstate.xml -a
activity.tcl -m mobility.tcl -c config.tcl -p 1

and I get the following java exception:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
        at ns2.NetTranslater.translate(NetTranslater.java:48)
        at ns2.Converter.<init>(Converter.java:70)
        at ns2.Converter.convert(Converter.java:29)
        at Main.main(Main.java:41)

Can you think of why this happens?

Thank you for your time,

Best regards,

Panos.






2014/1/14 Jakob Erdmann <[email protected]>

> Hello,
> possibly, you are using an old version of SUMO where this option does not
> exist.
> regards,
> Jakob
>
>
> 2014/1/13 Panagiotis Matzakos <[email protected]>
>
>> Hello,
>>
>> I am a new sumo user and I am actually trying to use fcd-export to extract
>> an xml trace file which can then be transformed to a .tcl file which is
>> readable from ns-2, ns-3. So after verifying that my mobility scenario
>> works without problems I try to run:
>>
>> sumo -c myConfig.sumocfg --fcd-output myTrace.xml
>>
>> as described in the link:
>>
>>
>> http://sourceforge.net/apps/mediawiki/sumo/index.php?title=Tutorials/Trace_File_Generation
>> .
>>
>> However I get the following error:
>>
>> "Error: On processing option '--fcd-output':
>>  No option with the name 'fcd-output' exists.
>> Error: The parameter 'myTrace.xml' is not allowed in this context.
>>  Switch or parameter name expected.
>> Error: Could not parse commandline options.
>> Quitting (on error)".
>>
>> The scenario I have created is under: tests/complex/tutorial/ and I made
>> it
>> in a similar manner as the /hello scenario. Also I have Python installed.
>> Could you please tell my what I am missing?
>>
>> Thank you very much in advance,
>>
>> Panos.
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to