You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+8-42
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Ares-Red-Link
1
+
# Mars-Earth communication Bottleneck
2
2
3
-
# Data Source
3
+
##Data Source
4
4

5
5
6
6
We use the ephemeris data available in the `astropixels` website, this website has recorded historical data for planets in our solar system from 2011.
@@ -19,18 +19,14 @@ Inside the root directory of the project a python script `astro_ephemeris_data_p
19
19

20
20
21
21
22
-
<br/>
23
22
<br/>
24
23
<br/>
25
24
26
-
# Delayed MarsRover Sensors Data Simulation
25
+
# Mars-Earth Communication of Rover Sensors Data with Signal Delay in Real-Time
27
26
Here we simulate sending data from Mars to Earth with the calculated light speed signal delay in real-time, the source sensors data frequency is each one second, and we send this data each one second too.
28
27
29
28
If a delay is `120s`, data from `T=0s` is sent at `T=120s`, data from `T=1s` is sent at `T=121s`, and so on.
30
29
31
-
32
-
<br/>
33
-
34
30
## Data Source
35
31

36
32
This data from mars is taken from The Planetary Atmospheres Node (ATM) of the Planetary Data System (PDS) https://pds-atmospheres.nmsu.edu/
@@ -74,43 +70,13 @@ while (true) {
74
70
75
71
It checks the queue **without blocking** and sends each packet at the exact **scheduled** time when a `queueCond.notify_one()` is called in the main flow.
76
72
77
-
The main flow of Mars side:
78
-
```cpp
79
-
intmain() {
80
73
81
-
EphemerisData EphemerisData;
82
-
CommsManager CommsManager;
83
-
Rover Rover;
74
+
### Earth side
75
+
In `earth_receiver_sim.cpp` We receive the sent sensors data by Mars, Earth side is the `server` side here and `Mars` is the `client` side in `UDP` terminology.
We receive the sent sensors data by Mars, Earth side is the `server` side here and `Mars` is the `client` side in `UDP` terminology.
81
+
If we look closely, we will find that the first pushed record to the queue is at `06:18:11` (Mars-side) and the first arrived record (Earth-side) is at `06:18:16` which is exactly after `5 seconds` (the signal delay), second record is sent at `06:18:12` and arrived at `06:18:17`, and so on......
0 commit comments