I want to get the position (x and y coordinates) of each node in the Cooja simulator. There are 30 nodes in total, of type 'sky mote'. The goal is to build a table consisting of (ID_node x_coordinate y_coordinate) for each node.
First I tried to get…
I'm working with wireless sensor network lead to evaluate its performance in my work. I want to measure the latency and total energy consumption to find the remaining energy in each node. So my problem is that I have some values of tx rx cpu…
Recently I started working on a project in IoT, using contiki-ng.
The problem I faced is when I tried to run cooja with:
$ ant run
under ~/contiki-ng/tools/cooja.
the build failed
$ ant run
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on…
I'm trying to code the simulation script editor to calculate end-to-end delay and so on, but after the simulation is finished, I encounter the following message:
TEST TIMEOUT
TEST FAILED [if test was run without visualization, Cooja would now have…
I know there are similar posts to this. I have tried all of them. But that doesn't answer my question. I have already tried srand which is provided by c, but it doesn't work in cooja.
I have also tried #include "cfs/cfs.h", #include…
I am using Contiki-NG OS and I pretend to plot some metrics but Collect-View is removed in Contiki-NG.
Could anyone help me with this issue?
Does any similar application exist?
Thanks in advance.
I am developing code to use in the COOJA simulator. I used malloc() for all of the dynamic memory allocations. While the simulation is running, COOJA motes restart periodically and at last I get an error which tells me the reason is I'm using…
I'm studying a wireless sensor network and I'm implementing a distributed algorithm. What I want that it sends a runicast message to itself.
I tried to send runicast message to '&rimeaddr_node_addr', but it timedout.
runicast_send(&runicast,…
I am trying to compile an example code in cooja simulator on contiki-2.7 Operating System. Contiki is an OS for IoT applications. Before implementing in hardware the code is tested in cooja simulator first.
For a research purpose I installed…
In my code, I need to declare two process. In the first process, I want to call the second one like this:
PROCESS_THREAD(Initialization_process, ev, data)
{
PROCESS_BEGIN();
PROCESS_THREAD(example_broadcast_process, ev, data);
…
Is it possible to install cooja simulator in windows, but without virtual machine. I know that we can easily install that using virtual machine, but i want a method other than that.
I am working on the Contiki 2.7 cooja simulator . I want to modified sky mote and I want to change periodically wake up time for each node manually ?
I check the hello.c and ipv6 sender c. file but I can not find any solution
I have installed Contiki-NG on Ubuntu VMware Player and have been struggling to run it using ant run command following is the whole terminal code:
layla@ubuntu:~/contiki-ng/tools/cooja$ ant run
Buildfile: build.xml does not exist!
Build failed
I…
Good morning everyone,
In order to understand how mote communication works in Contiki, I am currently trying to set up a simple communication scenario.
This scenario involves two motes "Root" and "Node".
Root is going to broadcast a "Test"…
I'm trying to do a simulation in Cooja simulator, Contiki-ng using cooja motes and CSMA and the energest model.
Even though the simulation works well in Z1 mote with cooja motes the simulation stops and I get a null pointer error:
[15:19:20 -…