fix в задании азимута

This commit is contained in:
emelianov
2026-06-15 15:11:20 +03:00
parent 29b8206867
commit 60ddec0928
9 changed files with 134 additions and 159 deletions
@@ -80,7 +80,6 @@ class AngularMotionService(
val config = AngularMotionConfig(
focus = request.focusMm ?: defaultConfig.focus,
stepPuud = request.stepPuudSec ?: defaultConfig.stepPuud,
stepSdi = request.stepSdiSec ?: defaultConfig.stepSdi,
)
val sourcePoints = loadOrbitalPoints(request, config)
val stepper = RungeStepper(sourcePoints.toMutableList(), EarthType.PZ90d02)
@@ -435,7 +435,6 @@
pointInCenter: false,
focusMm: Number(el('angular-motion-focus').value || 5500),
stepPuudSec: Number(el('angular-motion-step').value || 0.125),
stepSdiSec: Number(el('angular-motion-step-sdi').value || 20),
};
if (mode === 'AZIMUTH' || mode === 'SMOOTH_SDI') {
payload.sdi = Number(el('angular-motion-sdi').value);
@@ -111,10 +111,6 @@
<label for="angular-motion-step" class="form-label">Шаг ПУУД, с</label>
<input id="angular-motion-step" type="number" min="0.001" step="0.001" class="form-control" value="0.125">
</div>
<div class="col-12 col-md-6">
<label for="angular-motion-step-sdi" class="form-label">Шаг СДИ, с</label>
<input id="angular-motion-step-sdi" type="number" min="0.001" step="0.001" class="form-control" value="20">
</div>
</div>
<button id="angular-motion-submit" type="submit" class="btn btn-primary w-100">Рассчитать</button>