facebookresearch / habitat-lab

A modular high-level library to train embodied AI agents across a variety of tasks and environments.
https://aihabitat.org/
MIT License
1.81k stars 460 forks source link

add ignore ids to unoccluded snap API #1947

Closed aclegg3 closed 1 month ago

aclegg3 commented 1 month ago

Motivation and Context

The accessibility and unoccluded snap functions rely on raycasting to determine if a target object is the first hit (and thus unoccluded) from a particular navmesh point.

This PR adds additional ignore object ids which won't trigger the success condition, but also won't result in false-positive occlusions for complex cases. For example, if the robot is already standing at a position, checking accessibility of a furniture object, the robot's own links should be ignored in the check.

How Has This Been Tested

TODO: this API is only integration tested and needs unit tests

Types of changes

Checklist