GithubHelp home page GithubHelp logo

stanfordvl / igibson Goto Github PK

View Code? Open in Web Editor NEW
606.0 40.0 154.0 541.29 MB

A Simulation Environment to train Robots in Large Realistic Interactive Scenes

Home Page: http://svl.stanford.edu/igibson

License: MIT License

Python 52.32% CMake 0.35% C++ 12.89% C 31.36% GLSL 2.36% Shell 0.27% Dockerfile 0.17% HTML 0.14% Jupyter Notebook 0.14%
simulation robot-simulator 3d-scenes

igibson's Introduction

iGibson: A Simulation Environment to train Robots in Large Realistic Interactive Scenes

iGibson is a simulation environment providing fast visual rendering and physics simulation based on Bullet. iGibson is equipped with fifteen fully interactive high quality scenes, hundreds of large 3D scenes reconstructed from real homes and offices, and compatibility with datasets like CubiCasa5K and 3D-Front, providing 8000+ additional interactive scenes. Some of the features of iGibson include domain randomization, integration with motion planners and easy-to-use tools to collect human demonstrations. With these scenes and features, iGibson allows researchers to train and evaluate robotic agents that use visual signals to solve navigation and manipulation tasks such as opening doors, picking up and placing objects, or searching in cabinets.

Latest Updates

[8/9/2021] Major update to iGibson to reach iGibson 2.0, for details please refer to our arxiv preprint.

  • iGibson 2.0 supports object states, including temperature, wetness level, cleanliness level, and toggled and sliced states, necessary to cover a wider range of tasks.
  • iGibson 2.0 implements a set of predicate logic functions that map the simulator states to logic states like Cooked or Soaked.
  • iGibson 2.0 includes a virtual reality (VR) interface to immerse humans in its scenes to collect demonstrations.

[12/1/2020] Major update to iGibson to reach iGibson 1.0, for details please refer to our arxiv preprint.

  • Release of iGibson dataset that includes 15 fully interactive scenes and 500+ object models annotated with materials and physical attributes on top of existing 3D articulated models.
  • Compatibility to import CubiCasa5K and 3D-Front scene descriptions leading to more than 8000 extra interactive scenes!
  • New features in iGibson: Physically based rendering, 1-beam and 16-beam LiDAR, domain randomization, motion planning integration, tools to collect human demos and more!
  • Code refactoring, better class structure and cleanup.

[05/14/2020] Added dynamic light support 🔦

[04/28/2020] Added support for Mac OSX 💻

Citation

If you use iGibson or its assets and models, consider citing the following publication:

@inproceedings{li2022igibson,
  title = 	 {iGibson 2.0: Object-Centric Simulation for Robot Learning of Everyday Household Tasks},
  author =       {Li, Chengshu and Xia, Fei and Mart\'in-Mart\'in, Roberto and Lingelbach, Michael and Srivastava, Sanjana and Shen, Bokui and Vainio, Kent Elliott and Gokmen, Cem and Dharan, Gokul and Jain, Tanish and Kurenkov, Andrey and Liu, Karen and Gweon, Hyowon and Wu, Jiajun and Fei-Fei, Li and Savarese, Silvio},
  booktitle = 	 {Proceedings of the 5th Conference on Robot Learning},
  pages = 	 {455--465},
  year = 	 {2022},
  editor = 	 {Faust, Aleksandra and Hsu, David and Neumann, Gerhard},
  volume = 	 {164},
  series = 	 {Proceedings of Machine Learning Research},
  month = 	 {08--11 Nov},
  publisher =    {PMLR},
  pdf = 	 {https://proceedings.mlr.press/v164/li22b/li22b.pdf},
  url = 	 {https://proceedings.mlr.press/v164/li22b.html},
} 
@inproceedings{shen2021igibson,
      title={iGibson 1.0: a Simulation Environment for Interactive Tasks in Large Realistic Scenes}, 
      author={Bokui Shen and Fei Xia and Chengshu Li and Roberto Mart\'in-Mart\'in and Linxi Fan and Guanzhi Wang and Claudia P\'erez-D'Arpino and Shyamal Buch and Sanjana Srivastava and Lyne P. Tchapmi and Micael E. Tchapmi and Kent Vainio and Josiah Wong and Li Fei-Fei and Silvio Savarese},
      booktitle={2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
      year={2021},
      pages={accepted},
      organization={IEEE}
}

Documentation

The documentation for iGibson can be found here: iGibson Documentation. It includes installation guide (including data download instructions), quickstart guide, code examples, and APIs.

If you want to know more about iGibson, you can also check out our webpage, iGibson 2.0 arxiv preprint and iGibson 1.0 arxiv preprint.

Dowloading the Dataset of 3D Scenes

For instructions to install iGibson and download dataset, you can visit installation guide and dataset download guide.

There are other datasets we link to iGibson. We include support to use CubiCasa5K and 3DFront scenes, adding up more than 10000 extra interactive scenes to use in iGibson! Check our documentation on how to use those.

We also maintain compatibility with datasets of 3D reconstructed large real-world scenes (homes and offices) that you can download and use with iGibson. For Gibson Dataset and Stanford 2D-3D-Semantics Dataset, please fill out this form. For Matterport3D Dataset, please fill in this form and send it to [email protected]. Please put "use with iGibson simulator" in your email. Check our dataset download guide for more details.

Using iGibson with VR

If you want to use iGibson VR interface, please visit the [VR guide (TBA)].

Contributing

This is the github repository for iGibson (pip package igibson) 2.0 release. (For iGibson 1.0, please use 1.0 branch.) Bug reports, suggestions for improvement, as well as community developments are encouraged and appreciated. Please, consider creating an issue or sending us an email.

The support for our previous version of the environment, Gibson, can be found in the following repository.

Acknowledgments

iGibson uses code from a few open source repositories. Without the efforts of these folks (and their willingness to release their implementations under permissable copyleft licenses), iGibson would not be possible. We thanks these authors for their efforts!

igibson's People

Contributors

alanlou avatar amir32002 avatar andreykurenkov avatar b0ku1 avatar cdarpino avatar cgokmen avatar chengshuli avatar corgitrax avatar cremebrule avatar divyanshj16 avatar drjimfan avatar francis-lewis avatar fxia22 avatar g-levine avatar hzyjerry avatar ir0 avatar kchen92 avatar kenzomenzo avatar mjlbach avatar ndass6 avatar roberto-martinmartin avatar samuelyhunter avatar sanjanasrivastava avatar skyman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

igibson's Issues

Unable to run mesh_renderer_gpu_example.py (or anthing related to mesh render in examples directory)

I have run successfully demo.py but I have a trouble when running file mesh_renderer_gpu_example.py caused by an error in the following log. Could you please have a look at it? I have tried to run other files related to mesh but having the same error

The log in my case is:

(py3-gibson) cndm@pi:/media/cndm/New Volume/Project-2/GibsonEnvV2/examples/demo$ python mesh_renderer_gpu_example.py
using asset: path /media/cndm/New Volume/Project-2/GibsonEnvV2/gibson2/assets dataset path: /media/cndm/New Volume/Project-2/GibsonEnvV2/gibson2/assets/dataset
pybullet build time: Dec 17 2019 12:16:21
Traceback (most recent call last):
File "mesh_renderer_gpu_example.py", line 10, in
model_path = sys.argv[1]
IndexError: list index out of range

segment fault

I cd to the test dir and pytest. But the test does not pass.
I tried in both ubuntu16.04 and ubuntu18.04, neither worked.
The most possible problem is that both "querydevice" and "testdevice" can not work, but I can not solve. please help me.

when I run "./query_devices", it return "Segmentation fault (core dumped)"

Segmentation fault (core dumped)

When I run any program .it told me "Segmentation fault (core dumped)",Maybe I don't install OpenGL.My service has two GPUs,and If I install openGL i may not login ubuntu

Is it possible to get a segmentation mask of interactive objects in the scene?

Hello,

I am looking to modify this script: examples/demo/env_interactive_example.py in order to get a segmentation mask of interactive objects (like chairs, sofa, etc) as observation (on top of the RGB observation).

Is that possible? What I would like is having the RGB robot view and also a segmentation mask robot view of all the interactive objects that the robot can see in his current field of view.

What I've been trying to do, unsuccessfully:

I've tried adding 'seg' as output in the config file (examples/configs/turtlebot_interactive_demo.yaml) but this is giving me an error:

File "[...]/.local/lib/python3.6/site-packages/gibson2/envs/locomotor_env.py", line 323, in get_seg if self.num_object_classes is not None: AttributeError: 'NavigateEnv' object has no attribute 'num_object_classes'

collecting ... Segmentation fault

Hi,

I installed the GibsonV2 following the installation tutorial, and there is not problem during installation, but I cannot run the pytest or the examples in the example folder:

platform linux -- Python 3.6.8, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /scratch2/gibsonV2/GibsonEnvV2, inifile:
plugins: remotedata-0.3.1, openfiles-0.3.2, doctestplus-0.3.0, arraydiff-0.3
collecting ... Segmentation fault

how can I fix this?
Thanks

Compiling with CUDA requires <GL/gl.h>

Currently pip install gibson2 might fail on machines without "GL/gl.h" header installed. While iGibson uses glad to load OpenGL, cuda-gl inter-operation still requires "GL/gl.h". One way to solve this issue is to install mesa-common-dev.

sudo apt install mesa-common-dev

How to get focal length in mm?

i noticed that the .yaml configuration files had a parameter for FOV, is there any way to get the true focal length size in mm?

I collected some test runs in Gibson, with RGB and camera pose data. I'm now trying to project coordinates in the 2D RGB image to 3D world coordinates using the ground truth depth, however I'm having trouble finding the true focal length in mm.

Turtlebot lidar scan_link might need to be raised up a bit

The scan_link definition in assets/models/turtlebot/turtlebot.urdf seems to place the lidar underneath the upper plate so that the lidar beam can hit the support posts. I recommend the following change to the link and joint definitions to move the lidar to sit on top of the top plate.

<link name="scan_link">
  <inertial>
      <mass value="0"/>
      <origin xyz="0 0 0"/>
      <inertia ixx="0.0001" ixy="0.0" ixz="0.0" iyy="0.0001" iyz="0.0" izz="0.0001"/>
    </inertial>
  <visual>
      <geometry>
       <cylinder length="0.02" radius="0.01"/>
      </geometry>
      <origin rpy="0 0 0" xyz="0.001 0 0"/>
    </visual>
  </link>
  <joint name="scan_joint" type="fixed">
    <parent link="base_link"/>
    <child link="scan_link"/>
    <origin rpy="0 0 0" xyz="0.00 0.0 0.415"/>
    <axis xyz="0 0 1"/>
  </joint>

jr2_kinova.urdf end effector joints in assets_dev.tar.gz

Between jr2_kinova_old.urdf and jr2_kinova.urdf, the end effector joints were removed (or made fixed).

While not explicitly about the code in this repository, I was not sure where else to ask about that. What was the reason for removing them? If I need to use the end effector joints, should I be able to put them back in by editing the urdf?

Should I be using a different asset set?

How can I enable the 3d scene graph generation

It seems that the source code does not provide the 3d graph generation function, I come here to confirm whether this repo provides this function? if does, how to achive it? For the purpose of saving time, thank you very much!

ROS integration with husky robot

Hi,
I have ROS Melodic installed on my PC. I created the appropriate python, yaml and launch files following the turtlebot ROS integration. I am getting the following error while loading the URDF model ( using the same urdf in the assets ). My launch file is as follows:

Screenshot from 2020-06-02 11-39-31

Screenshot from 2020-06-02 11-32-36

ROS Turtlebot navigation launch fails with "model area1" not found error

Environment: Ubuntu 16.04, ROS Kinetic, iGibson source install, Python 2.7

I am trying to run the Turtlebot ROS demos as documented here http://svl.stanford.edu/igibson/docs/ros_integration.html. The installation went OK but when I try to run one of the demo navigation launch files, I get the error AssertionError: Model area1 does not exist.

I'm guessing I need the area1 model. Is there any way to obtain this model without downloading the entire dataset? Alternatively, the documentation provides instructions for downloading the Rs model. Is there a way to run the navigation demo with this model?

Here is the command I am trying and the error it produces:

roslaunch gibson2-ros turtlebot_gt_navigation.launch

And the output:

[ INFO] [1592145720.434257466]: Initializing nodelet with 8 worker threads. INFO:root:Importing iGibson (gibson2 module) INFO:root:Assets path: /home/patrick/src/iGibson/gibson2/assets INFO:root:Dataset path: /home/patrick/src/iGibson/gibson2/dataset pybullet build time: Jun 2 2020 06:44:55 ******************PyBullet Logging Information: PyBullet Logging Information****************** Traceback (most recent call last): File "/home/patrick/jr2_catkin_ws/src/gibson2-ros/turtlebot_rgbd.py", line 175, in <module> node = SimNode() File "/home/patrick/jr2_catkin_ws/src/gibson2-ros/turtlebot_rgbd.py", line 47, in __init__ action_timestep=1 / 30.0) # assume a 30Hz simulation File "/home/patrick/src/iGibson/gibson2/envs/locomotor_env.py", line 53, in __init__ render_to_tensor=render_to_tensor) File "/home/patrick/src/iGibson/gibson2/envs/base_env.py", line 49, in __init__ self.load() File "/home/patrick/src/iGibson/gibson2/envs/locomotor_env.py", line 223, in load super(NavigateEnv, self).load() File "/home/patrick/src/iGibson/gibson2/envs/base_env.py", line 89, in load self.simulator.import_scene(scene, load_texture=self.config.get('load_texture', True)) File "/home/patrick/src/iGibson/gibson2/core/simulator.py", line 135, in wrapped_load_func res = load_func(*args, **kwargs) File "/home/patrick/src/iGibson/gibson2/core/simulator.py", line 155, in import_scene new_objects = scene.load() File "/home/patrick/src/iGibson/gibson2/core/physics/scene.py", line 292, in load self.load_floor_metadata() File "/home/patrick/src/iGibson/gibson2/core/physics/scene.py", line 125, in load_floor_metadata floor_height_path = os.path.join(get_model_path(self.model_id), 'floors.txt') File "/home/patrick/src/iGibson/gibson2/utils/assets_utils.py", line 7, in get_model_path assert model_id in os.listdir(data_path) or model_id == 'stadium', "Model {} does not exist".format(model_id) AssertionError: Model area1 does not exist [turtlebot_gibson_sim-3] process has died [pid 1701, exit code 1, cmd /home/patrick/jr2_catkin_ws/src/gibson2-ros/turtlebot_rgbd.py __name:=turtlebot_gibson_sim __log:=/home/patrick/.ros/log/3398fb82-ae4d-11ea-b2e8-509a4c47197c/turtlebot_gibson_sim-3.log]. log file: /home/patrick/.ros/log/3398fb82-ae4d-11ea-b2e8-509a4c47197c/turtlebot_gibson_sim-3*.log [ WARN] [1592145725.625318734]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: Could not find a connection between 'map' and 'base_footprint' because they are not part of the same tree.Tf has two or more unconnected trees.. canTransform returned after 0.100065 timeout was 0.1. [ WARN] [1592145730.656886572]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: Could not find a connection between 'map' and 'base_footprint' because they are not part of the same tree.Tf has two or more unconnected trees.. canTransform returned after 0.100143 timeout was 0.1.

Device 0 is not available for rendering

Hello

I have build the Dockerfile found at: https://github.com/StanfordVL/iGibson/blob/master/docker/headless-gui/Dockerfile

My container is up and running and I have successfully connected the VNC viewer. Using a terminal in the TightVNC Viewer I installed pyTorch with,

`pip install torch'

then ran the 'env_example.py' and get the following error:

root@64dc5a86a3e7:/opt/igibson/examples/demo# python env_example.py
INFO:root:Importing iGibson (gibson2 module)
INFO:root:Assets path: /opt/igibson/gibson2/assets
INFO:root:Dataset path: /opt/igibson/gibson2/dataset
pybullet build time: Sep 9 2020 17:03:07
INFO:root:Command '['/opt/igibson/gibson2/core/render/mesh_renderer/build/test_device', '0']' returned non-zero exit status 1.
INFO:root:Device 0 is not available for rendering
INFO:root:Device index is larger than number of devices, falling back to use 0
ERROR: Unable to initialize EGL

It's behaving as if it cannot detect the GPU. If I run,

root@64dc5a86a3e7:/opt/igibson/examples/demo# python -c 'import torch; print(torch.cuda.is_available())'
True

pyTorch is able to find the GPU. However, if I run,

root@64dc5a86a3e7:/opt/igibson/gibson2/core/render/mesh_renderer/build# ./test_device 0
INFO: Unable to initialize EGL

this utility also fails. However,

root@64dc5a86a3e7:/opt/igibson/gibson2/core/render/mesh_renderer/build# ./query_devices 0
1

returns a '1'

Any thoughts why "env_example.py" is failing to run?

Using Gibson scenes in the simulators

Hi,

Thanks for building this simulator, its a great service for the community.
I download the Gibson (full dataset), however the scenes are missing the floor.txt file, which result in the examples/demo.py throwing an error. Even when changing the code to ignore the scene floor map, the rendered scene is grayscale meshes.

Is it the case Ohopee is the only scene supported now?

Thanks,
AO

Space7 dataset for Gibson 2

Where can I find the space7 dataset for Gibson Env 2?

Some attributes like floors seem to be missing from V1

I'm also looking for Stanford 2D3Ds and Matterport datasets for V2

Matterport and Stanford 2D3DS Datasets

The original GibsonEnv codebase worked with Matterport and Stanford 2D3DS but this newer version of the simulator requires a floors.txt for the environments. Is there a way to generate it or does your team have a copy of the required files?

Environment visualization?

Hello,

I'm having trouble manipulating the PyBullet window representing the simulation.

In this example, I use the Fetch robot in the interactive version of the Placida environment.

image

I can zoom on the environment by scrolling, but I did not find any way to move around in this window. Plus, I saw that pressing "G" will show the environment without the additional tabs.

Can you please indicate what are the relevant commands for this PyBullet window? I would like to move around in the environment freely, in order to visualize it.

Thanks.

Re-instantiating environment within a loop

I am re-instantiating TurtlebotNavigateSpeedControlEnv in a for loop. In the headless, display_ui =false mode, I get the following error at finish loading shaders:

terminate called after throwing an instance of 'zmq::error_t'
what(): Address already in use

It seems like the environment is not terminating correctly before re-instantiating. Is there a way to terminate the environment after a loop is finished?

@fxia22 @hzyjerry Any leads would be appreciated. Thanks in advance!

Headless rendering

Is headless rendering (without X server) planned to be supported for Gibson V2?

Unable to initialize EGL

Hi, everything installed as requried however when running demo.py the above error is thrown.
Additionally I have noticed that there is no pytest file as shown in the README.

agent.reset() not called between subsequent episodes in sim2real challenge

Hi,

One would expect agent.reset() to be called in this loop:

for i in range(num_eval_episodes):
print('Episode: {}/{}'.format(i + 1, num_eval_episodes))
state = self.nav_env.reset()
while True:
action = agent.act(state)
state, reward, done, info = self.nav_env.step(action)
total_reward += reward
if done:
break
total_success += info['success']
total_spl += info['spl']

Is it missing by mistake?

Exception: Failed to reset robot without collision

Hi Fei XIa,

I have a trouble with running demo.py file. Most of things are work very well except for num_indices = 36. See my log file as followings:
Could you please help to have a look at my problem?

using asset: path /home/cndm/Documents/GibsonEnvV2/gibson2/assets dataset path: /home/cndm/Documents/GibsonEnvV2/gibson2/assets/dataset
device 0 is available for rendering
device 1 is not available for rendering
device 2 is not available for rendering
device 3 is not available for rendering
using device 0
fisheye False
building scene: Ohoopee
floors [-2.3225653171539307, 0.03626394644379616, 2.945486545562744]
attrib.vertices = 699732
attrib.normals = 699732
attrib.texcoords = 625656
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5])}
(233244, 3) (233244, 3) (312828, 2)

material_id = 0
num_indices = 1373199
mesh_materials [0]
turtlebot/turtlebot.urdf
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/kobuki_description/meshes/main_body.obj (0.0010000000474974513, 0.0, 0.051989998668432236) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 12666
attrib.normals = 12666
attrib.texcoords = 9128
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(4222, 3) (4222, 3) (4564, 2)

material_id = 0
num_indices = 25320
mesh_materials [0, 1]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/mjcf_primitives/cube.obj (0.02, 0.01, 0.0) (0.0010000000474974513, 0.0, 0.051989998668432236) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0)
attrib.vertices = 24
attrib.normals = 18
attrib.texcoords = 8
Num materials: 0
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(8, 3) (6, 3) (4, 2)
cube
material_id = -1
num_indices = 36
mesh_materials [0, 1, 3]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/kobuki_description/meshes/wheel.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 7188
attrib.normals = 7188
attrib.texcoords = 5376
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(2396, 3) (2396, 3) (2688, 2)

material_id = 0
num_indices = 14364
mesh_materials [0, 1, 3, 4]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/mjcf_primitives/cube.obj (0.0176, 0.017, 0.0) (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (0.28125, 0.51953125, 0.92578125, 1.0)
attrib.vertices = 24
attrib.normals = 18
attrib.texcoords = 8
Num materials: 0
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125))}
(8, 3) (6, 3) (4, 2)
cube
material_id = -1
num_indices = 36
mesh_materials [0, 1, 3, 4, 6]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/mjcf_primitives/cube.obj (0.0176, 0.017, 0.0) (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (0.234375, 0.7265625, 0.328125, 1.0)
attrib.vertices = 24
attrib.normals = 18
attrib.texcoords = 8
Num materials: 0
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125))}
(8, 3) (6, 3) (4, 2)
cube
material_id = -1
num_indices = 36
mesh_materials [0, 1, 3, 4, 6, 7]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/stacks/hexagons/pole_bottom.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 684
attrib.normals = 684
attrib.texcoords = 932
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(228, 3) (228, 3) (466, 2)

material_id = 0
num_indices = 1356
mesh_materials [0, 1, 3, 4, 6, 7, 8]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/stacks/hexagons/plate_bottom.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 672
attrib.normals = 672
attrib.texcoords = 924
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(224, 3) (224, 3) (462, 2)

material_id = 0
num_indices = 1332
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/stacks/hexagons/pole_middle.obj (0.0, 0.0, 0.0) (0.0, 0.999999999999999, 0.0, -4.371139000186241e-08) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 816
attrib.normals = 816
attrib.texcoords = 1108
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 12: Material(type: texture, texture_id: 11, color: [0.5, 0.5, 0.5]), 13: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(272, 3) (272, 3) (554, 2)

material_id = 0
num_indices = 1620
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10, 12]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/stacks/hexagons/plate_middle.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 1548
attrib.normals = 1548
attrib.texcoords = 2112
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 12: Material(type: texture, texture_id: 11, color: [0.5, 0.5, 0.5]), 13: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 14: Material(type: texture, texture_id: 12, color: [0.5, 0.5, 0.5]), 15: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(516, 3) (516, 3) (1056, 2)

material_id = 0
num_indices = 3084
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10, 12, 14]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/stacks/hexagons/pole_top.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 324
attrib.normals = 324
attrib.texcoords = 448
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 12: Material(type: texture, texture_id: 11, color: [0.5, 0.5, 0.5]), 13: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 14: Material(type: texture, texture_id: 12, color: [0.5, 0.5, 0.5]), 15: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 16: Material(type: texture, texture_id: 13, color: [0.5, 0.5, 0.5]), 17: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(108, 3) (108, 3) (224, 2)

material_id = 0
num_indices = 636
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10, 12, 14, 16]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/stacks/hexagons/pole_kinect.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 1020
attrib.normals = 1020
attrib.texcoords = 1224
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 12: Material(type: texture, texture_id: 11, color: [0.5, 0.5, 0.5]), 13: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 14: Material(type: texture, texture_id: 12, color: [0.5, 0.5, 0.5]), 15: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 16: Material(type: texture, texture_id: 13, color: [0.5, 0.5, 0.5]), 17: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 18: Material(type: texture, texture_id: 14, color: [0.5, 0.5, 0.5]), 19: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(340, 3) (340, 3) (612, 2)

material_id = 0
num_indices = 2028
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10, 12, 14, 16, 18]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/stacks/hexagons/plate_top.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.0, 1.0) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 1548
attrib.normals = 1548
attrib.texcoords = 2112
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 12: Material(type: texture, texture_id: 11, color: [0.5, 0.5, 0.5]), 13: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 14: Material(type: texture, texture_id: 12, color: [0.5, 0.5, 0.5]), 15: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 16: Material(type: texture, texture_id: 13, color: [0.5, 0.5, 0.5]), 17: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 18: Material(type: texture, texture_id: 14, color: [0.5, 0.5, 0.5]), 19: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 20: Material(type: texture, texture_id: 15, color: [0.5, 0.5, 0.5]), 21: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(516, 3) (516, 3) (1056, 2)

material_id = 0
num_indices = 3084
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10, 12, 14, 16, 18, 20]
/home/cndm/Documents/GibsonEnvV2/gibson2/assets/models/turtlebot/turtlebot_description/meshes/sensors/kinect.obj (0.0, 0.0, 0.0) (0.0, 0.0, 0.7071067966408575, 0.7071067657322372) (1.0, 1.0, 1.0, 1.0) (1.0, 1.0, 1.0)
attrib.vertices = 9639
attrib.normals = 9639
attrib.texcoords = 7588
Num materials: 1
material_0
[1.0, 1.0, 1.0]
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 12: Material(type: texture, texture_id: 11, color: [0.5, 0.5, 0.5]), 13: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 14: Material(type: texture, texture_id: 12, color: [0.5, 0.5, 0.5]), 15: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 16: Material(type: texture, texture_id: 13, color: [0.5, 0.5, 0.5]), 17: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 18: Material(type: texture, texture_id: 14, color: [0.5, 0.5, 0.5]), 19: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 20: Material(type: texture, texture_id: 15, color: [0.5, 0.5, 0.5]), 21: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 22: Material(type: texture, texture_id: 16, color: [0.5, 0.5, 0.5]), 23: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0))}
(3213, 3) (3213, 3) (3794, 2)

material_id = 0
num_indices = 19254
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22]
attrib.vertices = 24
attrib.normals = 18
attrib.texcoords = 8
Num materials: 0
Num shapes: 1
{0: Material(type: texture, texture_id: 6, color: [0.5, 0.5, 0.5]), 1: Material(type: texture, texture_id: 7, color: [0.5, 0.5, 0.5]), 2: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 3: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 4: Material(type: texture, texture_id: 8, color: [0.5, 0.5, 0.5]), 5: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 6: Material(type: color, texture_id: None, color: (0.28125, 0.51953125, 0.92578125)), 7: Material(type: color, texture_id: None, color: (0.234375, 0.7265625, 0.328125)), 8: Material(type: texture, texture_id: 9, color: [0.5, 0.5, 0.5]), 9: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 10: Material(type: texture, texture_id: 10, color: [0.5, 0.5, 0.5]), 11: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 12: Material(type: texture, texture_id: 11, color: [0.5, 0.5, 0.5]), 13: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 14: Material(type: texture, texture_id: 12, color: [0.5, 0.5, 0.5]), 15: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 16: Material(type: texture, texture_id: 13, color: [0.5, 0.5, 0.5]), 17: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 18: Material(type: texture, texture_id: 14, color: [0.5, 0.5, 0.5]), 19: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 20: Material(type: texture, texture_id: 15, color: [0.5, 0.5, 0.5]), 21: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 22: Material(type: texture, texture_id: 16, color: [0.5, 0.5, 0.5]), 23: Material(type: color, texture_id: None, color: (1.0, 1.0, 1.0)), 24: Material(type: color, texture_id: None, color: (0.0, 0.0, 1.0))}
(8, 3) (6, 3) (4, 2)
cube
material_id = -1
num_indices = 36
mesh_materials [0, 1, 3, 4, 6, 7, 8, 10, 12, 14, 16, 18, 20, 22, 24]
pybullet build time: Dec 17 2019 12:16:21
startThreads creating 1 threads.
starting thread 0
started thread 0
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
X11 functions dynamically loaded using dlopen/dlsym OK!
X11 functions dynamically loaded using dlopen/dlsym OK!
Creating context
Created GL 3.3 context
Direct GLX rendering context obtained
Making context current
GL_VENDOR=NVIDIA Corporation
GL_RENDERER=GeForce RTX 2070/PCIe/SSE2
GL_VERSION=3.3.0 NVIDIA 440.44
GL_SHADING_LANGUAGE_VERSION=3.30 NVIDIA via Cg compiler
pthread_getconcurrency()=0
Version = 3.3.0 NVIDIA 440.44
Vendor = NVIDIA Corporation
Renderer = GeForce RTX 2070/PCIe/SSE2
b3Printf: Selected demo: Physics Server
startThreads creating 1 threads.
starting thread 0
started thread 0
MotionThreadFunc thread started
ven = NVIDIA Corporation
Traceback (most recent call last):
File "examples/demo/demo.py", line 13, in
nav_env.reset()
File "/home/cndm/Documents/GibsonEnvV2/gibson2/envs/locomotor_env.py", line 587, in reset
state = super(NavigateRandomEnv, self).reset()
File "/home/cndm/Documents/GibsonEnvV2/gibson2/envs/locomotor_env.py", line 519, in reset
self.reset_agent()
File "/home/cndm/Documents/GibsonEnvV2/gibson2/envs/locomotor_env.py", line 502, in reset_agent
raise Exception("Failed to reset robot without collision")
Exception: Failed to reset robot without collision
numActiveThreads = 0
stopping threads
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore
main semaphore destroyed
finished
numActiveThreads = 0
btShutDownExampleBrowser stopping threads
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore
main semaphore destroyed

Panoramic image

Hello!
How to extract a panoramic image from the simulator? Can I create 6 cameras in different directions to take 6 shots and stitch them together?

Thanks for your attention.

pytest failed with 'Unable to initialize EGL' on ubuntu18.04

Problem

Hello developers, I get trapped to install GibsonEnvV2, and need some help.

I follow the instruction in README.md, and everything goes OK. When running pytest and example/demo/demo.py, it just failed with 'Unable to initialize EGL'.

Tried solutions

  • Still failed with the same error Unable to initialize EGL
  1. create a new conda env, where re-install with USE_GLAD=FALSE (suggested by @fxia22 in #2 )
  2. update software with sudo apt-get update and sudo apt-get upgrade (suggested by @GELIELEO in #6 )

Details

I followed the instruction in README.md (except some trival modifications to speedup)

git clone https://github.com/fxia22/gibsonv2 --recursive
cd gibsonv2

#conda create -n py3-gibson python=3.6 anaconda 
conda create -n py3-gibson python=3.6
source activate py3-gibson
#pip install  -e .
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -e .

pip install pytest
cd test 
pytest

and it pytest just failed:

    def test_device():
>       assert len(get_available_devices()) > 0
E       assert 0 > 0
E        +  where 0 = len([])
E        +    where [] = get_available_devices()

test_binding.py:6: AssertionError
----------------------------- Captured stdout call -----------------------------
Command '['/home/xt/Documents/data/GibsonEnvV2/gibson2/core/render/mesh_renderer/build/test_device', '0']' returned non-zero exit status 1.
Command '['/home/xt/Documents/data/GibsonEnvV2/gibson2/core/render/mesh_renderer/build/test_device', '1']' returned non-zero exit status 1.
----------------------------- Captured stderr call -----------------------------
Unable to initialize EGL
Unable to initialize EGL

More info

  1. resut of cat /etc/issue
Ubuntu 18.04.3 LTS \n \l
  1. result of ./egl_example (@fxia22 in #6 )
Unable to initialize EGL
  1. result of nvidia-smi
Wed Oct 16 20:28:54 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.26       Driver Version: 430.26       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   33C    P5    19W / 250W |    342MiB / 11173MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      2111      G   /usr/lib/xorg/Xorg                           145MiB |
|    0      2817      G   /usr/bin/gnome-shell                          98MiB |
|    0      3851      G   ...quest-channel-token=4969585977617316725    95MiB |
+-----------------------------------------------------------------------------+
  1. result of ldconfig -p | grep libOpenGL
	libOpenGL.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
	libOpenGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libOpenGL.so
  1. result of ldconfig -p | grep GL
	libvtkRenderingVolumeOpenGLTCL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGLTCL-6.3.so.6.3
	libvtkRenderingVolumeOpenGLTCL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGLTCL-6.3.so
	libvtkRenderingVolumeOpenGLPython27D-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGLPython27D-6.3.so.6.3
	libvtkRenderingVolumeOpenGLPython27D-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGLPython27D-6.3.so
	libvtkRenderingVolumeOpenGL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGL-6.3.so.6.3
	libvtkRenderingVolumeOpenGL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingVolumeOpenGL-6.3.so
	libvtkRenderingOpenGLTCL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingOpenGLTCL-6.3.so.6.3
	libvtkRenderingOpenGLTCL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingOpenGLTCL-6.3.so
	libvtkRenderingOpenGLPython27D-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingOpenGLPython27D-6.3.so.6.3
	libvtkRenderingOpenGLPython27D-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingOpenGLPython27D-6.3.so
	libvtkRenderingOpenGL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingOpenGL-6.3.so.6.3
	libvtkRenderingOpenGL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingOpenGL-6.3.so
	libvtkRenderingGL2PSPython27D-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingGL2PSPython27D-6.3.so.6.3
	libvtkRenderingGL2PSPython27D-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingGL2PSPython27D-6.3.so
	libvtkRenderingGL2PS-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingGL2PS-6.3.so.6.3
	libvtkRenderingGL2PS-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingGL2PS-6.3.so
	libvtkRenderingGLtoPSTCL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingGLtoPSTCL-6.3.so.6.3
	libvtkRenderingGLtoPSTCL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingGLtoPSTCL-6.3.so
	libvtkRenderingContextOpenGLTCL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingContextOpenGLTCL-6.3.so.6.3
	libvtkRenderingContextOpenGLTCL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingContextOpenGLTCL-6.3.so
	libvtkRenderingContextOpenGLPython27D-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingContextOpenGLPython27D-6.3.so.6.3
	libvtkRenderingContextOpenGLPython27D-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingContextOpenGLPython27D-6.3.so
	libvtkRenderingContextOpenGL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingContextOpenGL-6.3.so.6.3
	libvtkRenderingContextOpenGL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkRenderingContextOpenGL-6.3.so
	libvtkGUISupportQtOpenGL-6.3.so.6.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkGUISupportQtOpenGL-6.3.so.6.3
	libvtkGUISupportQtOpenGL-6.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libvtkGUISupportQtOpenGL-6.3.so
	libQt5OpenGL.so.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5
	libQt5OpenGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so
	libQtOpenGL.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
	libOpenGL.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
	libOpenGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libOpenGL.so
	libGLdispatch.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
	libGLdispatch.so.0 (libc6) => /usr/lib/i386-linux-gnu/libGLdispatch.so.0
	libGLdispatch.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLdispatch.so
	libGLX_nvidia.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0
	libGLX_nvidia.so.0 (libc6) => /usr/lib/i386-linux-gnu/libGLX_nvidia.so.0
	libGLX_mesa.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
	libGLX_mesa.so.0 (libc6) => /usr/lib/i386-linux-gnu/libGLX_mesa.so.0
	libGLX.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLX.so.0
	libGLX.so.0 (libc6) => /usr/lib/i386-linux-gnu/libGLX.so.0
	libGLX.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLX.so
	libGLU.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLU.so.1
	libGLU.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLU.so
	libGLEW.so.2.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLEW.so.2.0
	libGLEW.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLEW.so
	libGLESv2_nvidia.so.2 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.2
	libGLESv2_nvidia.so.2 (libc6) => /usr/lib/i386-linux-gnu/libGLESv2_nvidia.so.2
	libGLESv2.so.2 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLESv2.so.2
	libGLESv2.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLESv2.so
	libGLESv1_CM_nvidia.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.1
	libGLESv1_CM_nvidia.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGLESv1_CM_nvidia.so.1
	libGLESv1_CM.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1
	libGLESv1_CM.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so
	libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so.1
	libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/libGL.so.1
	libGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGL.so
	libEGL_nvidia.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.0
	libEGL_nvidia.so.0 (libc6) => /usr/lib/i386-linux-gnu/libEGL_nvidia.so.0
	libEGL_mesa.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
	libEGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL.so.1
	libEGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL.so

Thank you!

Why don't I see Fetch's arm in RobotView?

Hello,

I was wondering if in the RobotView window, I'm able to see Fetch's arm when it is in the vision field of the robot?

I don't see it, but I might be misusing the software so if someone from the development team could tell me if this feature is supported or not, that would be very helpful. Thanks !

IndexError in ShapeNet object load

This seems like a shapenet data issue, but either way there is a problem at the following line when loading shapenet objects:

material_id = shape.mesh.material_ids[0] # assume one shape only has one material

The issue is that there is a shape with empty material_ids (as well as empty indices). For instance, I am testing with

>>> obj_path = 'ShapeNetCore.v2/02828884/bc6914d649379349ab3be97afdba4e8d/models/model_normalized.obj'
>>> reader = tinyobjloader.ObjReader()
>>> reader.ParseFromFile(obj_path)
>>> shapes = reader.GetShapes()
>>> [ len(shape.mesh.material_ids) for shape in shapes ]
[120, 6908, 116, 124, 124, 24, 24, 240, 24, 24, 24, 932, 8, 16, 16, 16, 16, 16, 20, 16, 0]

When the referenced code gets to the last shape in the list, it encounters the error.

Build failing on mac

Probably because it needs CUDA?

dbatra at dbatra-mbp in ~/iGibson on master
$ pip install -e .
Obtaining file:///Users/dbatra/iGibson
Requirement already satisfied: numpy==1.16.6 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (1.16.6)
Requirement already satisfied: scipy==1.2.3 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (1.2.3)
Requirement already satisfied: gym==0.12 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (0.12.0)
Requirement already satisfied: PyYAML in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (5.3.1)
Requirement already satisfied: pybullet==2.6.4 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (2.6.4)
Requirement already satisfied: transforms3d==0.3.1 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (0.3.1)
Requirement already satisfied: tqdm==4.19.9 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (4.19.9)
Requirement already satisfied: Pillow==6.1.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (6.1.0)
Requirement already satisfied: matplotlib==2.2.5 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (2.2.5)
Requirement already satisfied: cloudpickle==1.2.2 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (1.2.2)
Requirement already satisfied: opencv-python==4.2.0.32 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (4.2.0.32)
Requirement already satisfied: aenum==2.2.3 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (2.2.3)
Requirement already satisfied: GPUtil==1.4.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (1.4.0)
Requirement already satisfied: networkx==2.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (2.0)
Requirement already satisfied: ipython==5.9.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (5.9.0)
Requirement already satisfied: pytest==4.6.9 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (4.6.9)
Requirement already satisfied: future in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gibson2==0.0.4) (0.18.2)
Requirement already satisfied: six in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gym==0.12->gibson2==0.0.4) (1.14.0)
Requirement already satisfied: pyglet>=1.2.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gym==0.12->gibson2==0.0.4) (1.5.3)
Requirement already satisfied: requests>=2.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from gym==0.12->gibson2==0.0.4) (2.23.0)
Requirement already satisfied: pytz in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from matplotlib==2.2.5->gibson2==0.0.4) (2019.3)
Requirement already satisfied: cycler>=0.10 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from matplotlib==2.2.5->gibson2==0.0.4) (0.10.0)
Requirement already satisfied: python-dateutil>=2.1 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from matplotlib==2.2.5->gibson2==0.0.4) (2.8.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from matplotlib==2.2.5->gibson2==0.0.4) (2.4.7)
Requirement already satisfied: kiwisolver>=1.0.1 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from matplotlib==2.2.5->gibson2==0.0.4) (1.2.0)
Requirement already satisfied: decorator>=4.1.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from networkx==2.0->gibson2==0.0.4) (4.4.2)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (1.0.18)
Requirement already satisfied: pickleshare in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (0.7.5)
Requirement already satisfied: simplegeneric>0.8 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (0.8.1)
Requirement already satisfied: appnope; sys_platform == "darwin" in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (0.1.0)
Requirement already satisfied: setuptools>=18.5 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (46.1.3.post20200330)
Requirement already satisfied: pygments in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (2.6.1)
Requirement already satisfied: traitlets>=4.2 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (4.3.3)
Requirement already satisfied: pexpect; sys_platform != "win32" in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from ipython==5.9.0->gibson2==0.0.4) (4.8.0)
Requirement already satisfied: attrs>=17.4.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (19.3.0)
Requirement already satisfied: more-itertools>=4.0.0; python_version > "2.7" in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (8.2.0)
Requirement already satisfied: packaging in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (20.3)
Requirement already satisfied: pluggy<1.0,>=0.12 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (0.13.1)
Requirement already satisfied: wcwidth in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (0.1.9)
Requirement already satisfied: py>=1.5.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (1.8.1)
Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (1.6.0)
Requirement already satisfied: atomicwrites>=1.0 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pytest==4.6.9->gibson2==0.0.4) (1.3.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from requests>=2.0->gym==0.12->gibson2==0.0.4) (1.25.8)
Requirement already satisfied: idna<3,>=2.5 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from requests>=2.0->gym==0.12->gibson2==0.0.4) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from requests>=2.0->gym==0.12->gibson2==0.0.4) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from requests>=2.0->gym==0.12->gibson2==0.0.4) (2020.4.5.1)
Requirement already satisfied: ipython-genutils in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from traitlets>=4.2->ipython==5.9.0->gibson2==0.0.4) (0.2.0)
Requirement already satisfied: ptyprocess>=0.5 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from pexpect; sys_platform != "win32"->ipython==5.9.0->gibson2==0.0.4) (0.6.0)
Requirement already satisfied: zipp>=0.5 in /anaconda3/envs/gibson2/lib/python3.6/site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pytest==4.6.9->gibson2==0.0.4) (3.1.0)
Installing collected packages: gibson2
  Running setup.py develop for gibson2
    ERROR: Command errored out with exit status 1:
     command: /anaconda3/envs/gibson2/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/dbatra/iGibson/setup.py'"'"'; __file__='"'"'/Users/dbatra/iGibson/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
         cwd: /Users/dbatra/iGibson/
    Complete output (60 lines):
    running develop
    running egg_info
    writing gibson2.egg-info/PKG-INFO
    writing dependency_links to gibson2.egg-info/dependency_links.txt
    writing requirements to gibson2.egg-info/requires.txt
    writing top-level names to gibson2.egg-info/top_level.txt
    reading manifest file 'gibson2.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'gibson2.egg-info/SOURCES.txt'
    running build_ext
    -- The C compiler identification is AppleClang 10.0.1.10010046
    -- The CXX compiler identification is AppleClang 10.0.1.10010046
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
    -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- pybind11 v2.3.dev0
    CMake Error at /anaconda3/envs/gibson2/share/cmake-3.14/Modules/FindCUDA.cmake:700 (message):
      Specify CUDA_TOOLKIT_ROOT_DIR
    Call Stack (most recent call first):
      CMakeLists.txt:35 (find_package)


    -- Configuring incomplete, errors occurred!
    See also "/Users/dbatra/iGibson/build/temp.macosx-10.9-x86_64-3.6/CMakeFiles/CMakeOutput.log".
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Users/dbatra/iGibson/setup.py", line 139, in <module>
        include_package_data=True,
      File "/anaconda3/envs/gibson2/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
        return distutils.core.setup(**attrs)
      File "/anaconda3/envs/gibson2/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/anaconda3/envs/gibson2/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/anaconda3/envs/gibson2/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/anaconda3/envs/gibson2/lib/python3.6/site-packages/setuptools/command/develop.py", line 38, in run
        self.install_for_development()
      File "/anaconda3/envs/gibson2/lib/python3.6/site-packages/setuptools/command/develop.py", line 140, in install_for_development
        self.run_command('build_ext')
      File "/anaconda3/envs/gibson2/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/anaconda3/envs/gibson2/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/Users/dbatra/iGibson/setup.py", line 55, in run
        self.build_extension(ext)
      File "/Users/dbatra/iGibson/setup.py", line 89, in build_extension
        subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
      File "/anaconda3/envs/gibson2/lib/python3.6/subprocess.py", line 311, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '/Users/dbatra/iGibson/gibson2/core/render', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/dbatra/iGibson/gibson2/core/render/mesh_renderer', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/dbatra/iGibson/gibson2/core/render/mesh_renderer/build', '-DPYTHON_EXECUTABLE=/anaconda3/envs/gibson2/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /anaconda3/envs/gibson2/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/dbatra/iGibson/setup.py'"'"'; __file__='"'"'/Users/dbatra/iGibson/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

Ideal trajectory execution and visualization

Hi, is there an example code to generate Figure 7 from iGibson paper (i.e., top down visualization of executed path, shortest path, initial location, and target location)?

Also, is there a way to automatically execute actions that follow the ideal waypoints to collect expert trajectories?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.