allenai / allenai/ai2thor

Collision Detection with Drone agent

Open
#952 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.8k
Forks
297
PR merge metrics
No merged PRs in 30d

Description

Hey,

I'm trying to perform some collision detection in the Ai2thor environment. I have set the agent type to **drone**, since that's the requirement.

While moving the drone continuously using `MovieAhead`, I can visualize the drone colliding with an object (e.g. wall). But the event.metadata["lastActionSuccess"] always returns True inspite of the drone colliding with an object. I also checked the 'errorMessage` and there's no output.

I tried the same setup with agent as `default` or `robot` and the collision detection works well. event.metadata["lastActionSuccess"] returns True when there's a collision and `errorMessage` prints the appropriate output.

Can you suggest why this happens? Do I need to make specific code changes to enable this for the drone agent?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.