MCPcopy Create free account
hub / github.com/UniflexAI/tinynav / destroy_node

Method destroy_node

tinynav/core/map_node.py:550–558  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

548 u = int(kp[0])
549 v = int(kp[1])
550 Z = depth[v, u]
551 if Z > 0 and Z < 50:
552 X = (u - cx) * Z / fx
553 Y = (v - cy) * Z / fy
554 inliers.append(True)
555 else:
556 X = 0
557 Y = 0
558 inliers.append(False)
559 point_in_camera.append(np.array([X, Y, Z]))
560 # shape: (N, 3)
561 point_in_camera = np.array(point_in_camera)

Callers 6

mainFunction · 0.95
_runMethod · 0.45
stopMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 2

closeMethod · 0.45

Tested by

no test coverage detected