about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--TLE/argos.txt18
-rwxr-xr-xa.outbin9216 -> 9264 bytes
-rw-r--r--download_data.py10
-rw-r--r--main.cpp5
-rw-r--r--readme.md18
5 files changed, 48 insertions, 3 deletions
diff --git a/TLE/argos.txt b/TLE/argos.txt
new file mode 100644
index 0000000..83d674a
--- /dev/null
+++ b/TLE/argos.txt
@@ -0,0 +1,18 @@
+NOAA 15                 

+1 25338U 98030A   17044.56421669  .00000003  00000-0  20061-4 0  9992

+2 25338  98.7849  55.2106 0010209 200.4007 159.6766 14.25777141975394

+NOAA 18                 

+1 28654U 05018A   17044.57358822 -.00000020  00000-0  14465-4 0  9992

+2 28654  99.1915  63.7113 0015093  60.7091 299.5586 14.12324894604814

+METOP-A                 

+1 29499U 06044A   17044.89277778 -.00000002  00000-0  19061-4 0  9992

+2 29499  98.6959 106.4783 0001654 138.5926 232.1176 14.21497328535624

+NOAA 19                 

+1 33591U 09005A   17044.49021674  .00000072  00000-0  64444-4 0  9999

+2 33591  99.0766   9.6680 0012998 259.9099 100.0605 14.12152611413195

+METOP-B                 

+1 38771U 12049A   17044.89449147 -.00000005  00000-0  17777-4 0  9993

+2 38771  98.6963 107.0258 0000859 159.3671  25.7255 14.21490308228758

+SARAL                   

+1 39086U 13009A   17044.84728924 -.00000027  00000-0  60588-5 0  9991

+2 39086  98.5388 234.3739 0000375 165.0013 195.1182 14.31993469207455

diff --git a/a.out b/a.out
index e4e76b7..68f8168 100755
--- a/a.out
+++ b/a.out
Binary files differdiff --git a/download_data.py b/download_data.py
new file mode 100644
index 0000000..878cae8
--- /dev/null
+++ b/download_data.py
@@ -0,0 +1,10 @@
+import urllib.request
+
+# downlaod specific categeory
+def download(category):
+    webx_loc = 'http://celestrak.com/NORAD/elements/' + category + '.txt'
+    disk_loc = 'TLE/' + category + '.txt'
+    urllib.request.urlretrieve(webx_loc, disk_loc)
+
+# download category
+download("argos")
diff --git a/main.cpp b/main.cpp
index afed0aa..d3b6ea6 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,6 +1,9 @@
 #include <iostream>
+#include <stdlib.h>
 
 int main(){
-  std::cout << "Hello World" << std::endl;
+  std::cout << "Download Data" << std::endl;
+  command
+  system("ls -l");
   return 0;
 }
diff --git a/readme.md b/readme.md
index 0423d5e..af2b242 100644
--- a/readme.md
+++ b/readme.md
@@ -6,10 +6,24 @@ Sooo... ... I'm using C++ from now on.
 
 ---
 
-compile using:
+So, the plan is:
+
+1. Running a Python-script (download_data.py) using C++ to fetch the data from the web.
+
+2. Parsing the Data using C++.
+
+3. Calculating the needed values.
+
+4. Blender... .
+
+5. Calculating Collisions.  
+
+---
+
+Compile using:
 
     $ g++ main.cpp
 
-run using:
+Run using:
 
     $ ./a.out