Preserve installed operator workspace before consolidation

Local preservation snapshot, not a new deployment or simulation acceptance.
This commit is contained in:
DCCONSTRUCTIONS
2026-10-08 09:59:51 +03:00
parent 97614742bb
commit d0e5f90952
368 changed files with 129172 additions and 1856 deletions
+18
View File
@@ -40,3 +40,21 @@ def test_clearance_tracks_translation_heading_and_support_slope():
points[:, :2] += [10, -3]
assert count(points, (10, -3), 45, (0.2, 0, 4)) == 1
assert count([[8, -5, 3.6], [12, -5, 4.4], [10, -1, 4]], (10, -3), 45, (0.2, 0, 4)) == 0
def test_rectangular_dcd006_front_and_rotated_corner_are_checked():
def rectangle(points, angle=0):
return MODULE.obstructing_triangles(
np.array(points),
np.array([[0, 1, 2]]),
(0, 0),
angle,
(0, 0, 0),
length=1.163,
width=0.905,
)
# New nose is beyond the former square; adjacent space remains available.
assert rectangle([[0.56, -0.02, 0.2], [0.56, 0.02, 0.2], [0.56, 0, 0.8]]) == 1
assert rectangle([[0, 0.47, 0.2], [0.02, 0.47, 0.2], [0, 0.47, 0.8]]) == 0
assert rectangle([[0, 0.56, 0.2], [0.02, 0.56, 0.2], [0, 0.56, 0.8]], 90) == 1