Coder Social home page Coder Social logo

kth-gisoo's People

Contributors

araujokth avatar gisoo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dfons sunrset

kth-gisoo's Issues

l have strictly followed the tutorial in GISOO Installation,but l can't let Cooja and matlab connected, l hope someone can help me.

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.

No ADC/DAC communication using existing Contiki code

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.

cooja compile failed in Ubuntu when l put two lines of code into the build file by folllowing the instruction of this webpage--- "https://github.com/araujokth/kth-gisoo/wiki/Installing-GISOO" ,l don't how to deal with it .

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.