Skip to content

Commit

Permalink
small tweaks, bump up version to 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fxia22 committed Apr 7, 2020
1 parent 2b7aefc commit 9206643
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you use iGibson or its assets and models, consider citing the following publi


### Release
This is the repository for iGibson (gibson2) 0.0.1 release. Bug reports, suggestions for improvement, as well as community developments are encouraged and appreciated. Here is the [Changelog](misc/CHANGELOG.md). The support for our previous version of the environment, [Gibson v1](http://github.com/StanfordVL/GibsonEnv/), will be moved to this repository.
This is the repository for iGibson (gibson2) 0.0.4 release. Bug reports, suggestions for improvement, as well as community developments are encouraged and appreciated. Here is the [Changelog](misc/CHANGELOG.md). The support for our previous version of the environment, [Gibson v1](http://github.com/StanfordVL/GibsonEnv/), will be moved to this repository.

### Documentation
The documentation for this repository can be found here: [iGibson Environment Documentation](http://svl.stanford.edu/igibson/docs/). It includes installation guide (including data download), quickstart guide, code examples, and APIs.
Expand Down
13 changes: 9 additions & 4 deletions docs/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ assets
│   └── ycb
├── networks
│   └── model.pth
└── test
└── mesh
├── test
│ └── mesh
└── example_configs
└── {}.yaml
```

`models` contains robot models and interactive objects, `networks` contain the neural network filler used in Gibson V1, `test` contains files for performing tests of installation.

## Models
Expand Down Expand Up @@ -66,4 +67,8 @@ We also include [YCB objects](http://www.ycbbenchmarks.com/object-models/) in `y

## Test meshes

In `test` folder we save a mesh file to test the renderer is compiled correctly, it is used by `test/test_render.py`.
In `test` folder we save a mesh file to test the renderer is compiled correctly, it is used by `test/test_render.py`.

## Example configs

Sample config files to be used with the demo.
2 changes: 1 addition & 1 deletion gibson2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import yaml
import os

__version__ = "0.0.1"
__version__ = "0.0.4"

with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'global_config.yaml')) as f:
global_config = yaml.load(f, Loader=yaml.FullLoader)
Expand Down
2 changes: 1 addition & 1 deletion gibson2/core/render/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self):
self.view_direction = np.array([1, 0, 0])

cv2.namedWindow('ExternalView')
cv2.moveWindow("ExternalView", 0,0);
cv2.moveWindow("ExternalView", 0,0)
cv2.namedWindow('RobotView')
cv2.setMouseCallback('ExternalView', self.change_dir)

Expand Down
2 changes: 1 addition & 1 deletion gibson2/envs/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self):
download_demo_data()

def run_demo(self):
config = parse_config(os.path.join(gibson2.assets_path, '../../examples/configs/turtlebot_demo.yaml'))
config = parse_config(os.path.join(gibson2.assets_path, 'example_configs/turtlebot_demo.yaml'))

s = Simulator(mode='gui', image_width=700, image_height=700)
scene = BuildingScene('Rs')
Expand Down
4 changes: 2 additions & 2 deletions gibson2/envs/demo_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ def __init__(self):
download_demo_data()

def run_demo(self):
config = parse_config(os.path.join(gibson2.assets_path, '../../examples/configs/turtlebot_demo.yaml'))
config = parse_config(os.path.join(gibson2.assets_path, 'example_configs/turtlebot_demo.yaml'))
s = Simulator(mode='gui', image_width=700, image_height=700)
scene = BuildingScene('Rs_interactive', is_interactive=True)
s.import_scene(scene)
turtlebot = Turtlebot(config)
s.import_robot(turtlebot)

for i in range(1000):
for i in range(10000):
turtlebot.apply_action([0.1,0.5])
s.step()

Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,16 @@ def run(self):
check_call("bash realenv/envs/build.sh".split())
install.run(self)
'''
with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name='gibson2',
version='0.0.2b',
version='0.0.4',
author='Stanford University',
long_description_content_type="text/markdown",
long_description=long_description,
url='https://github.com/StanfordVL/iGibson',
zip_safe=False,
packages=find_packages(),
install_requires=[
Expand Down

0 comments on commit 9206643

Please sign in to comment.