Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple sensors #311

Open
cjmdd opened this issue Jan 18, 2025 · 1 comment
Open

multiple sensors #311

cjmdd opened this issue Jan 18, 2025 · 1 comment

Comments

@cjmdd
Copy link

cjmdd commented Jan 18, 2025

How to add multiple sensors (multi view camera and LiDAR)? How to establish a connection with Isaac gym/sim ixi

@alex-petrenko
Copy link
Owner

Hi @cjmdd
Handling multiple sensory inputs is relatively straightforward.

  1. the environment observation space needs to be a dict. Multiple keys in the dict are responsible for different sensors. There are many envs that implement dictionary observation spaces like this, VizDoom and DMlab are some examples
  2. You will need a custom model (custom "encoder" specifically) to encode multiple sensory inputs. Some docs on custom models here: https://www.samplefactory.dev/03-customization/custom-models/
  3. See these docs for isaacgym integration https://www.samplefactory.dev/09-environment-integrations/isaacgym/

For some inspiration, here's a project where we trained a Doom agent with up to three sensory inputs:

  • RGB images (pixels)
  • audio signal (sounds from the game)
  • in-game data like health, ammo, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants