To run the project, follow these steps:
These instructions will install Contiki-NG to ~/contiki-ng
on a commit that is known to work with our project. If you install Contiki-NG elsewhere, Makefile.path
needs to be updated so that our build system can find it!
cd ~
git clone https://github.com/contiki-ng/contiki-ng
cd ~/contiki-ng
git checkout f638934358e
git submodule update --init --recursive
cd ~/contiki-ng/tools/cooja
./gradlew run
- File > Open simulation > Browse...
- Select
Small Store.csc
from this repository - Press Start/Pause to start the simulation
- The behaviour of virtualized CAN nodes may be modified under
motes/shared/sim-tuning.h
(requires Reload of simulation to take effect) - If you wish to make use of the price tag visualization, please update
CLUSTER_VIS_DIRECTORY
inlibraries/CAN-sim/shard/types.h
to your desired location, text representations of every 10th mote's CAN nodes will be generated here. Write privilege at the logging location is required for this. (requires Reload of simulation to take effect)