diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp index 29214bd..4d23d8e 100644 --- a/main.cpp +++ b/main.cpp @@ -12,6 +12,7 @@ class TLE{ public: void get_data(int, int, int); void download(); + void write_fifo_1(int); }; void TLE::get_data(int value, int category, int satNr){ @@ -28,6 +29,7 @@ void TLE::get_data(int value, int category, int satNr){ std::getline(file, line); } + // get value if(value == 1){ std::getline(file, line); for(int i = 0; i < 24; i++){ @@ -268,10 +270,17 @@ int main(){ // system("ls -l"); // system("python3 download_data.py"); + int category = 1; + + TLE sat; // sat.download(); - sat.get_data(19, 1, 2); + + data = sat.get_data(19, 1, 2); + sat.write_fifo_1(data); + std::cout << std::endl; + system("python3"); return 0; } |