allenai / allenai/procthor

How to get a shortest path to an object?

オープン
#23 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
471
フォーク
51
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, I would like to ask how to get a shortest path to the object.
I use the code from https://ai2thor.allenai.org/robothor/documentation/#navigation :
```
from ai2thor.util.metrics import (
get_shortest_path_to_object_type
)

path = get_shortest_path_to_object(
controller=controller,
object_type="Apple",
initial_position=dict(
x=0,
y=0.9,
z=0.25
)
)
```
But the path point returned by this code is not on the grid point.
Thanks!!!

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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