Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Habitat Lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Meta Research
Habitat Lab
Commits
9a64c826
Commit
9a64c826
authored
5 years ago
by
Abhishek Kadian
Browse files
Options
Downloads
Patches
Plain Diff
Placeholder for pyrobot integration
parent
746bb0b9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
habitat/sims/pyrobot/__init__.py
+0
-0
0 additions, 0 deletions
habitat/sims/pyrobot/__init__.py
habitat/sims/pyrobot/pyrobot.py
+32
-0
32 additions, 0 deletions
habitat/sims/pyrobot/pyrobot.py
with
32 additions
and
0 deletions
habitat/sims/pyrobot/__init__.py
0 → 100644
+
0
−
0
View file @
9a64c826
This diff is collapsed.
Click to expand it.
habitat/sims/pyrobot/pyrobot.py
0 → 100644
+
32
−
0
View file @
9a64c826
#!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from
habitat.core.simulator
import
(
Config
,
SensorSuite
,
Simulator
,
Space
)
class
PyRobot
(
Simulator
):
def
__init__
(
self
,
config
:
Config
)
->
None
:
raise
NotImplementedError
@property
def
sensor_suite
(
self
)
->
SensorSuite
:
return
self
.
_sensor_suite
@property
def
action_space
(
self
)
->
Space
:
return
self
.
_action_space
def
step
(
self
,
action
):
raise
NotImplementedError
def
close
(
self
):
raise
NotImplementedError
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment