ai2thor
ai2thor copied to clipboard
Is there a way to get first view information in real time while using TeleportFull?
Hi, Is there a way to get first view information in real-time while using TeleportFull or during moving? I am looking forward to your reply. Thank you.
Hi @lianglanjun, can you clarify what you mean by first view information in real-time?
@mattdeitke I mean that when the agent is moving, can I get the current agent's perspective at any time?
I can now use TeleportFull to move the agent from the current position A to another position B and then get the perspective image of the agent at B. Can I get the perspective image of the agent between positions A and B? Thank you.
Hi @lianglanjun,
The current agent's perspective should be accessible with Event.frame: https://ai2thor.allenai.org/ithor/documentation/environment-state/#event-frame. If you want the perspective image between positions A and B, have you considered only moving the agent halfway between the points, and use Event.frame to get the agent's perspective image from there?