Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] - remove pyrobot integration #2015

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
]

habitat.sims.__all__ = [
"pyrobot",
"habitat_simulator",
"registration",
]
Expand Down
25 changes: 0 additions & 25 deletions examples/tutorials/nb_python/Habitat_Lab.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,28 +425,3 @@ def act(self, observations):
# ### Other Examples
#
# [Create a new action space](https://github.com/facebookresearch/habitat-lab/blob/main/examples/new_actions.py)

# %%
# @title Sim2Real with Habitat { display-mode: "form" }

try:
from IPython.display import HTML

HTML(
'<iframe width="560" height="315" src="https://www.youtube.com/embed/Hun2rhgnWLU" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
)
except ImportError:
pass

# %% [markdown]
# Deploy habitat-sim trained models on real robots with the [habitat-pyrobot bridge](https://github.com/facebookresearch/habitat-lab/blob/main/habitat-lab/habitat/sims/pyrobot/pyrobot.py)
#
# ```python
# # Are we in sim or reality?
# if args.use_robot: # Use LoCoBot via PyRobot
# config.habitat.simulator.type = "PyRobot-Locobot-v0"
# else: # Use simulation
# config.habitat.simulator.type = "Habitat-Sim-v0"
# ```
#
# Paper: [https://arxiv.org/abs/1912.06321](https://arxiv.org/abs/1912.06321)
39 changes: 3 additions & 36 deletions examples/tutorials/notebooks/Habitat_Lab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"lines_to_next_cell": 2
},
"outputs": [],
"source": [
"# An example agent which can be submitted to habitat-challenge.\n",
Expand Down Expand Up @@ -545,41 +547,6 @@
"\n",
"[Create a new action space](https://github.com/facebookresearch/habitat-lab/blob/main/examples/new_actions.py)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# @title Sim2Real with Habitat { display-mode: \"form\" }\n",
"\n",
"try:\n",
" from IPython.display import HTML\n",
"\n",
" HTML(\n",
" '<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Hun2rhgnWLU\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>'\n",
" )\n",
"except ImportError:\n",
" pass"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Deploy habitat-sim trained models on real robots with the [habitat-pyrobot bridge](https://github.com/facebookresearch/habitat-lab/blob/main/habitat-lab/habitat/sims/pyrobot/pyrobot.py)\n",
"\n",
"```python\n",
"# Are we in sim or reality?\n",
"if args.use_robot: # Use LoCoBot via PyRobot\n",
" config.habitat.simulator.type = \"PyRobot-Locobot-v0\"\n",
"else: # Use simulation\n",
" config.habitat.simulator.type = \"Habitat-Sim-v0\"\n",
"```\n",
"\n",
"Paper: [https://arxiv.org/abs/1912.06321](https://arxiv.org/abs/1912.06321)"
]
}
],
"metadata": {
Expand Down
27 changes: 0 additions & 27 deletions habitat-lab/habitat/sims/pyrobot/__init__.py

This file was deleted.

Loading