space-data-module-sdk 0.8.15 → 0.8.16
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.
- package/docs/_shell/consumer-assets.html +5 -0
- package/docs/browser-wasmedge-isomorphic.html +261 -0
- package/docs/byo-wasm-quickstart.html +226 -0
- package/docs/byo-wasm-quickstart.md +204 -0
- package/docs/conformance.html +156 -0
- package/docs/emception-shared-memory-verdict.md +209 -0
- package/docs/events-abi.html +313 -0
- package/docs/events-abi.md +530 -0
- package/docs/families/analytics.html +178 -0
- package/docs/families/analytics.md +104 -0
- package/docs/families/attitude.html +157 -0
- package/docs/families/attitude.md +36 -0
- package/docs/families/behavior.html +157 -0
- package/docs/families/behavior.md +36 -0
- package/docs/families/breakup.html +157 -0
- package/docs/families/breakup.md +36 -0
- package/docs/families/conjunction.html +186 -0
- package/docs/families/conjunction.md +121 -0
- package/docs/families/data-source.html +318 -0
- package/docs/families/effects.html +157 -0
- package/docs/families/effects.md +36 -0
- package/docs/families/environment.html +170 -0
- package/docs/families/environment.md +73 -0
- package/docs/families/estimation.html +190 -0
- package/docs/families/estimation.md +128 -0
- package/docs/families/gnc.html +157 -0
- package/docs/families/gnc.md +36 -0
- package/docs/families/maneuver.html +209 -0
- package/docs/families/maneuver.md +206 -0
- package/docs/families/obstruction.html +191 -0
- package/docs/families/obstruction.md +96 -0
- package/docs/families/propagator.html +333 -0
- package/docs/families/propulsion.html +157 -0
- package/docs/families/propulsion.md +36 -0
- package/docs/families/reentry.html +157 -0
- package/docs/families/reentry.md +36 -0
- package/docs/families/rf.html +193 -0
- package/docs/families/rf.md +136 -0
- package/docs/families/scheduler.html +157 -0
- package/docs/families/scheduler.md +36 -0
- package/docs/families/sensor.html +157 -0
- package/docs/families/sensor.md +36 -0
- package/docs/families/signature.html +157 -0
- package/docs/families/signature.md +36 -0
- package/docs/flatsql-host-contract.html +176 -0
- package/docs/flatsql-streaming-standard.html +375 -0
- package/docs/gpu-module-abi.html +233 -0
- package/docs/harness-family-matrix.md +135 -0
- package/docs/index.html +216 -85
- package/docs/isomorphic-pthreads.html +228 -0
- package/docs/isomorphic-pthreads.md +84 -0
- package/docs/isomorphic-sdn-runtime-plan.html +274 -0
- package/docs/language-runtime-matrix.html +182 -0
- package/docs/llms.txt +86 -0
- package/docs/module-bundle-runtime-plan.html +146 -0
- package/docs/module-publication-standard.html +503 -0
- package/docs/node-red-default-node-parity.html +201 -0
- package/docs/propagator-abi.md +45 -12
- package/docs/protect-and-sign.html +181 -0
- package/docs/protect-and-sign.md +120 -0
- package/docs/protocol-installation.html +296 -0
- package/docs/publication-submission.html +158 -0
- package/docs/publication-submission.md +78 -0
- package/docs/secrets-capability.html +206 -0
- package/docs/styles.css +860 -167
- package/docs/testing-harness.html +408 -0
- package/docs/tri-runtime-parity-gate.html +182 -0
- package/docs/tri-runtime-parity.html +203 -0
- package/include/orbpro/orbpro_event_runner.h +951 -0
- package/include/orbpro/orbpro_events_abi.h +565 -0
- package/include/orbpro/orbpro_propagator_abi.h +17 -0
- package/package.json +11 -4
- package/schemas/orbpro/Events.fbs +501 -0
- package/schemas/orbpro/Propagator.fbs +72 -9
- package/schemas/orbpro/reference-frame-crosswalk.json +108 -0
- package/schemas/orbpro/reference-frame.lock.json +98 -0
- package/src/browser.js +13 -0
- package/src/generated/orbpro/events-abi.js +206 -0
- package/src/generated/orbpro/events-abi.ts +319 -0
- package/src/generated/orbpro/propagator/reference-frame.js +17 -0
- package/src/generated/orbpro/propagator/reference-frame.ts +91 -1
- package/src/generated/orbpro/propagator-abi.js +17 -0
- package/src/generated/orbpro/propagator-abi.ts +17 -0
- package/src/generated/spacedatastandards/plg/CCT.d.ts +94 -0
- package/src/generated/spacedatastandards/plg/CCT.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/CCT.js +208 -0
- package/src/generated/spacedatastandards/plg/CCT.ts +281 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.d.ts +98 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.js +177 -0
- package/src/generated/spacedatastandards/plg/CCTCategory.ts +269 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.d.ts +54 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.js +106 -0
- package/src/generated/spacedatastandards/plg/CCTCategoryRollup.ts +144 -0
- package/src/generated/spacedatastandards/plg/PLG.d.ts +46 -2
- package/src/generated/spacedatastandards/plg/PLG.d.ts.map +1 -1
- package/src/generated/spacedatastandards/plg/PLG.js +78 -5
- package/src/generated/spacedatastandards/plg/PLG.ts +90 -5
- package/src/generated/spacedatastandards/plg/capabilityClass.d.ts +181 -0
- package/src/generated/spacedatastandards/plg/capabilityClass.d.ts.map +1 -0
- package/src/generated/spacedatastandards/plg/capabilityClass.js +183 -0
- package/src/generated/spacedatastandards/plg/capabilityClass.ts +208 -0
- package/src/generated/spacedatastandards/plg/main.d.ts +4 -0
- package/src/generated/spacedatastandards/plg/main.d.ts.map +1 -1
- package/src/generated/spacedatastandards/plg/main.js +4 -0
- package/src/generated/spacedatastandards/plg/main.ts +4 -0
- package/src/generated/spacedatastandards/plg/pluginCategory.d.ts +40 -2
- package/src/generated/spacedatastandards/plg/pluginCategory.d.ts.map +1 -1
- package/src/generated/spacedatastandards/plg/pluginCategory.js +40 -2
- package/src/generated/spacedatastandards/plg/pluginCategory.ts +40 -2
- package/src/host/browserModuleHarness.js +8 -0
- package/src/host/wasiThreadHost.js +189 -14
- package/src/index.d.ts +18 -1
- package/src/transport/index.js +16 -0
- package/src/transport/records.js +1015 -3
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"note": "Every ReferenceFrame-shaped vocabulary that crosses a seam with the orbpro.propagator ABI enum, and how each of its members maps ONTO that enum BY NAMED TOKEN. Numeric identity is never asserted across repositories: ECI==0, TEME==0 and FIXED==0 all collide, and ECEF is 1 in orbpro.plugins but 3 in the ABI. scripts/check-reference-frame-uniqueness.mjs holds this file and schemas/orbpro/Propagator.fbs to each other, and re-reads any listed source that is present on disk.",
|
|
3
|
+
"authority": "schemas/orbpro/Propagator.fbs :: enum ReferenceFrame",
|
|
4
|
+
"vocabularies": [
|
|
5
|
+
{
|
|
6
|
+
"id": "orbpro.plugins",
|
|
7
|
+
"description": "PropagatorState.fbs / \"PRST\" \u2014 the wire the compiled sgp4, hpop, conjunction-assessment and sensor-shader modules already emit. Its values are FROZEN by artifacts in the field; collapsing it into the ABI enum is a wire break, tracked as sdk-reference-frame-enum-unification.",
|
|
8
|
+
"repo": "space-data-network-modules",
|
|
9
|
+
"source": "propagator/sgp4/schemas/PropagatorState.fbs",
|
|
10
|
+
"members": {
|
|
11
|
+
"ECI": "ICRF",
|
|
12
|
+
"ECEF": "ECEF",
|
|
13
|
+
"TEME": "TEME",
|
|
14
|
+
"ICRF": "ICRF"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "orbpro.engine",
|
|
19
|
+
"description": "The OrbPro engine's ReferenceFrame.js. NINE members, not the two this SDK's comment block claimed until 2026-08-30. FIXED/INERTIAL are INVERTED against the ABI's 0/1 \u2014 a live semantic difference, not a numbering accident \u2014 and reconciling that is sdk-reference-frame-enum-unification's job, not this crosswalk's. The four local orbital triads collapse onto OBJECT_REFERENCED with an axes spec.",
|
|
20
|
+
"repo": "OrbPro",
|
|
21
|
+
"source": "packages/engine/Source/Core/ReferenceFrame.js",
|
|
22
|
+
"members": {
|
|
23
|
+
"FIXED": "ECEF",
|
|
24
|
+
"INERTIAL": "ICRF",
|
|
25
|
+
"TEME": "TEME",
|
|
26
|
+
"VVLH": "OBJECT_REFERENCED",
|
|
27
|
+
"ENU": "TOPOCENTRIC",
|
|
28
|
+
"NED": "TOPOCENTRIC",
|
|
29
|
+
"NEU": "TOPOCENTRIC",
|
|
30
|
+
"RIC": "OBJECT_REFERENCED",
|
|
31
|
+
"LVLH": "OBJECT_REFERENCED"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "orbpro.conjunction",
|
|
36
|
+
"description": "ConjunctionCommon.fbs, carried by the conjunction module.",
|
|
37
|
+
"repo": "space-data-network-modules",
|
|
38
|
+
"source": "analysis/conjunction-assessment/schemas/ConjunctionCommon.fbs",
|
|
39
|
+
"members": {
|
|
40
|
+
"UNKNOWN": null,
|
|
41
|
+
"ECI": "ICRF",
|
|
42
|
+
"ECEF": "ECEF",
|
|
43
|
+
"TEME": "TEME",
|
|
44
|
+
"ICRF": "ICRF"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "modules.foundation.frames",
|
|
49
|
+
"description": "foundation/frames AxisType, mirroring SDS rfmAxisType. It is an ORIENTATION RULE roster and carries no origin, so it is not a ReferenceFrame; the mapping below is the axis half only, and a consumer still needs the RFMOrigin to have a coordinate system.",
|
|
50
|
+
"repo": "space-data-network-modules",
|
|
51
|
+
"source": "foundation/frames/src/axis_engine.hpp",
|
|
52
|
+
"members": {
|
|
53
|
+
"UNSPECIFIED": null,
|
|
54
|
+
"MJ2000EQ": "J2000",
|
|
55
|
+
"MJ2000EC": "MJ2000EC",
|
|
56
|
+
"ICRF": "ICRF",
|
|
57
|
+
"TEME": "TEME",
|
|
58
|
+
"MOD": "MOD",
|
|
59
|
+
"TOD": "TOD",
|
|
60
|
+
"MOE": "MOE",
|
|
61
|
+
"TOE": "TOE",
|
|
62
|
+
"BODY_FIXED": "BODY_FIXED",
|
|
63
|
+
"BODY_INERTIAL": "BODY_INERTIAL",
|
|
64
|
+
"OBJECT_REFERENCED": "OBJECT_REFERENCED",
|
|
65
|
+
"LOCAL_ALIGNED_CONSTRAINED": "LOCAL_ALIGNED_CONSTRAINED",
|
|
66
|
+
"EQUATOR": "EQUATOR",
|
|
67
|
+
"GSE": "GSE",
|
|
68
|
+
"GSM": "GSM",
|
|
69
|
+
"TOPOCENTRIC": "TOPOCENTRIC",
|
|
70
|
+
"BODY_SPIN_SUN": "BODY_SPIN_SUN",
|
|
71
|
+
"SPICE_DEFINED": "SPICE_DEFINED",
|
|
72
|
+
"MOD_FK5": "MOD_FK5",
|
|
73
|
+
"TOD_FK5": "TOD_FK5",
|
|
74
|
+
"ITRF": "ECEF"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "modules.hpop.coords",
|
|
79
|
+
"description": "The HPOP propagator's internal chain vocabulary.",
|
|
80
|
+
"repo": "space-data-network-modules",
|
|
81
|
+
"source": "propagator/hpop/lib/coords_types.h",
|
|
82
|
+
"members": {
|
|
83
|
+
"TEME": "TEME",
|
|
84
|
+
"GCRF": "ICRF",
|
|
85
|
+
"ITRF": "ECEF",
|
|
86
|
+
"J2000": "J2000",
|
|
87
|
+
"ECEF": "ECEF",
|
|
88
|
+
"TOD": "TOD",
|
|
89
|
+
"MOD": "MOD"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"rtnConvention": {
|
|
94
|
+
"abiMember": "OBJECT_REFERENCED",
|
|
95
|
+
"note": "The three live RTN triads collapse to ONE ABI member plus an axes spec. RIC, RSW and RTN name the SAME triad (x radial, z orbit normal, y completing); LVLH and VVLH are relabellings of it produced by naming a different primary. None of them is a separate ReferenceFrame, and adding a second RTN-named ABI member is a defect this check refuses.",
|
|
96
|
+
"aliases": [
|
|
97
|
+
"RIC",
|
|
98
|
+
"RSW",
|
|
99
|
+
"RTN",
|
|
100
|
+
"LVLH",
|
|
101
|
+
"VVLH",
|
|
102
|
+
"QSW",
|
|
103
|
+
"NTW",
|
|
104
|
+
"TNW",
|
|
105
|
+
"UVW"
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"note": "The committed numbering of the ONE ReferenceFrame enum that crosses the ABI seam. scripts/check-reference-frame-uniqueness.mjs holds schemas/orbpro/Propagator.fbs to this file: values 0-5 are FROZEN and no member may ever be renamed, renumbered or removed. Appending a member means appending a row here in the same commit.",
|
|
3
|
+
"frozenThrough": 5,
|
|
4
|
+
"members": [
|
|
5
|
+
{
|
|
6
|
+
"name": "TEME",
|
|
7
|
+
"value": 0
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "J2000",
|
|
11
|
+
"value": 1
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "ICRF",
|
|
15
|
+
"value": 2
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "ECEF",
|
|
19
|
+
"value": 3
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "MCI",
|
|
23
|
+
"value": 4
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "MCMF",
|
|
27
|
+
"value": 5
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "MJ2000EC",
|
|
31
|
+
"value": 6
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "MOD",
|
|
35
|
+
"value": 7
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "TOD",
|
|
39
|
+
"value": 8
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "MOE",
|
|
43
|
+
"value": 9
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "TOE",
|
|
47
|
+
"value": 10
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "BODY_FIXED",
|
|
51
|
+
"value": 11
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "BODY_INERTIAL",
|
|
55
|
+
"value": 12
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "OBJECT_REFERENCED",
|
|
59
|
+
"value": 13
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "LOCAL_ALIGNED_CONSTRAINED",
|
|
63
|
+
"value": 14
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "EQUATOR",
|
|
67
|
+
"value": 15
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "GSE",
|
|
71
|
+
"value": 16
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "GSM",
|
|
75
|
+
"value": 17
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "TOPOCENTRIC",
|
|
79
|
+
"value": 18
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "BODY_SPIN_SUN",
|
|
83
|
+
"value": 19
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "SPICE_DEFINED",
|
|
87
|
+
"value": 20
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "MOD_FK5",
|
|
91
|
+
"value": 21
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "TOD_FK5",
|
|
95
|
+
"value": 22
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
package/src/browser.js
CHANGED
|
@@ -29,6 +29,19 @@ export {
|
|
|
29
29
|
zeroWasmBytes,
|
|
30
30
|
isSharedArrayBufferLike,
|
|
31
31
|
} from "./host/browserModuleHarness.js";
|
|
32
|
+
// The wasi-threads BROWSER WORKER ANCHOR. A bundling consumer MUST tell the SDK
|
|
33
|
+
// where its build serves the host worker chain from — `import.meta.url` inside a
|
|
34
|
+
// bundle points at the bundle, not at the package layout, and the worker 404s
|
|
35
|
+
// (fail-loud: WasiThreadWorkerUnreachableError). Either call
|
|
36
|
+
// `setBrowserWasiThreadWorkerBase(...)` once in the host shim, or pass
|
|
37
|
+
// `wasiThreadWorkerBaseUrl` to `createBrowserModuleHarness`.
|
|
38
|
+
export {
|
|
39
|
+
setBrowserWasiThreadWorkerBase,
|
|
40
|
+
getBrowserWasiThreadWorkerBase,
|
|
41
|
+
resolveBrowserWorkerUrl,
|
|
42
|
+
DEFAULT_BROWSER_WORKER_URL,
|
|
43
|
+
WasiThreadWorkerUnreachableError,
|
|
44
|
+
} from "./host/wasiThreadHost.js";
|
|
32
45
|
// The runtime-target gate is reachable so a consumer can catch the refusal by
|
|
33
46
|
// CLASS (`error instanceof RuntimeTargetError`) rather than by matching a
|
|
34
47
|
// message string, and can ask the same question the loaders ask before it
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
// ===========================================================================
|
|
2
|
+
// GENERATED FILE — DO NOT EDIT.
|
|
3
|
+
//
|
|
4
|
+
// Source of truth : schemas/orbpro/Events.fbs
|
|
5
|
+
// Generator : scripts/generate-events-abi.mjs
|
|
6
|
+
// Drift gate : scripts/check-events-abi.mjs (runs in `npm test`)
|
|
7
|
+
// Contract : docs/events-abi.md
|
|
8
|
+
//
|
|
9
|
+
// These constants exist so that no JavaScript consumer ever hard-codes a byte
|
|
10
|
+
// offset again. Read a state vector with ORBPRO_STATE_VECTOR.offsets.position,
|
|
11
|
+
// never with the literal 8.
|
|
12
|
+
// ===========================================================================
|
|
13
|
+
|
|
14
|
+
export { ReferenceFrame } from "./propagator-abi.js";
|
|
15
|
+
|
|
16
|
+
export const RootMethod = Object.freeze({
|
|
17
|
+
BRENT: 0,
|
|
18
|
+
BISECTION: 1,
|
|
19
|
+
ILLINOIS: 2,
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export const CrossingDirection = Object.freeze({
|
|
23
|
+
FALLING: -1,
|
|
24
|
+
ANY: 0,
|
|
25
|
+
RISING: 1,
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export const RootStatus = Object.freeze({
|
|
29
|
+
CONVERGED: 0,
|
|
30
|
+
MAX_ITERATIONS: 1,
|
|
31
|
+
FLAT_BRACKET: 2,
|
|
32
|
+
DISCONTINUOUS: 3,
|
|
33
|
+
TRUNCATED: 4,
|
|
34
|
+
EPOCH_RESOLUTION_LIMITED: 5,
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export const Sign = Object.freeze({
|
|
38
|
+
NEGATIVE: -1,
|
|
39
|
+
ZERO: 0,
|
|
40
|
+
POSITIVE: 1,
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export const EventFlags = Object.freeze({
|
|
44
|
+
NONE: 0,
|
|
45
|
+
INTERVAL_OPEN_AT_START: 1,
|
|
46
|
+
INTERVAL_OPEN_AT_END: 2,
|
|
47
|
+
TANGENTIAL: 4,
|
|
48
|
+
ON_SCAN_BOUNDARY: 8,
|
|
49
|
+
BACKWARD: 16,
|
|
50
|
+
STOP_CONDITION: 32,
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export const EventError = Object.freeze({
|
|
54
|
+
INTERNAL: -25,
|
|
55
|
+
SUPPLY_COUNT_MISMATCH: -24,
|
|
56
|
+
PROTOCOL_ORDER: -23,
|
|
57
|
+
BUFFER_TOO_SMALL: -22,
|
|
58
|
+
UNKNOWN_COMPONENT: -21,
|
|
59
|
+
NOT_STARTED: -20,
|
|
60
|
+
UNPHYSICAL: -6,
|
|
61
|
+
NOT_CONVERGED: -5,
|
|
62
|
+
BAD_INPUT: -4,
|
|
63
|
+
NULL_OUTPUT: -3,
|
|
64
|
+
BAD_OBJECT_INDEX: -2,
|
|
65
|
+
NOT_CONFIGURED: -1,
|
|
66
|
+
OK: 0,
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export const ComponentContinuity = Object.freeze({
|
|
70
|
+
SMOOTH: 0,
|
|
71
|
+
PIECEWISE: 1,
|
|
72
|
+
DISCRETE: 2,
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
export const ORBPRO_ROOT_POLICY = Object.freeze({
|
|
76
|
+
name: "RootPolicy",
|
|
77
|
+
cName: "OrbProRootPolicy",
|
|
78
|
+
size: 32,
|
|
79
|
+
alignment: 8,
|
|
80
|
+
offsets: Object.freeze({
|
|
81
|
+
scan_step_seconds: 0,
|
|
82
|
+
epoch_tolerance_seconds: 8,
|
|
83
|
+
value_tolerance: 16,
|
|
84
|
+
max_iterations: 24,
|
|
85
|
+
method: 28,
|
|
86
|
+
}),
|
|
87
|
+
fields: Object.freeze({
|
|
88
|
+
scan_step_seconds: Object.freeze({ offset: 0, size: 8, length: 1, view: "Float64" }),
|
|
89
|
+
epoch_tolerance_seconds: Object.freeze({ offset: 8, size: 8, length: 1, view: "Float64" }),
|
|
90
|
+
value_tolerance: Object.freeze({ offset: 16, size: 8, length: 1, view: "Float64" }),
|
|
91
|
+
max_iterations: Object.freeze({ offset: 24, size: 4, length: 1, view: "Uint32" }),
|
|
92
|
+
method: Object.freeze({ offset: 28, size: 1, length: 1, view: "Uint8" }),
|
|
93
|
+
}),
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export const ORBPRO_EVENT_INTERVAL = Object.freeze({
|
|
97
|
+
name: "EventInterval",
|
|
98
|
+
cName: "OrbProEventInterval",
|
|
99
|
+
size: 56,
|
|
100
|
+
alignment: 8,
|
|
101
|
+
offsets: Object.freeze({
|
|
102
|
+
start_jd_day: 0,
|
|
103
|
+
start_seconds: 8,
|
|
104
|
+
stop_jd_day: 16,
|
|
105
|
+
stop_seconds: 24,
|
|
106
|
+
max_events: 32,
|
|
107
|
+
max_evaluations: 36,
|
|
108
|
+
occurrence: 40,
|
|
109
|
+
component: 44,
|
|
110
|
+
flags: 48,
|
|
111
|
+
direction: 52,
|
|
112
|
+
}),
|
|
113
|
+
fields: Object.freeze({
|
|
114
|
+
start_jd_day: Object.freeze({ offset: 0, size: 8, length: 1, view: "Float64" }),
|
|
115
|
+
start_seconds: Object.freeze({ offset: 8, size: 8, length: 1, view: "Float64" }),
|
|
116
|
+
stop_jd_day: Object.freeze({ offset: 16, size: 8, length: 1, view: "Float64" }),
|
|
117
|
+
stop_seconds: Object.freeze({ offset: 24, size: 8, length: 1, view: "Float64" }),
|
|
118
|
+
max_events: Object.freeze({ offset: 32, size: 4, length: 1, view: "Uint32" }),
|
|
119
|
+
max_evaluations: Object.freeze({ offset: 36, size: 4, length: 1, view: "Uint32" }),
|
|
120
|
+
occurrence: Object.freeze({ offset: 40, size: 4, length: 1, view: "Uint32" }),
|
|
121
|
+
component: Object.freeze({ offset: 44, size: 4, length: 1, view: "Uint32" }),
|
|
122
|
+
flags: Object.freeze({ offset: 48, size: 4, length: 1, view: "Uint32" }),
|
|
123
|
+
direction: Object.freeze({ offset: 52, size: 1, length: 1, view: "Int8" }),
|
|
124
|
+
}),
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
export const ORBPRO_EVENT_HIT = Object.freeze({
|
|
128
|
+
name: "EventHit",
|
|
129
|
+
cName: "OrbProEventHit",
|
|
130
|
+
size: 48,
|
|
131
|
+
alignment: 8,
|
|
132
|
+
offsets: Object.freeze({
|
|
133
|
+
epoch_jd_day: 0,
|
|
134
|
+
epoch_seconds: 8,
|
|
135
|
+
value: 16,
|
|
136
|
+
component: 24,
|
|
137
|
+
iterations: 28,
|
|
138
|
+
evaluations: 32,
|
|
139
|
+
flags: 36,
|
|
140
|
+
direction: 40,
|
|
141
|
+
status: 41,
|
|
142
|
+
}),
|
|
143
|
+
fields: Object.freeze({
|
|
144
|
+
epoch_jd_day: Object.freeze({ offset: 0, size: 8, length: 1, view: "Float64" }),
|
|
145
|
+
epoch_seconds: Object.freeze({ offset: 8, size: 8, length: 1, view: "Float64" }),
|
|
146
|
+
value: Object.freeze({ offset: 16, size: 8, length: 1, view: "Float64" }),
|
|
147
|
+
component: Object.freeze({ offset: 24, size: 4, length: 1, view: "Uint32" }),
|
|
148
|
+
iterations: Object.freeze({ offset: 28, size: 4, length: 1, view: "Uint32" }),
|
|
149
|
+
evaluations: Object.freeze({ offset: 32, size: 4, length: 1, view: "Uint32" }),
|
|
150
|
+
flags: Object.freeze({ offset: 36, size: 4, length: 1, view: "Uint32" }),
|
|
151
|
+
direction: Object.freeze({ offset: 40, size: 1, length: 1, view: "Int8" }),
|
|
152
|
+
status: Object.freeze({ offset: 41, size: 1, length: 1, view: "Uint8" }),
|
|
153
|
+
}),
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
export const ORBPRO_EVENT_SCAN_SUMMARY = Object.freeze({
|
|
157
|
+
name: "EventScanSummary",
|
|
158
|
+
cName: "OrbProEventScanSummary",
|
|
159
|
+
size: 32,
|
|
160
|
+
alignment: 8,
|
|
161
|
+
offsets: Object.freeze({
|
|
162
|
+
initial_value: 0,
|
|
163
|
+
final_value: 8,
|
|
164
|
+
component: 16,
|
|
165
|
+
crossing_count: 20,
|
|
166
|
+
evaluation_count: 24,
|
|
167
|
+
initial_sign: 28,
|
|
168
|
+
final_sign: 29,
|
|
169
|
+
}),
|
|
170
|
+
fields: Object.freeze({
|
|
171
|
+
initial_value: Object.freeze({ offset: 0, size: 8, length: 1, view: "Float64" }),
|
|
172
|
+
final_value: Object.freeze({ offset: 8, size: 8, length: 1, view: "Float64" }),
|
|
173
|
+
component: Object.freeze({ offset: 16, size: 4, length: 1, view: "Uint32" }),
|
|
174
|
+
crossing_count: Object.freeze({ offset: 20, size: 4, length: 1, view: "Uint32" }),
|
|
175
|
+
evaluation_count: Object.freeze({ offset: 24, size: 4, length: 1, view: "Uint32" }),
|
|
176
|
+
initial_sign: Object.freeze({ offset: 28, size: 1, length: 1, view: "Int8" }),
|
|
177
|
+
final_sign: Object.freeze({ offset: 29, size: 1, length: 1, view: "Int8" }),
|
|
178
|
+
}),
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
export const ORBPRO_EVENT_STATE_REQUEST = Object.freeze({
|
|
182
|
+
name: "EventStateRequest",
|
|
183
|
+
cName: "OrbProEventStateRequest",
|
|
184
|
+
size: 16,
|
|
185
|
+
alignment: 4,
|
|
186
|
+
offsets: Object.freeze({
|
|
187
|
+
epoch_count: 0,
|
|
188
|
+
object_count: 4,
|
|
189
|
+
reference_frame: 8,
|
|
190
|
+
flags: 12,
|
|
191
|
+
}),
|
|
192
|
+
fields: Object.freeze({
|
|
193
|
+
epoch_count: Object.freeze({ offset: 0, size: 4, length: 1, view: "Uint32" }),
|
|
194
|
+
object_count: Object.freeze({ offset: 4, size: 4, length: 1, view: "Uint32" }),
|
|
195
|
+
reference_frame: Object.freeze({ offset: 8, size: 1, length: 1, view: "Uint8" }),
|
|
196
|
+
flags: Object.freeze({ offset: 12, size: 4, length: 1, view: "Uint32" }),
|
|
197
|
+
}),
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
export const ORBPRO_EVENTS_ABI = Object.freeze({
|
|
201
|
+
RootPolicy: ORBPRO_ROOT_POLICY,
|
|
202
|
+
EventInterval: ORBPRO_EVENT_INTERVAL,
|
|
203
|
+
EventHit: ORBPRO_EVENT_HIT,
|
|
204
|
+
EventScanSummary: ORBPRO_EVENT_SCAN_SUMMARY,
|
|
205
|
+
EventStateRequest: ORBPRO_EVENT_STATE_REQUEST,
|
|
206
|
+
});
|