allenai / allenai/ai2thor

Bug(s) in hide-n-seek demo?

Ouverte
#412 4 commentaires 0 réactions 2 personnes assignées Réclamée par @mattdeitke Voir sur GitHub
Demos Needs Help
Langage dominant
C#
Étoiles
1.8k
Forks
297
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello,

I'm wondering if the hide-n-seek demo is working for anyone, as I ran into a couple of issues trying to make it work.

I forked the master branch and cloned it, installed the appropriate version of unity (2018.4.16f1), and built the template according to the instructions. When I open it (adding the `?object=Tomato&variation=0` GET parameters as described), I hit a couple of problems:

In `script.js`, the `handleEvent` function tries to push a metadata object to `outputData.actions` -- but `actions` is never defined inside `outputData`. Once I fixed that (adding `actions: []` in the `let outputData = ...` line), the WebGL object loads, but does not capture keyboard events. I can click on the Fridge to open and close the door, but no keyboard events appear to reach the WebGL object (and a breakpoint on `handleEvent` only sees the CloseObject and OpenObject actions, but never anything else.

As a side note, the Finish and Reset buttons also don't do anything, which it appears from `script.js` that they should?

Concretely,
- Does the hide-n-seek demo work for anyone else? The [THOR demo](https://ai2thor.allenai.org/ithor/demo/) works just fine in the same browser.
- Any idea why it isn't capturing keyboard inputs?
- Is the template and/or source code for the browser demo available anywhere?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.