mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-21 02:32:18 +00:00
Stations: Resume restores held arm joints, telemetry 404 is unavailable, the panel publishes once a second
- Resume (and Automatic) give the arm joints the sway does not move their filed or folded pose back, on both stations; a node given no matrix leaves the item's nodes, as a model node returns to its authored pose. Tiangong's reset also forgets the hand-posed arms. - A telemetry route that never answers (a 404, an HTML fallback) reads as unavailable instead of connecting forever. - The STATION section takes the pose age in whole seconds, so live telemetry no longer republishes it every frame. - Tests: the telemetry states, the ISS Automatic handing telemetry back, Resume on both stations.
This commit is contained in:
1 parent
9ed6f11c58
commit
14814b4dab
7 files changed
+185
-4
No files matched your search
@@ -88,6 +88,17 @@ export function createStationPanel({
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The telemetry status with its ages in whole seconds: the section words
|
||||
* them so, and an age in ms would make every frame a change.
|
||||
*/
|
||||
function wholeSeconds(status) {
|
||||
if (!status) return status;
|
||||
const second = (ms) =>
|
||||
Number.isFinite(ms) ? Math.floor(ms / 1000) * 1000 : ms;
|
||||
return { ...status, poseAgeMs: second(status.poseAgeMs) };
|
||||
}
|
||||
|
||||
function _publish() {
|
||||
const station = current;
|
||||
if (!station) {
|
||||
@@ -109,7 +120,7 @@ export function createStationPanel({
|
||||
title: station.title,
|
||||
subject: station.subjectName(),
|
||||
mode,
|
||||
telemetry: station.telemetry(),
|
||||
telemetry: wholeSeconds(station.telemetry()),
|
||||
sunlit: mode === 'manual' ? null : (articulation?.isSunlit?.() ?? null),
|
||||
note:
|
||||
(articulation?.isLive?.() ? station.notes?.live : null) ??
|
||||
|
||||
Reference in new issue
Block a user