question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Identify the current region of the agent/ pointers for room navigation

See original GitHub issue

Hi, Is there an easy way to identify the current region/room the agent is in.? env.sim.get_agent_state() would only give the agent’s position and rotation.
I understand that this should be doable with matterport3d dataset as this dataset contains semantic segmentations. This information is needed to implement a room sensor for a room navigation task.

TIA.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
erikwijmanscommented, Jul 22, 2019

sim.semantic_annotations().regions() returns a list of regions. Each region has an aabb field, which returns an axis aligned bounding box. You can check to see if the agent is within that bounding box or not.

0reactions
Mayer123commented, Mar 31, 2021

Hi,

When I tried to print out the aabb of the regions, the aabb.center looks reasonable, but the aabb.sizes are all 0 (e.g. all regions in D7N2EKCX4Sj). I’m wondering if this is expected? This is how I check it scene= self.env.sim.semantic_annotations() regions = scene.regions for region in regions: print (region.id, region.category.name(), region.aabb.center, region.aabb.sizes) Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Menu Structure | Web Accessibility Initiative (WAI) - W3C
Identify menus; Label menus; Indicate the current item ... to announce the number of items in the menu and provide corresponding navigation functionality....
Read more >
Real Estate Agent: Definition, How Agents Work, Compensation
A real estate agent is a licensed professional who represents buyers or sellers in real estate transactions.
Read more >
arXiv:1904.10151v2 [cs.CV] 6 Jan 2020
A novel interactive navigator-pointer model that pro- vides strong baselines for the REVERIE dataset under several evaluation metrics. 2.
Read more >
Diagnosing and Treating Measles - CDC
Measles is a highly contagious disease. Learn how to prevent, diagnose, and treat patients.
Read more >
Assister Guidance on Working with Agents & Brokers
She adds that she would like to find an agent or broker who speaks Spanish, and who has experience with enrolling consumers into...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found