Skip to content

Commit 5ca0dec

Browse files
committed
updated README with instructions
1 parent 84da202 commit 5ca0dec

4 files changed

Lines changed: 30 additions & 583 deletions

File tree

README.md

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
# Yamcs QuickStart
1+
# Yamcs (QuickStart) integration with SATLINK PoC
22

3-
This repository holds the source code to start a basic Yamcs application that monitors a simulated spacecraft in low earth orbit.
3+
This branch / repository holds the source code of the integration between Yamcs and SATLINK's Ground and Space segments.
44

5-
You may find it useful as a starting point for your own project.
5+
The integration implements encryption of TCs comming from Yamcs using SATLINK's Ground segment.
6+
These TCs are decrypted in OBS using Space segment.
67

8+
OBS sends TM, which is encrypted using Space segment, and later decrypted on Yamcs side using Ground segment.
9+
10+
SATLINK files were minimaly customized by selecting which functionalities will be utilized, and for providing additional debugging options.
11+
Two custom Yamcs classes were made to be able to encrypt/decrypt TC/TM Frames before sending them to OBS.
712

813
## Prerequisites
914

@@ -12,10 +17,27 @@ You may find it useful as a starting point for your own project.
1217

1318
A copy of Maven is also required, however this gets automatically downloaded an installed by using the `./mvnw` shell script as detailed below.
1419

20+
## Running the integration
21+
22+
1. Run Ground segment
23+
2. Run Yamcs
24+
3. Run OBS script
25+
4. Send TCs through Yamcs Web and track TM updates
26+
27+
## Running Ground segment
28+
29+
Inside _ground_ folder:
30+
31+
docker compose up
32+
33+
If running the project again:
1534

16-
## Running Yamcs
35+
docker compose down -v
36+
docker compose up
1737

18-
Here are some commands to get things started:
38+
## Running Yamcs (same as QuickStart)
39+
40+
Inside root folder:
1941

2042
Compile this project:
2143

@@ -24,41 +46,15 @@ Compile this project:
2446
Start Yamcs on localhost:
2547

2648
./mvnw yamcs:run
27-
28-
Same as yamcs:run, but allows a debugger to attach at port 7896:
29-
30-
./mvnw yamcs:debug
3149

3250
Delete all generated outputs and start over:
3351

3452
./mvnw clean
3553

3654
This will also delete Yamcs data. Change the `dataDir` property in `yamcs.yaml` to another location on your file system if you don't want that.
3755

56+
## Running OBS script
3857

39-
## Telemetry
40-
41-
To start pushing CCSDS packets into Yamcs, run the included Python script:
42-
43-
python simulator.py
44-
45-
This script will send packets at 1 Hz over UDP to Yamcs. There is enough test data to run for a full calendar day.
46-
47-
The packets are a bit artificial and include a mixture of HK and accessory data.
48-
49-
## Other useful generation of simulated data
50-
51-
Generate test images in a Yamcs bucket (image number and image url are available as Yamcs parameters):
52-
53-
python simulator/images/generate_images.py
54-
55-
## Telecommanding
56-
57-
This project defines a few example CCSDS telecommands. They are sent to UDP port 10025. The simulator.py script listens to this port. Commands have no side effects. The script will only count them.
58-
59-
60-
## Bundling
61-
62-
Running through Maven is useful during development, but it is not recommended for production environments. Instead bundle up your Yamcs application in a tar.gz file:
58+
Inside _obs_ folder:
6359

64-
./mvnw package
60+
python3 obs-script.py

obs-cysec.py

Lines changed: 0 additions & 120 deletions
This file was deleted.

tc_service.py

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)