ut-amrl / SocialGym2

SocialGym 2: A lightweight benchmark and simulator for multi-robot social navigation using ROS and the OpenAI gym.

Home Page:https://amrl.cs.utexas.edu/SocialGym2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the codebase for our multi-agent simulator for real world social navigation. Installation instructions ca be found below. Tutorials are provided in the documentation (currently under active development).

Read the paper

SOCIALGYM 2.0: Simulator for Multi-Agent Social Robot Navigation in Shared Human Spaces

Installation

Prerequisites

You need to have installed Docker and have a GPU.

WARNING: The authors of this project have had numerous issues with Docker and Docker-Compose when installed via snap. We recommend uninstalling docker and docker-compose if you have GPU-related issues with the docker images and installing them via apt.


1.) Clone the repo and checkout main

git clone git@github.com:ut-amrl/SocialGym2.git
git checkout main

2.) Install requirements and run the install script

python3 ./scripts/install_config_runner.py

3.) Run the Config Runner!

python3 config_runner/run.py -c 1_31_23/door/sacadrl.json

This should open an RVIS window (looks like a 2D grid with options on the side-panels). If you do NOT see this window, there's a problem with the docker file. First try running

sudo xhost +

and repeat the command. If it still fails to show windows then try adding --network host to the file {PROJECT_ROOT}/config_runner/run.sh on lines where we are setting docker environment variables. Otherwise, look up stuff like "cannot display window from docker container" -- this is critical for Social Gym to work.

3.) Have fun!

If you use this code, please cite the following


@article{sprague2023socialgym,
  title={SOCIALGYM 2.0: Simulator for Multi-Agent Social Robot Navigation in Shared Human Spaces},
  author={Sprague, Zayne and Chandra, Rohan and Holtz, Jarrett and Biswas, Joydeep},
  journal={arXiv preprint arXiv:2303.05584},
  year={2023}
}
@inproceedings{holtz2022socialgym,
  title={Socialgym: A framework for benchmarking social robot navigation},
  author={Holtz, Jarrett and Biswas, Joydeep},
  booktitle={2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
  pages={11246--11252},
  year={2022},
  organization={IEEE}
}

License


This project is released under the MIT License. Please review the License file for more details.

About

SocialGym 2: A lightweight benchmark and simulator for multi-robot social navigation using ROS and the OpenAI gym.

https://amrl.cs.utexas.edu/SocialGym2/

License:MIT License


Languages

Language:Python 90.9%Language:HTML 4.0%Language:JavaScript 2.2%Language:TeX 1.7%Language:CSS 0.8%Language:Lua 0.2%Language:Common Lisp 0.1%Language:PowerShell 0.0%Language:Shell 0.0%Language:Dockerfile 0.0%Language:C 0.0%Language:Makefile 0.0%Language:Batchfile 0.0%