File size: 9,855 Bytes
5a6766e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | Robots
=======
.. figure:: ../images/robots_module_v15.png
**Robots** are a key component in **robosuite**, and serve as the embodiment of a given agent as well as the central interaction point within an environment and key interface to MuJoCo for the robot-related state and control. **robosuite** captures this level of abstraction with the `Robot <../simulation/robot>`_-based classes, with support for both single-armed and bimanual variations, as well as robots with mobile manipulation capabilities, including both legged and wheeled variants. In turn, the Robot class is centrally defined by a `RobotModel <../modeling/robot_model>`_, `RobotBaseModel <../modeling/robot_model.html#robot-base-model>`_, `GripperModel <../modeling/robot_model.html#gripper-model>`_, and `Controller(s) <../simulation/controller>`_. Subclasses of the ``RobotModel`` class may also include additional models as well; for example, the `ManipulatorModel <../modeling/robot_model.html#manipulator-model>`_ class also includes `GripperModel(s) <../modeling/robot_model.html#gripper-model>`_ (with no gripper being represented by a dummy class).
The high-level features of **robosuite**'s robots are described as follows:
* **Diverse and Realistic Models**: **robosuite** provides models for 10 commercially-available robots (including the humanoid GR1 Robot), 9 grippers (including the inspire dexterous hand model), 4 bases (including the Omron wheeled mobile base), and 6 body-part controllers, with model properties either taken directly from official product documentation or raw spec sheets. An additional 8 robots, 8 grippers, and 3 bases can be installed separately from the `robosuite-models <https://github.com/ARISE-Initiative/robosuite_models>`_ repository.
* **Modularized Support**: Robots are designed to be plug-n-play -- any combinations of robots, models, and controllers can be used, assuming the given environment is intended for the desired robot configuration. Because each robot is assigned a unique ID number, multiple instances of identical robots can be instantiated within the simulation without error.
* **Self-Enclosed Abstraction**: For a given task and environment, any information relevant to the specific robot instance can be found within the properties and methods within that instance. This means that each robot is responsible for directly setting its initial state within the simulation at the start of each episode, and also directly controls the robot in simulation via torques outputted by its controller's transformed actions.
Usage
=====
Below, we discuss the usage and functionality of the robots over the course of its program lifetime.
Initialization
--------------
During environment creation (``suite.make(...)``), individual robots are both instantiated and initialized. The desired RobotModel, RobotBaseModel, and Controller(s) (where multiple and/or additional models may be specified, e.g. for manipulator bimanual robots) are loaded into each robot, with the models being passed into the environment to compose the final MuJoCo simulation object. Each robot is then set to its initial state.
Runtime
-------
During a given simulation episode (each ``env.step(...)`` call), the environment will receive a set of actions and distribute them accordingly to each robot, according to their respective action spaces. Each robot then converts these actions into low-level torques via their respective controllers, and directly executes these torques in the simulation. At the conclusion of the environment step, each robot will pass its set of robot-specific observations to the environment, which will then concatenate and append additional task-level observations before passing them as output from the ``env.step(...)`` call.
Callables
---------
At any given time, each robot has a set of ``properties`` whose real-time values can be accessed at any time. These include specifications for a given robot, such as its DoF, action dimension, and torque limits, as well as proprioceptive values, such as its joint positions and velocities. Additionally, if the robot is enabled with any sensors, those readings can also be polled as well. A full list of robot properties can be found in the `Robots API <../simulation/robot.html>`_ section.
Models
======
**robosuite** is designed to be generalizable to multiple robotic domains. The current release focuses on manipulator robots. For adding new robots, we provide a `rudimentary guide <https://docs.google.com/document/d/1bSUKkpjmbKqWyV5Oc7_4VL4FGKAQZx8aWm_nvlmTVmE/edit?usp=sharing>`_ on how to import raw Robot and Gripper models (based on a URDF source file) into robosuite.
Manipulators
------------
.. list-table::
:widths: 15 50 35
:header-rows: 1
* - Robot
- Image
- Description
* - **Panda**
- .. image:: ../images/models/robot_model_Panda_isaac.png
:width: 90%
:align: center
- - **DoF:** 7
- **Default Gripper:** PandaGripper
- **Default Base:** RethinkMount
* - **Sawyer**
- .. image:: ../images/models/robot_model_Sawyer_isaac.png
:width: 90%
:align: center
- - **DoF:** 7
- **Default Gripper:** RethinkGripper
- **Default Base:** RethinkMount
* - **IIWA**
- .. image:: ../images/models/robot_model_IIWA_isaac.png
:width: 90%
:align: center
- - **DoF:** 7
- **Default Gripper:** Robotiq140Gripper
- **Default Base:** RethinkMount
* - **Jaco**
- .. image:: ../images/models/robot_model_Jaco_isaac.png
:width: 90%
:align: center
- - **DoF:** 7
- **Default Gripper:** JacoThreeFingerGripper
- **Default Base:** RethinkMount
* - **Kinova3**
- .. image:: ../images/models/robot_model_Kinova3_isaac.png
:width: 90%
:align: center
- - **DoF:** 7
- **Default Gripper:** Robotiq85Gripper
- **Default Base:** RethinkMount
* - **UR5e**
- .. image:: ../images/models/robot_model_UR5e_isaac.png
:width: 90%
:align: center
- - **DoF:** 6
- **Default Gripper:** Robotiq85Gripper
- **Default Base:** RethinkMount
* - **Baxter**
- .. image:: ../images/models/robot_model_Baxter_isaac.png
:width: 90%
:align: center
- - **DoF:** 14
- **Default Gripper:** RethinkGripper
- **Default Base:** RethinkMount
* - **GR1**
- .. image:: ../images/models/robot_model_GR1_isaac.png
:width: 90%
:align: center
- - **DoF:** 24
- **Default Gripper:** InspireHands
- **Default Base:** NoActuationBase
- **Variants**: GR1FixedLowerBody, GR1FloatingBody, GR1ArmsOnly
* - **Spot**
- .. image:: ../images/models/robot_model_Spot_isaac.png
:width: 90%
:align: center
- - **DoF:** 19
- **Default Gripper:** BDGripper
- **Default Base:** Spot
- **Variants**: SpotWithArmFloating
* - **Tiago**
- .. image:: ../images/models/robot_model_Tiago_isaac.png
:width: 90%
:align: center
- - **DoF:** 20
- **Default Gripper:** Robotiq85Gripper
- **Default Base:** NullMobileBase
Grippers
--------
.. list-table::
:widths: 20 45 35
:header-rows: 1
* - Gripper
- Image
- Description
* - **BD Gripper**
- .. image:: ../images/models/bd_gripper.png
:width: 90%
:align: center
- - **DoF:** 1
* - **Inspire Hands**
- .. image:: ../images/models/inspire_hands.png
:width: 90%
:align: center
- - **DoF:** 6
* - **Jaco Three Finger Gripper**
- .. image:: ../images/models/jaco_gripper.png
:width: 90%
:align: center
- - **DoF:** 1 (3 for dexterous version)
* - **Panda Gripper**
- .. image:: ../images/models/panda_gripper.png
:width: 90%
:align: center
- - **DoF:** 1
* - **Rethink Gripper**
- .. image:: ../images/models/rethink_gripper.png
:width: 90%
:align: center
- - **DoF:** 1
* - **Robotiq 85 Gripper**
- .. image:: ../images/models/robotiq85_gripper.png
:width: 90%
:align: center
- - **DoF:** 1
* - **Robotiq 140 Gripper**
- .. image:: ../images/models/robotiq140_gripper.png
:width: 90%
:align: center
- - **DoF:** 1
* - **Robotiq Three Finger Gripper**
- .. image:: ../images/models/robotiq_three_gripper.png
:width: 90%
:align: center
- - **DoF:** 1
* - **Wiping Gripper**
- .. image:: ../images/models/wiping_gripper.png
:width: 90%
:align: center
- - **DoF:** 0
Bases
-----
.. list-table::
:widths: 20 45 35
:header-rows: 1
* - Gripper
- Image
- Description
* - **Rethink Mount**
- .. image:: ../images/models/rethink_base.png
:width: 90%
:align: center
- - **Type:** Fixed
* - **Rethink Minimal Mount**
- .. image:: ../images/models/rethink_minimal_base.png
:width: 90%
:align: center
- - **Type:** Fixed
* - **Omron Mobile Base**
- .. image:: ../images/models/omron_base.png
:width: 90%
:align: center
- - **Type:** Mobile
* - **Spot Base**
- .. image:: ../images/models/spot_base.png
:width: 90%
:align: center
- - **Type:** Legged
Create Your Own Robot
----------------------
As of v1.5, users can create composite robots to match their specification. Specificially, arms, grippers, and bases can be swapped to create new robots configurations. We also provide several other robot models in an external repo. For more information, please refer to `here <https://github.com/ARISE-Initiative/robosuite_models>`_.
|