All Projects → Healthcare-Robotics → Assistive Gym

Healthcare-Robotics / Assistive Gym

Licence: mit
Assistive Gym, a physics-based simulation framework for physical human-robot interaction and robotic assistance.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Assistive Gym

Articulations Robot Demo
Stars: ✭ 145 (-3.33%)
Mutual labels:  robotics, physics-simulation, simulation
Spirit
Atomistic Spin Simulation Framework
Stars: ✭ 67 (-55.33%)
Mutual labels:  physics-simulation, simulation
Underwater simulation
UWSim-NET, the Underwater Simulator
Stars: ✭ 63 (-58%)
Mutual labels:  robotics, simulation
Hand dapg
Repository to accompany RSS 2018 paper on dexterous hand manipulation
Stars: ✭ 88 (-41.33%)
Mutual labels:  robotics, simulation
Bullet3
Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.
Stars: ✭ 8,714 (+5709.33%)
Mutual labels:  robotics, simulation
Sdformat
Simulation Description Format (SDFormat) parser and description files.
Stars: ✭ 51 (-66%)
Mutual labels:  robotics, simulation
Ign Gazebo
Open source robotics simulator. Through Ignition Gazebo users have access to high fidelity physics, rendering, and sensor models. Additionally, users and developers have multiple points of entry to simulation including a graphical user interface, plugins, and asynchronous message passing and services. Ignition Gazebo is derived from Gazebo, and represents over 16 years of development and experience in robotics and simulation. This library is part of the Ignition Robotics project.
Stars: ✭ 81 (-46%)
Mutual labels:  robotics, simulation
Awesome Robotics
A curated list of awesome links and software libraries that are useful for robots.
Stars: ✭ 478 (+218.67%)
Mutual labels:  robotics, simulation
Webots
Webots Robot Simulator
Stars: ✭ 1,324 (+782.67%)
Mutual labels:  robotics, simulation
Awesome Emulators Simulators
A curated list of software emulators and simulators of PCs, home computers, mainframes, consoles, robots and much more...
Stars: ✭ 94 (-37.33%)
Mutual labels:  robotics, simulation
Gym Ignition
Framework for developing OpenAI Gym robotics environments simulated with Ignition Gazebo
Stars: ✭ 97 (-35.33%)
Mutual labels:  robotics, simulation
Nasoq
NASOQ:Numerically Accurate Sparsity Oriented QP Solver
Stars: ✭ 30 (-80%)
Mutual labels:  robotics, physics-simulation
Ros Academy For Beginners
中国大学MOOC《机器人操作系统入门》代码示例 ROS tutorial
Stars: ✭ 861 (+474%)
Mutual labels:  robotics, simulation
Plankton
Open source simulator for maritime robotics researchers
Stars: ✭ 51 (-66%)
Mutual labels:  robotics, simulation
Dart
Dynamic Animation and Robotics Toolkit
Stars: ✭ 596 (+297.33%)
Mutual labels:  robotics, simulation
Awesome Robotics Libraries
😎 A curated list of robotics libraries and software
Stars: ✭ 1,159 (+672.67%)
Mutual labels:  robotics, simulation
Unity Robotics Hub
Central repository for tools, tutorials, resources, and documentation for robotics simulation in Unity.
Stars: ✭ 439 (+192.67%)
Mutual labels:  physics-simulation, simulation
Robosuite
robosuite: A Modular Simulation Framework and Benchmark for Robot Learning
Stars: ✭ 462 (+208%)
Mutual labels:  robotics, physics-simulation
Scrimmage
Multi-Agent Robotics Simulator
Stars: ✭ 93 (-38%)
Mutual labels:  robotics, simulation
Simbody
High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton.
Stars: ✭ 1,808 (+1105.33%)
Mutual labels:  robotics, physics-simulation

Assistive Gym v1.0

v1.0 (this branch) has been released! See the feature list below for what is new in v1.0.

Assistive Gym in also now supported in Google Colab! For example: Open In Colab

See the Wiki for all available Google Colab examples.


Assistive Gym is a physics-based simulation framework for physical human-robot interaction and robotic assistance.

Assistive Gym is integrated into the OpenAI Gym interface, enabling the use of existing reinforcement learning and control algorithms to teach robots how to interact with people.

Assistive Gym

Paper

A paper on Assistive Gym can be found at https://arxiv.org/pdf/1910.04700.pdf

Z. Erickson, V. Gangaram, A. Kapusta, C. K. Liu, and C. C. Kemp, “Assistive Gym: A Physics Simulation Framework for Assistive Robotics”, IEEE International Conference on Robotics and Automation (ICRA), 2020.

@article{erickson2020assistivegym,
  title={Assistive Gym: A Physics Simulation Framework for Assistive Robotics},
  author={Erickson, Zackory and Gangaram, Vamsee and Kapusta, Ariel and Liu, C. Karen and Kemp, Charles C.},
  journal={IEEE International Conference on Robotics and Automation (ICRA)},
  year={2020}
}

Install

Google Colab

Open In Colab
Try out Assistive Gym in Google Colab. Assistive Gym is fully supported in Google Colab (online Python Jupyter notebook). Click on the link above for an example. Everything runs online, so you won't need to install anything on your local machine!

All of the available Google Colab examples are listed on the Wiki-Google Colab

Basic install (if you just want to use existing environments without changing them)

pip3 install --upgrade pip
pip3 install git+https://github.com/Healthcare-Robotics/assistive-gym.git

We recommend using Python 3.6 (although other Python 3.x versions may still work). You can either download Python 3.6 here, or use pyenv to install Python 3.6 in a local directory, e.g. pyenv install 3.6.5; pyenv local 3.6.5

Full installation (to edit/create environments) using a python virtual environment

We encourage installing Assistive Gym and its dependencies in a python virtualenv.
Installation instructions for Windows can also be found in the Install Guide.

python3 -m pip install --user virtualenv
python3 -m venv env
source env/bin/activate
pip3 install --upgrade pip
git clone https://github.com/Healthcare-Robotics/assistive-gym.git
cd assistive-gym
pip3 install -e .

Getting Started

We provide a 10 Minute Getting Started Guide to help you get familiar with using Assistive Gym for assistive robotics research.

You can visualize the various Assistive Gym environments using the environment viewer.
A full list of available environment can be found Here (Environments).

python3 -m assistive_gym --env "FeedingJaco-v1"

We provide pretrained control policies for each robot and assistive task.
See Running Pretrained Policies for details on how to run a pretrained policy.

See Training New Policies for documentation on how to train new control policies for Assistive Gym environments.

Finally, Creating a New Assistive Environment discusses the process of creating an Assistive Gym environment for your own human-robot interaction tasks.

See a list of common commands available in Assistive Gym Open In Colab

New Features in v1.0

Clean code syntax

v1.0 example (getting robot left end effector velocity)

end_effector_velocity = self.robot.get_velocity(self.robot.left_end_effector)

Old v0.1 (using default PyBullet syntax)

end_effector_velocity = p.getLinkState(self.robot, 76 if self.robot_type=='pr2' else 19 if self.robot_type=='sawyer' 
                                       else 48 if self.robot_type=='baxter' else 8, computeForwardKinematics=True, 
                                       computeLinkVelocity=True, physicsClientId=self.id)[6]

Google Colab Support

Open In Colab
Assistive Gym is now supported in Google Colab! Tons of new examples are now available for developing and learning with Assistive Gym in Google Colab. See the Wiki-Google Colab for a list of all the available example notebooks.

Support for mobile bases (mobile manipulation)

For robots with mobile bases, locomotion control is now supported. Ground frictions and slip can be dynamically changed for domain randomization.

Reference this Google Colab notebook Open In Colab for an example of mobile base control.
 
Mobile bases

Support for the Stretch and PANDA robots

Stretch PANDA

Multi-robot control support

Assitive Gym now provides an interface for simulating and controlling multiple robots and people, all through the OpenAI Gym framework. See this example of multi-robot control Open In Colab.
 
Multi-robot

Integration with iGibson

Assistive Gym can now be used with iGibson to simulate human-robot interaction in a visually realistic interactive home environment.
An example of using iGibson with Assistive Gym is available in this Google Colab notebook Open In Colab.
 
AG iGibson

Static human mesh models (with SMPL-X)

SMPL-X human mesh models are now supported in Assistive Gym. See this wiki page for details of how to use these human mesh models.

A Google Colab example of building a simple robot-assisted feeding environment with SMPL-X human meshes is also available: Assistive Gym with SMPL-X in Colab Open In Colab
 
SMPL-X human meshes 1 SMPL-X human meshes 2


Base Features

Human and robot models

Customizable female and male human models (default body sizes and weights matching 50th percentile humans).
40 actuated human joints (head, torso, arms, waist, and legs)
 
Human models
 
Four collaborative robots (PR2, Jaco, Baxter, Sawyer).
 
Robot models

Realistic human joint limits

Building off of prior research, Assistive Gym provides a model for realistic pose-dependent human joint limits.
 
Realistic human joint limits

Robot base pose optimization

A robot's base pose can greatly impact the robot’s ability to physically assist people.
We provide a baseline method using joint-limit-weighted kinematic isotopy (JLWKI) to select good base poses near a person.
With JLWKI, the robot chooses base poses (position and yaw orientation) with high manipulability near end effector goals.
 
Robot base pose optimization

Human preferences

During assistance, a person will typically prefer for the robot not to spill water on them, or apply large forces to their body.
Assistive Gym provides a baseline set of human preferences unified across all tasks, which are incorporated directly into the reward function. This allows robots to learn to provide assistance that is consist with a person's preferences.
 
Human preferences

Refer to the paper for details on features in Assistive Gym.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].