openc3-cosmos-constellation 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +3 -3
- data/microservices/BRIDGE/bridge.py +1 -1
- data/plugin.txt +1 -2
- data/public/store_img.png +0 -0
- data/targets/CONSTELLATION/cmd_tlm/tlm.txt +1 -1
- data/targets/CONSTELLATION/screens/forecast.txt +1 -1
- data/tools/constellationforecast/forecast-view.js +4 -5
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a295284bfb3fef709b6a2438e429c0d4e43a2c1a3aef0eb482a025c275dbb6b5
|
|
4
|
+
data.tar.gz: 3d0b861ca5c87117e7355db5ee44011a1636c890ba0c2d3ed27201642cece1a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 680c94b42c37bb69e36697ccec27f131037ac1220ed939f0aef4cf3f6c8a991b13dc48eed3ae8b929e7faa6228b5a0c63f6a2a1d9d23877eb8aa69f406352688
|
|
7
|
+
data.tar.gz: 33be2ad03c4a468fb997c0319b26e82246cb5f3daa928e93c4b68de8538609666e97850f98102c92591cc3cc72ca06669c22e40894b699a166c1986b42a90091
|
data/Rakefile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Builds openc3-cosmos-constellation-<VERSION>.gem: rake build VERSION=0.8.
|
|
2
|
-
# (or ./openc3.sh cli rake build VERSION=0.8.
|
|
1
|
+
# Builds openc3-cosmos-constellation-<VERSION>.gem: rake build VERSION=0.8.2
|
|
2
|
+
# (or ./openc3.sh cli rake build VERSION=0.8.2 inside a COSMOS checkout).
|
|
3
3
|
PLUGIN_NAME = Dir['*.gemspec'][0].split('.')[0..-2].join('.')
|
|
4
4
|
|
|
5
5
|
# The tool draws the shared Constellation Forecast view, copied in from this repo when it is here.
|
|
@@ -13,7 +13,7 @@ SHARED_RESULTS = '../../clients/python/src/constellation_space/results.py'
|
|
|
13
13
|
SHARED_LICENSE = '../../LICENSE'
|
|
14
14
|
|
|
15
15
|
task :build do
|
|
16
|
-
abort('VERSION is required: rake build VERSION=0.8.
|
|
16
|
+
abort('VERSION is required: rake build VERSION=0.8.2') unless ENV['VERSION']
|
|
17
17
|
FileUtils.cp(SHARED_VIEW, VIEW) if File.exist?(SHARED_VIEW)
|
|
18
18
|
abort("#{VIEW} is missing: copy bridges/shared/forecast-view.js there") unless File.exist?(VIEW)
|
|
19
19
|
if File.exist?(SHARED_RESULTS)
|
|
@@ -38,7 +38,7 @@ from typing import Any
|
|
|
38
38
|
|
|
39
39
|
from constellation_space import results
|
|
40
40
|
|
|
41
|
-
VERSION = "0.8.
|
|
41
|
+
VERSION = "0.8.2"
|
|
42
42
|
TARGET = "CONSTELLATION"
|
|
43
43
|
POLL_S = int(os.environ.get("POLL_SECONDS", "15"))
|
|
44
44
|
# COSMOS shows a packet stale 30 s after its last value: re-inject every poll so a quiet feed
|
data/plugin.txt
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# LANGUAGE python
|
|
2
2
|
# Constellation workflow forecasts in COSMOS: a CONSTELLATION target whose packets the bridge
|
|
3
|
-
# microservice fills from the Constellation feed.
|
|
4
|
-
# measured from a spacecraft or a ground station.
|
|
3
|
+
# microservice fills from the Constellation feed.
|
|
5
4
|
VARIABLE constellation_api_url https://api.constellation.space
|
|
6
5
|
VARIABLE_DESCRIPTION "Constellation API URL. The API key goes in Admin > Secrets as CONSTELLATION_API_KEY"
|
|
7
6
|
VARIABLE consumer cosmos-bridge
|
data/public/store_img.png
CHANGED
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
TELEMETRY CONSTELLATION NEXT_PASS BIG_ENDIAN "Forecast: the next predicted pass
|
|
1
|
+
TELEMETRY CONSTELLATION NEXT_PASS BIG_ENDIAN "Forecast: the next predicted pass"
|
|
2
2
|
ALLOW_SHORT
|
|
3
3
|
APPEND_ITEM SATELLITE 512 STRING "Satellite id"
|
|
4
4
|
APPEND_ITEM ANTENNA 512 STRING "Antenna id"
|
|
@@ -497,15 +497,14 @@ export const VIEWS = {
|
|
|
497
497
|
const STYLE = `
|
|
498
498
|
.cf { --cf-ink: var(--y-foreground-color, #0b0b0b); --cf-muted: var(--y-hint-foreground, #6b6b66); --cf-line: var(--y-border-color, rgba(0,0,0,.1));
|
|
499
499
|
--cf-surface: var(--y-background-color, #fff); --cf-raise: var(--y-detail-pane-background-color, #fafaf9); --cf-series: #2a78d6; --cf-band: rgba(42,120,214,.18);
|
|
500
|
-
--cf-warn: #fab219;
|
|
500
|
+
--cf-warn: #fab219;
|
|
501
501
|
font: 13px/1.45 Roboto, "Helvetica Neue", system-ui, sans-serif; color: var(--cf-ink); background: var(--cf-surface); padding: 20px 24px 48px; position: relative; }
|
|
502
502
|
/* Dark hosts (Open MCT's Espresso, Yamcs's dark theme): the same roles stepped for a dark surface. */
|
|
503
503
|
.cf[data-theme="dark"] { --cf-ink: #e8e8e6; --cf-muted: #a3a29c; --cf-line: rgba(255,255,255,.12); --cf-surface: #1a1a19;
|
|
504
|
-
--cf-raise: #242423; --cf-series: #3987e5; --cf-band: rgba(57,135,229,.28); --cf-warn: #fab219;
|
|
504
|
+
--cf-raise: #242423; --cf-series: #3987e5; --cf-band: rgba(57,135,229,.28); --cf-warn: #fab219; }
|
|
505
505
|
.cf * { box-sizing: border-box; }
|
|
506
506
|
.cf-head { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:4px; }
|
|
507
507
|
.cf-head h2 { font-size:20px; font-weight:500; margin:0; }
|
|
508
|
-
.cf-forecast { font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--cf-warn-ink); border:1px solid var(--cf-warn); border-radius:999px; padding:1px 8px; }
|
|
509
508
|
.cf-meta { color:var(--cf-muted); font-size:12px; }
|
|
510
509
|
.cf-cats { display:flex; gap:2px; border-bottom:1px solid var(--cf-line); margin:16px 0 0; }
|
|
511
510
|
.cf-cats button { background:none; border:none; border-bottom:2px solid transparent; padding:8px 14px; color:var(--cf-muted); cursor:pointer; font:inherit; }
|
|
@@ -637,8 +636,8 @@ export function mountForecast(element, { load, refreshMs = REFRESH_MS, theme = '
|
|
|
637
636
|
const side = blocks.includes('ledger') ? VIEWS.ledger(run, items, selected) : '';
|
|
638
637
|
body = `<p class="cf-meta">${esc(TITLES[run.kind] ?? run.kind)} · workflow ${esc(run.workflow)} v${esc(run.workflow_version)} · run ${esc(run.run_id)} · delivered ${ago(run.delivered_at)}</p>${flows}<div class="cf-grid2"><div>${main}</div><div>${side}</div></div>`;
|
|
639
638
|
}
|
|
640
|
-
root.innerHTML = `<div class="cf-head"><h2>Constellation Forecast</h2
|
|
641
|
-
<p class="cf-meta">
|
|
639
|
+
root.innerHTML = `<div class="cf-head"><h2>Constellation Forecast</h2></div>
|
|
640
|
+
<p class="cf-meta">Predictions from Constellation workflows.</p>
|
|
642
641
|
${error === 'restarting' ? '<p class="cf-note">Waiting for the host to come back; this refreshes on its own.</p>' : error ? `<div class="cf-error">Could not read the forecasts: ${esc(error)}</div>` : ''}
|
|
643
642
|
${workflows.length ? `<div class="cf-cats" role="tablist">${cats}</div>` : ''}${body}`;
|
|
644
643
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openc3-cosmos-constellation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Constellation Space Corp
|
|
@@ -14,8 +14,7 @@ description: 'A CONSTELLATION target whose packets a bridge microservice fills f
|
|
|
14
14
|
the Constellation feed: the next predicted pass, the next 24 hours, the soonest
|
|
15
15
|
rain-fade swap to decide, a day''s capacity across the antennas (CAPACITY), the
|
|
16
16
|
next pass''s MODCOD plan (MODCOD), and the run they came from. A Telemetry Viewer
|
|
17
|
-
screen shows them all, and a Constellation Forecast tool charts each workflow.
|
|
18
|
-
value is a forecast.'
|
|
17
|
+
screen shows them all, and a Constellation Forecast tool charts each workflow.'
|
|
19
18
|
email:
|
|
20
19
|
- support@constellation.space
|
|
21
20
|
executables: []
|