Location Research Breakthrough Possible @S-Logix pro@slogix.in

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
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