habitat_sim.nav.HitRecord class

Struct for recording closest obstacle information.

Special methods

def __init__(self, /) -> None

Properties

hit_dist: float get set
Distance from query point to closest obstacle. Inf if no valid point was found.
hit_normal: numpy.ndarray[numpy.float32[3, 1]] get set
Normal of the navmesh at the obstacle in xz plane.
hit_pos: numpy.ndarray[numpy.float32[3, 1]] get set
World position of the closest obstacle.