Weather casting with Machine Learning (SVM and SRNN).

Dependencies:   EthernetInterface GraphicHandler NTPClient SRNN SVM SensorModule mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.hpp Source File

main.hpp

00001 #ifndef MAIN_H_INCLUDED
00002 #define MAIN_H_INCLUDED
00003 
00004 #include "mbed.h"
00005 #include "rtos.h"
00006 
00007 #include "EthernetInterface.h"
00008 #include "NTPClient.h"
00009 
00010 #include "MCSVM.hpp"
00011 #include "SRNN.hpp"
00012 #include "SensorModule.hpp"
00013 #include "GraphicHandler.hpp"
00014 
00015 #include "main_util.hpp"
00016 #include "share.hpp"
00017 #include "setup.hpp"
00018 
00019 #include "./debug/debug.hpp" // 
00020 
00021 // Pointer to Class instance (global)
00022 extern SRNN            *srnn;
00023 extern MCSVM           *mcsvm;
00024 extern SensorModule    *sensor_module;
00025 extern GraphicHandler  *graphic_handler;
00026 // ネットワーク関係(global)
00027 extern EthernetInterface    eth_if;
00028 extern NTPClient            ntp_client;
00029 // ファイルシステム(global)
00030 extern LocalFileSystem      *local_fs;
00031 // 系列データ(global)
00032 extern float* new_seqence_data;        // 現在の(一番新しい)系列データ
00033 extern float* new_predict_data;        // 現在の予測結果
00034 extern int*   new_predict_weather;     // 現在の予測天気
00035 extern float* new_predict_probability; // 現在の予測天気の確率(厳密には,確率ではない...)
00036 extern float* srnn_sample_queue;       // SRNNのサンプルキュー
00037 
00038 #endif /* MAIN_H_INCLUDED */