allenai / allenai/ai2thor

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

オープン
#412 コメント 4 件 リアクション 0 件 担当者 2 名 @mattdeitke が担当を希望しています GitHub で見る
Demos Needs Help
主要言語
C#
スター
1.8k
フォーク
297
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。