LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2016, 07:53 AM   #16
bochra
LQ Newbie
 
Registered: May 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled

hi sir
i would ask you about the trace file
my trace file is old version can i convert it to new version?pleez help me (urgent)
i use ns2.35 whith sumo and move
Attached Thumbnails
Click image for larger version

Name:	trace.PNG
Views:	3
Size:	6.2 KB
ID:	22043   Click image for larger version

Name:	new versio.PNG
Views:	3
Size:	9.9 KB
ID:	22044  
 
Old 06-08-2016, 08:03 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #16.

The most of the known simulation examples are using "old trace format", AFAIK.

How to change to "new trace format" : I don't know.
You can try asking here https://groups.google.com/forum/?fro...forum/ns-users

Google, ns2 change old to new trace format ...
https://www.google.com/webhp?hl=all&...w+trace+format



-

Last edited by knudfl; 06-08-2016 at 08:06 AM.
 
Old 06-08-2016, 10:40 AM   #18
bochra
LQ Newbie
 
Registered: May 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Sir do you know what the different value (field) of the old version trace file mean?
because i found the déscription of new version but i dont have a déscription of the old one
thank you very much sir
 
Old 06-08-2016, 11:17 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #18.

http://www.grc.upv.es/Links/local/gr...2%20Traces.htm
Event, Abbreviation, Type, Value.

Looks like "Value" is self explanatory. Please study the entries.


-
 
Old 06-09-2016, 04:32 AM   #20
yashu
LQ Newbie
 
Registered: Aug 2011
Posts: 27

Rep: Reputation: Disabled
Unhappy Sumo +ns2

Hello Sir,

am doing project on VANET, using ns2 and SUMO.
how to set vehicle speed?
 
Old 06-09-2016, 12:43 PM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #20.

Google, vehicle speed sumo
https://www.google.com/webhp?hl=all&...cle+speed+sumo

Example http://sumo.dlr.de/wiki/Definition_o...es,_and_Routes
>>> "Speed Distributions"

.. and
. http://sumo.dlr.de/wiki/Simulation/VehicleSpeed
. http://sumo.dlr.de/pydoc/traci.vehic...LaneChangeMode
... etc. etc. ~300,000 hits.

-
 
Old 06-09-2016, 01:49 PM   #22
yashu
LQ Newbie
 
Registered: Aug 2011
Posts: 27

Rep: Reputation: Disabled
Wink Sumo +ns2

Hello sir,

I have taken different trace with different speed.
but when check the result (packet delivery ratio) getting same value for both speed(60 &120)
why?
 
Old 06-09-2016, 04:34 PM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #22.

Vehicle speed change or difference will have no influence on the transmission of packets.
 
Old 06-17-2016, 01:24 PM   #24
bochra
LQ Newbie
 
Registered: May 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
hi sir :
i wante to ask you ho to calculate the nember of paket send and reseive from an old version of trace file in ns2
i do it like this :
if $1="s" pket_send++;
and about the packet reseive
if $1="r" pket_res++;
ther is any other condition necessary for this.
because i did'nt have a good result
thank you.
 
  


Reply

Tags
move.jar, sumo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Move & sumo huynhloc.dv11 Linux - Newbie 1 06-07-2015 03:52 AM
SUMO 0.12.3 installation for VANET vidyasagar verma Linux - Newbie 1 06-23-2014 05:06 PM
ZRP Routing Protocol Simulation VANET on SUMO splasher Linux - Software 1 07-30-2013 03:44 AM


All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration