Description: This sample shows how to run Contiki NG, a network simulator. First, make sure you have Contiki NG installed. Ensure the right Java virtual machine is installed along with Ant, the right environment variables are set, and the Cooja submodule is downloaded. Go to the Cooja directory, build and start it with ant.
In terminal Go to the path contiki-ng/tools/cooja
Then give Command ant run
Cooja will start with an empty window
To create a new simulation
To create a new simulation, click on File->New Simulation. Choose a name for the simulation, set other optional parameters, and click Create.
By default the simulation contains an number of panels.
The 'Network' panel will show the network toplogy
The 'Simulation control' panel is used to start/pause/reload simulations.
The 'Notes' panel is for your own notes.
The 'Mote output' panel shows the serial line output of every node in the network.
The 'Timeline' visualizes communication in the network.