Difference between revisions of "IoTGateway/WiseSnail Simulator"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 
== Download source code and install required modules ==
 
== Download source code and install required modules ==
  
*[[Machine_Learning_Train_Steps|Machine Learning Train Steps]]
+
*Install nodejs: [https://nodejs.org/en/download/package-manager/ https://nodejs.org/en/download/package-manager/]
 +
*Checkout SVN source code: [https://172.20.2.44/svn/essrisc/IoT/source/Projects/WiseSnail_simulator https://172.20.2.44/svn/essrisc/IoT/source/Projects/WiseSnail_simulator]
 +
*Enter the directroy '''WiseSnail_simulator''' and use '''npm''' tool to install '''mqtt''' and '''keypress''' modules.
 +
<pre>$ cd  ./WiseSnail_simulator
 +
$ npm install mqtt --save
 +
$ npm install keypress -- save
 +
</pre>
 +
 
 +
 
  
 
== Folder/File mapping introduction ==
 
== Folder/File mapping introduction ==
  
*[[TensorFlow_Introduction|TensorFlow Introduction]]
+
*In '''WiseSnail_simulator''' directory, you can find '''wisesnail'''
*[[How_to_evaluate_model_with_TensorBoard|How to evaluate model with TensorBoard]]
+
*This '''Simulator''' read '''wisesnail''' directory to send WiseSnail packet to MQTT broker.
*[[TensorFlow_Sample_Code|TensorFlow Sample Code]]
+
*Below is folder/File mapping introduction
*[[Scikit-learn_Sample_Code|Scikit-learn Sample Code]]
+
 
 +
 
  
 
== How to test ==
 
== How to test ==
 
*[[Wrap_a_Machine_Learning_NodeRed_Component|Wrap a Machine Learning NodeRed Component]]
 

Revision as of 11:38, 11 October 2016

Download source code and install required modules

$ cd  ./WiseSnail_simulator
$ npm install mqtt --save
$ npm install keypress -- save


Folder/File mapping introduction

  • In WiseSnail_simulator directory, you can find wisesnail
  • This Simulator read wisesnail directory to send WiseSnail packet to MQTT broker.
  • Below is folder/File mapping introduction


How to test