Dear NS2 users

49 views
Skip to first unread message

Zeynu Mohammed

unread,
Aug 24, 2020, 3:43:24 AM8/24/20
to ns-u...@googlegroups.com
I am working on NS2 version 3.25 and I would like to get any mobility prediction source code in MANET.

                                with best regards

Hitesh Sharma

unread,
Aug 24, 2020, 5:03:31 AM8/24/20
to Network Simulator 2 (NS2)
Use setdest 

On Mon, 24 Aug 2020, 1:13 pm Zeynu Mohammed, <zeynu...@gmail.com> wrote:
I am working on NS2 version 3.25 and I would like to get any mobility prediction source code in MANET.

                                with best regards

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/CAJ8G0%3DKHqGUs2NWOouWU-vqP7vRfx4_v4VdpmAPxQs_nYjU2ug%40mail.gmail.com.

Ashagrie Mosu

unread,
Aug 24, 2020, 5:19:39 AM8/24/20
to ns-u...@googlegroups.com
hi
used NSG.2.1 tcl generic software

Hitesh Sharma

unread,
Aug 24, 2020, 5:55:44 AM8/24/20
to Network Simulator 2 (NS2)
That will help you to generate only random way points but not mobility

knudfl

unread,
Aug 24, 2020, 8:27:50 AM8/24/20
to Network Simulator 2 (NS2)
@Zeynu Mohammed ,   Hi.

Mobility movement files are usually created with SUMO or Bonnmotion.

Mobility movement files, examples : vanet-mobility-scene-files-ex.tar.xz

Hameurlaine Hicham

unread,
Aug 21, 2023, 4:29:02 AM8/21/23
to Network Simulator 2 (NS2)
@ knudfl, please I want to generate different model, I have done it for random waypoint, can you provide the commande line for other models, thank you

knudfl

unread,
Aug 21, 2023, 5:16:48 AM8/21/23
to Network Simulator 2 (NS2)
hichamham.....     Hi.

Do you mean bonnmotion commands ?  (Sumo can also create motion scen files: mobility.tcl  https://github.com/eclipse/sumo )

Bonnmotion command ex ....
./bm -f sample RandomWaypoint -n 200 -d 60 -x 1000 -y 750
./bm NSFile -f samplebm NSFile -f sample
----
./bm -f sample RandomWalk -n 200 -d 60 -x 1000 -y 750 -t 100
./bm NSFile -f samplebm NSFile -f sample
----
./bm -f disast2 DisasterArea -n 111 -x 275 -y 250 -p 20 -a 1 -g 140 -r 3 -e 6 -q 3 -d 300 -i 5000 -j 1 -b 20,190,20,174,56,190,56,174,38,174,56,182,1,20,17 -b 66,110,92,110,66,60,92,60,79,110,79,60,2,15,0 -b 20,190,20,174,56,150,56,174,38,174,56,182,1,20,17 -b 75,200,75,170,225,200,225,170,75,182,140,170,0,20,15 -b 160,15,160,55,200,15,200,55,270,0,130,0,160,25,200,25,4,30,25 -b 40,10,65,10,65,35,40,35,50,10,50,11,3,6,0 -o 230,200,230,140,270,200,270,140
./bm NSFile -f disast2bm NSFile -f disast2
---
./bm -f u3v3 ManhattanGrid -n 31 -u3 -v3 -x 1000 -y 1000 -p 20 -g 140 -r 3 -e 6 -d 300 -i 5000
./bm NSFile -f u3v3bm NSFile -f scenNSFile -f u3v3
./bm NSFile -f u3v3bm NSFile -f scenNSFile -f u3v3
---
...

Hameurlaine Hicham

unread,
Aug 21, 2023, 10:04:49 AM8/21/23
to Network Simulator 2 (NS2)
@knudfl, thank you, it s a pleasure to communicate with you Sir, can you please give me more details about desaster scenarion, what does all theses numbers mean ?

knudfl

unread,
Aug 21, 2023, 11:53:33 AM8/21/23
to Network Simulator 2 (NS2)
hichamham.....
The numbers in the obstacle / disaster command are defining the obstacle / disaster area, I guess.
Command options: Please read "everything BonnMotion INFO"
.  bonnmotion-3.0.1/doc/README.pdf
.  https://groups.google.com/g/ns-users/search?q=bonnmotion
.  https://www.linuxquestions.org/questions/tags/bonnmotion/
.  And please search Google:        bonnmotion tutorial
Reply all
Reply to author
Forward
0 new messages