Preserve the completed teach-and-repeat laboratory stage: reference preparation, cascaded acquisition, local tracking and recovery, recording lifecycle, replay qualification, and persistent Rerun scene controls. Document the open grid-picking regression and Rerun upgrade contract. No autonomous driving or loop-closure optimization is claimed.
16 lines
830 B
JavaScript
16 lines
830 B
JavaScript
import assert from 'node:assert/strict';
|
|
import {test} from 'node:test';
|
|
import {readFileSync} from 'node:fs';
|
|
|
|
test('planning live scene reuses the canonical vertical height range inside the existing stage',()=>{
|
|
const source=readFileSync(new URL('../src/components/missions/PlanningLiveScene.tsx',import.meta.url),'utf8');
|
|
assert.match(source,/RangeControl orientation="vertical" limitSide="left" label="Срез"/);
|
|
assert.match(source,/className="session-overview__height"/);
|
|
assert.match(source,/ceiling_m:ceilingRef\.current/);
|
|
assert.match(source,/formatLimit=\{value=>value\.toFixed\(1\)\.replace\('\.',','\)\}/);
|
|
assert.match(source,/heightBounds=null/);
|
|
assert.match(source,/const CLIP_CEILING_M=80/);
|
|
assert.match(source,/max:CLIP_CEILING_M/);
|
|
assert.match(source,/setBounds\(next\);setCeiling\(null\);/);
|
|
});
|