Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

Procedure to Add the Mobility Plugin in Contiki-Ng Simulator?

Add The Mobility Plugin In Contiki-Ng

Contiki-Ng Simulator Plugin for Mobility Model

Description:

   This tutorial teaches you how to enable mobility in Cooja Simulator. This feature can be used to simulate and test mobile ad-hoc network protocols in the Contiki-NG Cooja Simulator.

Downloading the Plugin

The mobility plugin for cooja can be found at this URL

http://sourceforge.net/p/contiki-NGprojects/code/HEAD/tree/sics.se/mobility/

Create a new directory at --> cd contiki-NG/tools/cooja/apps

mkdir mobility

Download and Save all the files into this mobility folder

Building the plugin

Navigate to

cd contiki-NG/tools/cooja/apps/mobility

sudo ant jar

This will build the plugin

Enabling the Mobility Plugin in Cooja

Start Cooja Simulator

cd contiki-NG/tools/cooja

sudo ant run

In Cooja,
Settings > External Tools Path…

Enabling the mobility plugin in cooja

Edit Settings Screen will pop-up

Edit Settings Screen will pop-up

Scroll down to DEFAULT_PROJECTDIRS
This field is used to specify paths to all the plugins in Cooja Simulator
Here you have to add a path to the downloaded plugin.
Go the end of this field DEFAULT_PROJECTDIRS
Insert ‘ ; ‘ symbol
Add the plugin’s path
[contiki-NG_DIR]/tools/cooja/apps/mobility
Click Save
Close Cooja Simulator and Start it again.
cd contiki-NG/tools/cooja/
sudo ant run
Now go to
Settings>Cooja Extensions
Cooja Extensions Window will pop-up.
Scroll down to mobility select it and click on “Apply for the session”

Enabling the mobility plugin in cooja Tools tab in Cooja you should see a new contiki-ng cooja simulator

Under the Tools tab in Cooja you should see a new “Mobility…” option now