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 Cooja Simulator?

Add The Mobility Plugin In Contiki cooja simulator

Contiki Cooja Simulator Manual for Adding the Mobility Plugin for IoT Networks

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 Cooja Simulator.

Downloading the Plugin

The mobility plugin for cooja can be found at this URL

http://sourceforge.net/p/contikiprojects/code/HEAD/tree/sics.se/mobility/

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

mkdir mobility

Download and Save all the files into this mobility folder

Building the plugin

Navigate to

cd contiki/tools/cooja/apps/mobility

sudo ant jar

This will build the plugin

Enabling the Mobility Plugin in Cooja

Start Cooja Simulator

cd contiki/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_DIR]/tools/cooja/apps/mobility
Click Save
Close Cooja Simulator and Start it again.
cd contiki/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”

Save plugins in Cooja Simulator Tools tab in Cooja you should see a new mobility

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