Git Product home page Git Product logo

Comments (7)

Dzhange avatar Dzhange commented on May 25, 2024 1

Somehow got it working:

  1. I upgraded pybullet to newest version
  2. changed the render in getCameraImage to ER_TINY_RENDERER

image

from rex-gym.

nicrusso7 avatar nicrusso7 commented on May 25, 2024 1

Awesome! thanks for pointing this out.

from rex-gym.

nicrusso7 avatar nicrusso7 commented on May 25, 2024

Hi,
you can toggle the pybullet gui pressing 'g'. Check this out for shortcuts: https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=13176

Let me know if this work for you.

Thanks!

from rex-gym.

Dzhange avatar Dzhange commented on May 25, 2024

Hi,
you can toggle the pybullet gui pressing 'g'. Check this out for shortcuts: https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=13176

Let me know if this work for you.

Thanks!

Sorry I didn't make it clear, in fact I'm running Rex on a headless server, so I couldn't visiualize through the GUI, and I initialized the rex-gym environment with env = config.env(render=False, **self.args), and tried to get camera image during simulation. In the end I got the image shown above, where the rex robot is visible but the terrain(I set it tomounts) disappeared. I'm wondering how could I render the terrain in that case

Thanks!

from rex-gym.

nicrusso7 avatar nicrusso7 commented on May 25, 2024

Now I see what you meant, thanks. So the terrain is created here and I can't see why it is actually "invisible" when you run it in headless mode. Did you tried any other terrain? e.g. random. I suspect there is a graphical issue going on

from rex-gym.

Dzhange avatar Dzhange commented on May 25, 2024

Yeah I tried all terrains but none of them was rendered. If you would like to reproduce the problem, just call the render function somewhere and store the returned img.

from rex-gym.

Dzhange avatar Dzhange commented on May 25, 2024

I also tried to render without GUI on a machine with monitor, and the terrain is still not showing :( .

from rex-gym.

Related Issues (20)

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.