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
0d8269de
Unverified
Commit
0d8269de
authored
5 years ago
by
Abhishek Kadian
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix docstring (#73)
parent
1193c7d9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
habitat/tasks/nav/nav_task.py
+10
-10
10 additions, 10 deletions
habitat/tasks/nav/nav_task.py
with
10 additions
and
10 deletions
habitat/tasks/nav/nav_task.py
+
10
−
10
View file @
0d8269de
...
...
@@ -282,12 +282,12 @@ class StaticPointGoalSensor(habitat.Sensor):
class
HeadingSensor
(
habitat
.
Sensor
):
"""
Sensor for observing the agent
'
s heading in the global coordinate frame.
Sensor for observing the agent
'
s heading in the global coordinate frame.
Args:
sim: reference to the simulator for calculating task observations.
config: config for the sensor.
"""
Args:
sim: reference to the simulator for calculating task observations.
config: config for the sensor.
"""
def
__init__
(
self
,
sim
:
Simulator
,
config
:
Config
):
self
.
_sim
=
sim
...
...
@@ -318,12 +318,12 @@ class HeadingSensor(habitat.Sensor):
class
ProximitySensor
(
habitat
.
Sensor
):
"""
Sensor for observing the distance to the closest obstacle
Sensor for observing the distance to the closest obstacle
Args:
sim: reference to the simulator for calculating task observations.
config: config for the sensor.
"""
Args:
sim: reference to the simulator for calculating task observations.
config: config for the sensor.
"""
def
__init__
(
self
,
sim
,
config
):
self
.
_sim
=
sim
...
...
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