@neilberkman/sidereon 0.19.0 → 0.20.0
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/package.json +1 -1
- package/pkg/sidereon.d.ts +1817 -1653
- package/pkg/sidereon.js +387 -0
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1680 -1656
- package/pkg-node/sidereon.d.ts +140 -0
- package/pkg-node/sidereon.js +400 -0
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1680 -1656
package/pkg/sidereon.js
CHANGED
|
@@ -5042,6 +5042,104 @@ export class FrameStates {
|
|
|
5042
5042
|
}
|
|
5043
5043
|
if (Symbol.dispose) FrameStates.prototype[Symbol.dispose] = FrameStates.prototype.free;
|
|
5044
5044
|
|
|
5045
|
+
/**
|
|
5046
|
+
* Recorded fusion forward-pass history accepted by `smoothFusionRts`.
|
|
5047
|
+
*/
|
|
5048
|
+
export class FusionRtsHistory {
|
|
5049
|
+
static __wrap(ptr) {
|
|
5050
|
+
const obj = Object.create(FusionRtsHistory.prototype);
|
|
5051
|
+
obj.__wbg_ptr = ptr;
|
|
5052
|
+
FusionRtsHistoryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
5053
|
+
return obj;
|
|
5054
|
+
}
|
|
5055
|
+
__destroy_into_raw() {
|
|
5056
|
+
const ptr = this.__wbg_ptr;
|
|
5057
|
+
this.__wbg_ptr = 0;
|
|
5058
|
+
FusionRtsHistoryFinalization.unregister(this);
|
|
5059
|
+
return ptr;
|
|
5060
|
+
}
|
|
5061
|
+
free() {
|
|
5062
|
+
const ptr = this.__destroy_into_raw();
|
|
5063
|
+
wasm.__wbg_fusionrtshistory_free(ptr, 0);
|
|
5064
|
+
}
|
|
5065
|
+
/**
|
|
5066
|
+
* Number of recorded epochs.
|
|
5067
|
+
* @returns {number}
|
|
5068
|
+
*/
|
|
5069
|
+
get epochCount() {
|
|
5070
|
+
const ret = wasm.fusionrtshistory_epochCount(this.__wbg_ptr);
|
|
5071
|
+
return ret >>> 0;
|
|
5072
|
+
}
|
|
5073
|
+
/**
|
|
5074
|
+
* Recorded epochs in forward time order.
|
|
5075
|
+
* @returns {any}
|
|
5076
|
+
*/
|
|
5077
|
+
get epochs() {
|
|
5078
|
+
const ret = wasm.fusionrtshistory_epochs(this.__wbg_ptr);
|
|
5079
|
+
if (ret[2]) {
|
|
5080
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
5081
|
+
}
|
|
5082
|
+
return takeFromExternrefTable0(ret[0]);
|
|
5083
|
+
}
|
|
5084
|
+
}
|
|
5085
|
+
if (Symbol.dispose) FusionRtsHistory.prototype[Symbol.dispose] = FusionRtsHistory.prototype.free;
|
|
5086
|
+
|
|
5087
|
+
/**
|
|
5088
|
+
* Builder for recording a fusion forward pass before RTS smoothing.
|
|
5089
|
+
*/
|
|
5090
|
+
export class FusionRtsHistoryBuilder {
|
|
5091
|
+
static __wrap(ptr) {
|
|
5092
|
+
const obj = Object.create(FusionRtsHistoryBuilder.prototype);
|
|
5093
|
+
obj.__wbg_ptr = ptr;
|
|
5094
|
+
FusionRtsHistoryBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
5095
|
+
return obj;
|
|
5096
|
+
}
|
|
5097
|
+
__destroy_into_raw() {
|
|
5098
|
+
const ptr = this.__wbg_ptr;
|
|
5099
|
+
this.__wbg_ptr = 0;
|
|
5100
|
+
FusionRtsHistoryBuilderFinalization.unregister(this);
|
|
5101
|
+
return ptr;
|
|
5102
|
+
}
|
|
5103
|
+
free() {
|
|
5104
|
+
const ptr = this.__destroy_into_raw();
|
|
5105
|
+
wasm.__wbg_fusionrtshistorybuilder_free(ptr, 0);
|
|
5106
|
+
}
|
|
5107
|
+
/**
|
|
5108
|
+
* Return a validated recorded history.
|
|
5109
|
+
* @returns {FusionRtsHistory}
|
|
5110
|
+
*/
|
|
5111
|
+
finish() {
|
|
5112
|
+
const ret = wasm.fusionrtshistorybuilder_finish(this.__wbg_ptr);
|
|
5113
|
+
if (ret[2]) {
|
|
5114
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
5115
|
+
}
|
|
5116
|
+
return FusionRtsHistory.__wrap(ret[0]);
|
|
5117
|
+
}
|
|
5118
|
+
/**
|
|
5119
|
+
* Start a history from the filter's current checkpoint.
|
|
5120
|
+
* @param {GnssInsFilter} filter
|
|
5121
|
+
* @returns {FusionRtsHistoryBuilder}
|
|
5122
|
+
*/
|
|
5123
|
+
static fromFilter(filter) {
|
|
5124
|
+
_assertClass(filter, GnssInsFilter);
|
|
5125
|
+
const ret = wasm.fusionrtshistorybuilder_fromFilter(filter.__wbg_ptr);
|
|
5126
|
+
if (ret[2]) {
|
|
5127
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
5128
|
+
}
|
|
5129
|
+
return FusionRtsHistoryBuilder.__wrap(ret[0]);
|
|
5130
|
+
}
|
|
5131
|
+
/**
|
|
5132
|
+
* Start an empty history for manual recording.
|
|
5133
|
+
*/
|
|
5134
|
+
constructor() {
|
|
5135
|
+
const ret = wasm.fusionrtshistorybuilder_new();
|
|
5136
|
+
this.__wbg_ptr = ret;
|
|
5137
|
+
FusionRtsHistoryBuilderFinalization.register(this, this.__wbg_ptr, this);
|
|
5138
|
+
return this;
|
|
5139
|
+
}
|
|
5140
|
+
}
|
|
5141
|
+
if (Symbol.dispose) FusionRtsHistoryBuilder.prototype[Symbol.dispose] = FusionRtsHistoryBuilder.prototype.free;
|
|
5142
|
+
|
|
5045
5143
|
/**
|
|
5046
5144
|
* WGS84 geodesic input failure class exposed as a stable enum symbol.
|
|
5047
5145
|
* @enum {0}
|
|
@@ -5755,6 +5853,20 @@ export class GnssInsFilter {
|
|
|
5755
5853
|
}
|
|
5756
5854
|
return takeFromExternrefTable0(ret[0]);
|
|
5757
5855
|
}
|
|
5856
|
+
/**
|
|
5857
|
+
* Propagate and record the transition for later fusion RTS smoothing.
|
|
5858
|
+
* @param {any} sample
|
|
5859
|
+
* @param {FusionRtsHistoryBuilder} history
|
|
5860
|
+
* @returns {any}
|
|
5861
|
+
*/
|
|
5862
|
+
propagateRecorded(sample, history) {
|
|
5863
|
+
_assertClass(history, FusionRtsHistoryBuilder);
|
|
5864
|
+
const ret = wasm.gnssinsfilter_propagateRecorded(this.__wbg_ptr, sample, history.__wbg_ptr);
|
|
5865
|
+
if (ret[2]) {
|
|
5866
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
5867
|
+
}
|
|
5868
|
+
return takeFromExternrefTable0(ret[0]);
|
|
5869
|
+
}
|
|
5758
5870
|
/**
|
|
5759
5871
|
* Restore this filter from versioned fusion-state bytes.
|
|
5760
5872
|
* @param {Uint8Array} bytes
|
|
@@ -5812,6 +5924,20 @@ export class GnssInsFilter {
|
|
|
5812
5924
|
}
|
|
5813
5925
|
return takeFromExternrefTable0(ret[0]);
|
|
5814
5926
|
}
|
|
5927
|
+
/**
|
|
5928
|
+
* Apply a loose GNSS fix and record checkpoints for fusion RTS smoothing.
|
|
5929
|
+
* @param {any} measurement
|
|
5930
|
+
* @param {FusionRtsHistoryBuilder} history
|
|
5931
|
+
* @returns {any}
|
|
5932
|
+
*/
|
|
5933
|
+
updateLooseRecorded(measurement, history) {
|
|
5934
|
+
_assertClass(history, FusionRtsHistoryBuilder);
|
|
5935
|
+
const ret = wasm.gnssinsfilter_updateLooseRecorded(this.__wbg_ptr, measurement, history.__wbg_ptr);
|
|
5936
|
+
if (ret[2]) {
|
|
5937
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
5938
|
+
}
|
|
5939
|
+
return takeFromExternrefTable0(ret[0]);
|
|
5940
|
+
}
|
|
5815
5941
|
/**
|
|
5816
5942
|
* Apply a loose GNSS fix, replaying retained IMU checkpoints when it is late.
|
|
5817
5943
|
* @param {any} measurement
|
|
@@ -5838,6 +5964,22 @@ export class GnssInsFilter {
|
|
|
5838
5964
|
}
|
|
5839
5965
|
return takeFromExternrefTable0(ret[0]);
|
|
5840
5966
|
}
|
|
5967
|
+
/**
|
|
5968
|
+
* Apply a tight broadcast update and record checkpoints for fusion RTS smoothing.
|
|
5969
|
+
* @param {BroadcastEphemeris} broadcast
|
|
5970
|
+
* @param {any} epoch
|
|
5971
|
+
* @param {FusionRtsHistoryBuilder} history
|
|
5972
|
+
* @returns {any}
|
|
5973
|
+
*/
|
|
5974
|
+
updateTightBroadcastRecorded(broadcast, epoch, history) {
|
|
5975
|
+
_assertClass(broadcast, BroadcastEphemeris);
|
|
5976
|
+
_assertClass(history, FusionRtsHistoryBuilder);
|
|
5977
|
+
const ret = wasm.gnssinsfilter_updateTightBroadcastRecorded(this.__wbg_ptr, broadcast.__wbg_ptr, epoch, history.__wbg_ptr);
|
|
5978
|
+
if (ret[2]) {
|
|
5979
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
5980
|
+
}
|
|
5981
|
+
return takeFromExternrefTable0(ret[0]);
|
|
5982
|
+
}
|
|
5841
5983
|
/**
|
|
5842
5984
|
* Apply a tight broadcast update, replaying retained IMU checkpoints when it is late.
|
|
5843
5985
|
* @param {BroadcastEphemeris} broadcast
|
|
@@ -5866,6 +6008,22 @@ export class GnssInsFilter {
|
|
|
5866
6008
|
}
|
|
5867
6009
|
return takeFromExternrefTable0(ret[0]);
|
|
5868
6010
|
}
|
|
6011
|
+
/**
|
|
6012
|
+
* Apply a tight SP3 update and record checkpoints for fusion RTS smoothing.
|
|
6013
|
+
* @param {Sp3} sp3
|
|
6014
|
+
* @param {any} epoch
|
|
6015
|
+
* @param {FusionRtsHistoryBuilder} history
|
|
6016
|
+
* @returns {any}
|
|
6017
|
+
*/
|
|
6018
|
+
updateTightSp3Recorded(sp3, epoch, history) {
|
|
6019
|
+
_assertClass(sp3, Sp3);
|
|
6020
|
+
_assertClass(history, FusionRtsHistoryBuilder);
|
|
6021
|
+
const ret = wasm.gnssinsfilter_updateTightSp3Recorded(this.__wbg_ptr, sp3.__wbg_ptr, epoch, history.__wbg_ptr);
|
|
6022
|
+
if (ret[2]) {
|
|
6023
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
6024
|
+
}
|
|
6025
|
+
return takeFromExternrefTable0(ret[0]);
|
|
6026
|
+
}
|
|
5869
6027
|
/**
|
|
5870
6028
|
* Apply a tight SP3 update, replaying retained IMU checkpoints when it is late.
|
|
5871
6029
|
* @param {Sp3} sp3
|
|
@@ -15313,6 +15471,48 @@ export class SmoothCodeResult {
|
|
|
15313
15471
|
}
|
|
15314
15472
|
if (Symbol.dispose) SmoothCodeResult.prototype[Symbol.dispose] = SmoothCodeResult.prototype.free;
|
|
15315
15473
|
|
|
15474
|
+
/**
|
|
15475
|
+
* Smoothed fusion trajectory returned by fixed-interval RTS smoothing.
|
|
15476
|
+
*/
|
|
15477
|
+
export class SmoothedFusionTrajectory {
|
|
15478
|
+
static __wrap(ptr) {
|
|
15479
|
+
const obj = Object.create(SmoothedFusionTrajectory.prototype);
|
|
15480
|
+
obj.__wbg_ptr = ptr;
|
|
15481
|
+
SmoothedFusionTrajectoryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
15482
|
+
return obj;
|
|
15483
|
+
}
|
|
15484
|
+
__destroy_into_raw() {
|
|
15485
|
+
const ptr = this.__wbg_ptr;
|
|
15486
|
+
this.__wbg_ptr = 0;
|
|
15487
|
+
SmoothedFusionTrajectoryFinalization.unregister(this);
|
|
15488
|
+
return ptr;
|
|
15489
|
+
}
|
|
15490
|
+
free() {
|
|
15491
|
+
const ptr = this.__destroy_into_raw();
|
|
15492
|
+
wasm.__wbg_smoothedfusiontrajectory_free(ptr, 0);
|
|
15493
|
+
}
|
|
15494
|
+
/**
|
|
15495
|
+
* Number of smoothed epochs.
|
|
15496
|
+
* @returns {number}
|
|
15497
|
+
*/
|
|
15498
|
+
get epochCount() {
|
|
15499
|
+
const ret = wasm.smoothedfusiontrajectory_epochCount(this.__wbg_ptr);
|
|
15500
|
+
return ret >>> 0;
|
|
15501
|
+
}
|
|
15502
|
+
/**
|
|
15503
|
+
* Smoothed epochs in the same order as the recorded history.
|
|
15504
|
+
* @returns {any}
|
|
15505
|
+
*/
|
|
15506
|
+
get epochs() {
|
|
15507
|
+
const ret = wasm.smoothedfusiontrajectory_epochs(this.__wbg_ptr);
|
|
15508
|
+
if (ret[2]) {
|
|
15509
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
15510
|
+
}
|
|
15511
|
+
return takeFromExternrefTable0(ret[0]);
|
|
15512
|
+
}
|
|
15513
|
+
}
|
|
15514
|
+
if (Symbol.dispose) SmoothedFusionTrajectory.prototype[Symbol.dispose] = SmoothedFusionTrajectory.prototype.free;
|
|
15515
|
+
|
|
15316
15516
|
export class SmoothedTrack {
|
|
15317
15517
|
static __wrap(ptr) {
|
|
15318
15518
|
const obj = Object.create(SmoothedTrack.prototype);
|
|
@@ -20186,6 +20386,52 @@ export function boundedIlsSearch(float_cycles, covariance, radius, candidate_lim
|
|
|
20186
20386
|
return takeFromExternrefTable0(ret[0]);
|
|
20187
20387
|
}
|
|
20188
20388
|
|
|
20389
|
+
/**
|
|
20390
|
+
* Build dual-frequency RTK arc records from parsed RINEX OBS products.
|
|
20391
|
+
*
|
|
20392
|
+
* Defaults build the GPS `C1C`/`L1C` plus `C2W`/`L2W` arc used by the real
|
|
20393
|
+
* WTZR/WTZZ fixtures.
|
|
20394
|
+
* @param {Sp3} ephemeris
|
|
20395
|
+
* @param {RinexObs} base_obs
|
|
20396
|
+
* @param {RinexObs} rover_obs
|
|
20397
|
+
* @param {any | null} [options]
|
|
20398
|
+
* @returns {any}
|
|
20399
|
+
*/
|
|
20400
|
+
export function buildDualFrequencyRinexRtkArc(ephemeris, base_obs, rover_obs, options) {
|
|
20401
|
+
_assertClass(ephemeris, Sp3);
|
|
20402
|
+
_assertClass(base_obs, RinexObs);
|
|
20403
|
+
_assertClass(rover_obs, RinexObs);
|
|
20404
|
+
const ret = wasm.buildDualFrequencyRinexRtkArc(ephemeris.__wbg_ptr, base_obs.__wbg_ptr, rover_obs.__wbg_ptr, isLikeNone(options) ? 0 : addToExternrefTable0(options));
|
|
20405
|
+
if (ret[2]) {
|
|
20406
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
20407
|
+
}
|
|
20408
|
+
return takeFromExternrefTable0(ret[0]);
|
|
20409
|
+
}
|
|
20410
|
+
|
|
20411
|
+
/**
|
|
20412
|
+
* Build single-frequency RTK arc records from parsed RINEX OBS products.
|
|
20413
|
+
*
|
|
20414
|
+
* `ephemeris` is an SP3 precise ephemeris handle, `baseObs` and `roverObs`
|
|
20415
|
+
* are parsed RINEX observation files, and `options` may provide
|
|
20416
|
+
* `{ signalPairs, maxEpochs, minCommonSatellites, includePredictionTime }`.
|
|
20417
|
+
* Defaults build the GPS `C1C`/`L1C` arc used by the real WTZR/WTZZ fixtures.
|
|
20418
|
+
* @param {Sp3} ephemeris
|
|
20419
|
+
* @param {RinexObs} base_obs
|
|
20420
|
+
* @param {RinexObs} rover_obs
|
|
20421
|
+
* @param {any | null} [options]
|
|
20422
|
+
* @returns {any}
|
|
20423
|
+
*/
|
|
20424
|
+
export function buildRinexRtkArc(ephemeris, base_obs, rover_obs, options) {
|
|
20425
|
+
_assertClass(ephemeris, Sp3);
|
|
20426
|
+
_assertClass(base_obs, RinexObs);
|
|
20427
|
+
_assertClass(rover_obs, RinexObs);
|
|
20428
|
+
const ret = wasm.buildRinexRtkArc(ephemeris.__wbg_ptr, base_obs.__wbg_ptr, rover_obs.__wbg_ptr, isLikeNone(options) ? 0 : addToExternrefTable0(options));
|
|
20429
|
+
if (ret[2]) {
|
|
20430
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
20431
|
+
}
|
|
20432
|
+
return takeFromExternrefTable0(ret[0]);
|
|
20433
|
+
}
|
|
20434
|
+
|
|
20189
20435
|
/**
|
|
20190
20436
|
* One wrapping GPS C/A chip at a zero-based index.
|
|
20191
20437
|
* @param {bigint} prn
|
|
@@ -21449,6 +21695,19 @@ export function errorEllipse2(covariance, confidence) {
|
|
|
21449
21695
|
return ErrorEllipse2.__wrap(ret[0]);
|
|
21450
21696
|
}
|
|
21451
21697
|
|
|
21698
|
+
/**
|
|
21699
|
+
* Horizontal one-sigma ellipse from an ENU covariance in square metres.
|
|
21700
|
+
* @param {any} covariance_enu_m2
|
|
21701
|
+
* @returns {ErrorEllipse}
|
|
21702
|
+
*/
|
|
21703
|
+
export function errorEllipseFromEnuM2(covariance_enu_m2) {
|
|
21704
|
+
const ret = wasm.errorEllipseFromEnuM2(covariance_enu_m2);
|
|
21705
|
+
if (ret[2]) {
|
|
21706
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
21707
|
+
}
|
|
21708
|
+
return ErrorEllipse.__wrap(ret[0]);
|
|
21709
|
+
}
|
|
21710
|
+
|
|
21452
21711
|
/**
|
|
21453
21712
|
* @param {DragForce} drag
|
|
21454
21713
|
* @param {any} request
|
|
@@ -22842,6 +23101,20 @@ export function hessianTrace(jacobian, m, n) {
|
|
|
22842
23101
|
return ret[0];
|
|
22843
23102
|
}
|
|
22844
23103
|
|
|
23104
|
+
/**
|
|
23105
|
+
* Horizontal percentile circle radius from an ENU covariance.
|
|
23106
|
+
* @param {any} covariance_enu_m2
|
|
23107
|
+
* @param {number} probability
|
|
23108
|
+
* @returns {PercentileRadius}
|
|
23109
|
+
*/
|
|
23110
|
+
export function horizontalRadiusAt(covariance_enu_m2, probability) {
|
|
23111
|
+
const ret = wasm.horizontalRadiusAt(covariance_enu_m2, probability);
|
|
23112
|
+
if (ret[2]) {
|
|
23113
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
23114
|
+
}
|
|
23115
|
+
return PercentileRadius.__wrap(ret[0]);
|
|
23116
|
+
}
|
|
23117
|
+
|
|
22845
23118
|
/**
|
|
22846
23119
|
* Gauss angles-only orbit determination.
|
|
22847
23120
|
*
|
|
@@ -23986,6 +24259,22 @@ export function metricsFromKinematicSolution(solution) {
|
|
|
23986
24259
|
return PositionErrorMetrics.__wrap(ret[0]);
|
|
23987
24260
|
}
|
|
23988
24261
|
|
|
24262
|
+
/**
|
|
24263
|
+
* Compute position-error metrics from a position covariance object.
|
|
24264
|
+
*
|
|
24265
|
+
* The object must include `ecefM2` and `enuM2`, each a 3 by 3 covariance in
|
|
24266
|
+
* square metres.
|
|
24267
|
+
* @param {any} covariance
|
|
24268
|
+
* @returns {PositionErrorMetrics}
|
|
24269
|
+
*/
|
|
24270
|
+
export function metricsFromPositionCovariance(covariance) {
|
|
24271
|
+
const ret = wasm.metricsFromPositionCovariance(covariance);
|
|
24272
|
+
if (ret[2]) {
|
|
24273
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
24274
|
+
}
|
|
24275
|
+
return PositionErrorMetrics.__wrap(ret[0]);
|
|
24276
|
+
}
|
|
24277
|
+
|
|
23989
24278
|
/**
|
|
23990
24279
|
* Modified Allan deviation for explicit averaging factors.
|
|
23991
24280
|
*
|
|
@@ -26489,6 +26778,20 @@ export function smoothCode(arc, options, hatch_window_cap) {
|
|
|
26489
26778
|
return v1;
|
|
26490
26779
|
}
|
|
26491
26780
|
|
|
26781
|
+
/**
|
|
26782
|
+
* Apply fixed-interval RTS smoothing to recorded fusion history.
|
|
26783
|
+
* @param {FusionRtsHistory} history
|
|
26784
|
+
* @returns {SmoothedFusionTrajectory}
|
|
26785
|
+
*/
|
|
26786
|
+
export function smoothFusionRts(history) {
|
|
26787
|
+
_assertClass(history, FusionRtsHistory);
|
|
26788
|
+
const ret = wasm.smoothFusionRts(history.__wbg_ptr);
|
|
26789
|
+
if (ret[2]) {
|
|
26790
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
26791
|
+
}
|
|
26792
|
+
return SmoothedFusionTrajectory.__wrap(ret[0]);
|
|
26793
|
+
}
|
|
26794
|
+
|
|
26492
26795
|
/**
|
|
26493
26796
|
* Dual-frequency ionosphere-free Hatch carrier-smoothed code.
|
|
26494
26797
|
* @param {any} arc
|
|
@@ -26819,6 +27122,30 @@ export function solveStatic(sp3, epochs, options) {
|
|
|
26819
27122
|
return StaticSolution.__wrap(ret[0]);
|
|
26820
27123
|
}
|
|
26821
27124
|
|
|
27125
|
+
/**
|
|
27126
|
+
* Solve one static RTK baseline directly from paired RINEX OBS plus SP3.
|
|
27127
|
+
*
|
|
27128
|
+
* `config.baseM` is the base antenna phase-center ECEF position in metres.
|
|
27129
|
+
* Optional `config.arcOptions` controls RINEX signal extraction; other fields
|
|
27130
|
+
* mirror `RtkStaticArcConfig` but the wavelength and offset maps are filled by
|
|
27131
|
+
* the RINEX builder.
|
|
27132
|
+
* @param {Sp3} ephemeris
|
|
27133
|
+
* @param {RinexObs} base_obs
|
|
27134
|
+
* @param {RinexObs} rover_obs
|
|
27135
|
+
* @param {any} config
|
|
27136
|
+
* @returns {any}
|
|
27137
|
+
*/
|
|
27138
|
+
export function solveStaticRinexRtkBaseline(ephemeris, base_obs, rover_obs, config) {
|
|
27139
|
+
_assertClass(ephemeris, Sp3);
|
|
27140
|
+
_assertClass(base_obs, RinexObs);
|
|
27141
|
+
_assertClass(rover_obs, RinexObs);
|
|
27142
|
+
const ret = wasm.solveStaticRinexRtkBaseline(ephemeris.__wbg_ptr, base_obs.__wbg_ptr, rover_obs.__wbg_ptr, config);
|
|
27143
|
+
if (ret[2]) {
|
|
27144
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
27145
|
+
}
|
|
27146
|
+
return takeFromExternrefTable0(ret[0]);
|
|
27147
|
+
}
|
|
27148
|
+
|
|
26822
27149
|
/**
|
|
26823
27150
|
* Solve a static RTK arc with one batch float solution and one validated fixed
|
|
26824
27151
|
* solution over the whole arc.
|
|
@@ -26882,6 +27209,29 @@ export function solveVelocityBroadcast(broadcast, observations, receiver_ecef_m,
|
|
|
26882
27209
|
return VelocitySolution.__wrap(ret[0]);
|
|
26883
27210
|
}
|
|
26884
27211
|
|
|
27212
|
+
/**
|
|
27213
|
+
* Solve a static dual-frequency wide-lane fixed RTK baseline from RINEX OBS.
|
|
27214
|
+
*
|
|
27215
|
+
* The function builds the dual-frequency RINEX arc, fixes wide-lane
|
|
27216
|
+
* ambiguities, prepares ionosphere-free narrow-lane records, then runs the
|
|
27217
|
+
* static fixed baseline solver.
|
|
27218
|
+
* @param {Sp3} ephemeris
|
|
27219
|
+
* @param {RinexObs} base_obs
|
|
27220
|
+
* @param {RinexObs} rover_obs
|
|
27221
|
+
* @param {any} config
|
|
27222
|
+
* @returns {any}
|
|
27223
|
+
*/
|
|
27224
|
+
export function solveWideLaneFixedRinexRtkBaseline(ephemeris, base_obs, rover_obs, config) {
|
|
27225
|
+
_assertClass(ephemeris, Sp3);
|
|
27226
|
+
_assertClass(base_obs, RinexObs);
|
|
27227
|
+
_assertClass(rover_obs, RinexObs);
|
|
27228
|
+
const ret = wasm.solveWideLaneFixedRinexRtkBaseline(ephemeris.__wbg_ptr, base_obs.__wbg_ptr, rover_obs.__wbg_ptr, config);
|
|
27229
|
+
if (ret[2]) {
|
|
27230
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
27231
|
+
}
|
|
27232
|
+
return takeFromExternrefTable0(ret[0]);
|
|
27233
|
+
}
|
|
27234
|
+
|
|
26885
27235
|
/**
|
|
26886
27236
|
* Solve a receiver position, preferring precise SP3 products and falling back to
|
|
26887
27237
|
* broadcast ephemeris, reporting which source was used and how stale it is.
|
|
@@ -27034,6 +27384,20 @@ export function spectralSeparationCoefficientHz(desired, interference, receiver_
|
|
|
27034
27384
|
return ret[0];
|
|
27035
27385
|
}
|
|
27036
27386
|
|
|
27387
|
+
/**
|
|
27388
|
+
* Three-dimensional percentile sphere radius from an ENU covariance.
|
|
27389
|
+
* @param {any} covariance_enu_m2
|
|
27390
|
+
* @param {number} probability
|
|
27391
|
+
* @returns {PercentileRadius}
|
|
27392
|
+
*/
|
|
27393
|
+
export function sphericalRadiusAt(covariance_enu_m2, probability) {
|
|
27394
|
+
const ret = wasm.sphericalRadiusAt(covariance_enu_m2, probability);
|
|
27395
|
+
if (ret[2]) {
|
|
27396
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
27397
|
+
}
|
|
27398
|
+
return PercentileRadius.__wrap(ret[0]);
|
|
27399
|
+
}
|
|
27400
|
+
|
|
27037
27401
|
/**
|
|
27038
27402
|
* Continuous seconds since J2000 for a split Julian date.
|
|
27039
27403
|
* @param {number} jd_whole
|
|
@@ -27611,6 +27975,20 @@ export function velocityMidas(series, options) {
|
|
|
27611
27975
|
return takeFromExternrefTable0(ret[0]);
|
|
27612
27976
|
}
|
|
27613
27977
|
|
|
27978
|
+
/**
|
|
27979
|
+
* Vertical one-dimensional percentile radius from an up variance.
|
|
27980
|
+
* @param {number} sigma_u_m2
|
|
27981
|
+
* @param {number} probability
|
|
27982
|
+
* @returns {number}
|
|
27983
|
+
*/
|
|
27984
|
+
export function verticalRadiusAt(sigma_u_m2, probability) {
|
|
27985
|
+
const ret = wasm.verticalRadiusAt(sigma_u_m2, probability);
|
|
27986
|
+
if (ret[2]) {
|
|
27987
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
27988
|
+
}
|
|
27989
|
+
return ret[0];
|
|
27990
|
+
}
|
|
27991
|
+
|
|
27614
27992
|
/**
|
|
27615
27993
|
* Satellites visible above `minElevationDeg` from `station` at a single instant,
|
|
27616
27994
|
* from already-initialized [`Tle`]s: the opsmode-preserving constellation
|
|
@@ -28371,6 +28749,12 @@ const FrameScannerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28371
28749
|
const FrameStatesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28372
28750
|
? { register: () => {}, unregister: () => {} }
|
|
28373
28751
|
: new FinalizationRegistry(ptr => wasm.__wbg_framestates_free(ptr, 1));
|
|
28752
|
+
const FusionRtsHistoryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28753
|
+
? { register: () => {}, unregister: () => {} }
|
|
28754
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_fusionrtshistory_free(ptr, 1));
|
|
28755
|
+
const FusionRtsHistoryBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28756
|
+
? { register: () => {}, unregister: () => {} }
|
|
28757
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_fusionrtshistorybuilder_free(ptr, 1));
|
|
28374
28758
|
const GeofenceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28375
28759
|
? { register: () => {}, unregister: () => {} }
|
|
28376
28760
|
: new FinalizationRegistry(ptr => wasm.__wbg_geofence_free(ptr, 1));
|
|
@@ -28671,6 +29055,9 @@ const SlipResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28671
29055
|
const SmoothCodeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28672
29056
|
? { register: () => {}, unregister: () => {} }
|
|
28673
29057
|
: new FinalizationRegistry(ptr => wasm.__wbg_smoothcoderesult_free(ptr, 1));
|
|
29058
|
+
const SmoothedFusionTrajectoryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29059
|
+
? { register: () => {}, unregister: () => {} }
|
|
29060
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_smoothedfusiontrajectory_free(ptr, 1));
|
|
28674
29061
|
const SmoothedTrackFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28675
29062
|
? { register: () => {}, unregister: () => {} }
|
|
28676
29063
|
: new FinalizationRegistry(ptr => wasm.__wbg_smoothedtrack_free(ptr, 1));
|
package/pkg/sidereon_bg.wasm
CHANGED
|
Binary file
|