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:
Denis Groshev committed 2026-11-17 16:28:04 +01:00
1 parent 9ed6f11c58
commit 14814b4dab
7 files changed
+185 -4

No files matched your search

+11 -2
View File
@@ -415,6 +415,7 @@ export function createTiangongArticulation() {
dish = null;
override = null;
wingManual.clear();
armManual.clear();
}
/**
@@ -437,8 +438,16 @@ export function createTiangongArticulation() {
* @param {'cmm'|'emm'} [key]
*/
function resumeArm(key) {
if (key) armManual.delete(key);
else armManual.clear();
for (const arm of key ? [key] : [...armManual]) {
if (!armManual.delete(arm)) continue;
// Joints the sway does not move would keep their manual angle: they go
// back to the folded pose. The swaying ones are posed again next update.
for (const joint of TIANGONG_ARMS[arm] ?? []) {
if (joint.sway || joint.centre) continue;
const node = boundModel?.getNode(joint.node);
if (node) node.matrix = undefined;
}
}
}
/**