araujokth / kth-gisoo Goto Github PK
View Code? Open in Web Editor NEWKTH-GISOO a virtual testbed for simulation of wireless cyber-physical systems
KTH-GISOO a virtual testbed for simulation of wireless cyber-physical systems
Provide support for versions 3.0 and 3.1
I have downloaded the files from here , l have installed Matlab2016b in
windows 10 and installed contiki-2.6 in Cygwin. l want to use the files to verify if my software is installed successfully. but when l start the run button ,few seconds later,it will occur some errors.
Input port 1 of 'WaterTanks_SimpleModel/GISOO-Simulation Environment/SkyMote1' is not connected. [4 similar]
Output port 2 of 'WaterTanks_SimpleModel/GISOO-Simulation Environment/SkyMote1' is not connected. [5 similar],
An error occurred while running the simulation and the simulation was terminated
Caused by:
Error evaluating 'AssertionFcn' callback of Assertion block 'WaterTanks_SimpleModel/GISOO-Simulation Environment/CoojaConnector/Stop'.
undefined function'no'for input arguments of type 'char'.
how can I solve this problems!
THANKS for any advice.
The Simulink model in the folder https://github.com/araujokth/kth-gisoo/wiki/Examples-tutorial#adc-data-transmission-in-gisoo---using-contiki is just fed with constant input 500. The Contiki codes are printing the inbuilt sensor values. There is no ADC/DAC communication between Contiki and Simulink in the existing Contiki codes in the folder https://github.com/araujokth/kth-gisoo/wiki/Examples-tutorial#adc-data-transmission-in-gisoo---using-contiki. Hence, I am not able to understand how the ADC/DAC communication will take place in GISOO. I would request you if you can provide some pointers to that.
csy@csy-virtual-machine:~/contiki-2.6/tools/cooja$ ant run
Buildfile: /home/csy/contiki-2.6/tools/cooja/build.xml
init:
compile:
copy configs:
jar_cooja:
[jar] Building jar: /home/csy/contiki-2.6/tools/cooja/dist/cooja.jar
jar:
init:
compile:
jar:
init:
mspsim:
coffee:
init:
compile:
[javac] Compiling 8 source files to /home/csy/contiki-2.6/tools/coffee-manager/build
configs:
jar:
[jar] Building jar: /home/csy/contiki-2.6/tools/coffee-manager/coffee.jar
[copy] Copying 1 file to /home/csy/contiki-2.6/tools/cooja/apps/mspsim/lib
compile:
copy:
jar:
init:
compile:
jar:
init:
clean:
[delete] Deleting directory /home/csy/contiki-2.6/tools/cooja/apps/serial_socket/build
compile:
[mkdir] Created dir: /home/csy/contiki-2.6/tools/cooja/apps/serial_socket/build
[javac] Compiling 2 source files to /home/csy/contiki-2.6/tools/cooja/apps/serial_socket/build
jar:
[jar] Building jar: /home/csy/contiki-2.6/tools/cooja/apps/serial_socket/lib/serial_socket.jar
init:
compile:
jar:
init:
compile:
jar:
init:
clean:
[delete] Deleting directory /home/csy/contiki-2.6/tools/cooja/apps/powertracker/build
compile:
[mkdir] Created dir: /home/csy/contiki-2.6/tools/cooja/apps/powertracker/build
[javac] Compiling 1 source file to /home/csy/contiki-2.6/tools/cooja/apps/powertracker/build
jar:
[jar] Building jar: /home/csy/contiki-2.6/tools/cooja/apps/powertracker/lib/powertracker.jar
init:
clean:
[delete] Deleting directory /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/build
compile:
[mkdir] Created dir: /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/build
[javac] Compiling 1 source file to /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/build
[javac] /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/java/GISOO_Simulink_Plugin.java:37: error: cannot find symbol
[javac] import se.sics.mspsim.core.DAC12;
[javac] ^
[javac] symbol: class DAC12
[javac] location: package se.sics.mspsim.core
[javac] /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/java/GISOO_Simulink_Plugin.java:38: error: cannot find symbol
[javac] import se.sics.mspsim.core.DACOutput;
[javac] ^
[javac] symbol: class DACOutput
[javac] location: package se.sics.mspsim.core
[javac] /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/java/GISOO_Simulink_Plugin.java:174: error: cannot find symbol
[javac] protected class DACConnector implements DACOutput {
[javac] ^
[javac] symbol: class DACOutput
[javac] location: class GISOO_Simulink_Plugin
[javac] /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/java/GISOO_Simulink_Plugin.java:384: error: cannot find symbol
[javac] ((DAC12) skyMote.getCPU().getIOUnit("DAC12")).setDACOutput(0, new DACConnector(16));
[javac] ^
[javac] symbol: class DAC12
[javac] location: class GISOO_Simulink_Plugin
[javac] /home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/java/GISOO_Simulink_Plugin.java:385: error: cannot find symbol
[javac] ((DAC12) skyMote.getCPU().getIOUnit("DAC12")).setDACOutput(1, new DACConnector(17));
[javac] ^
[javac] symbol: class DAC12
[javac] location: class GISOO_Simulink_Plugin
[javac] 5 errors
BUILD FAILED
/home/csy/contiki-2.6/tools/cooja/build.xml:195: The following error occurred while executing this line:
/home/csy/contiki-2.6/tools/cooja/apps/GISOO_Simulink_Plugin/build.xml:12: Compile failed; see the compiler error output for details.
Total time: 1 second
Any help regarding this will be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.