File size: 4,241 Bytes
a15d286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
Robot
=====

The ``Robot`` class defines a simulation object encapsulating a robot model, gripper model, base model, and controller. Robosuite uses class extensions of this base class to model different robotic domains. The current release focuses on manipulation and mobility, and includes a ``MobileRobot`` class, which itself is extended by ``WheeledRobot`` and ``LeggedRobot`` classes representing different types of mobile robots.

Base Robot
----------
.. autoclass:: robosuite.robots.robot.Robot

  .. automethod:: _load_controller
  .. automethod:: _postprocess_part_controller_config
  .. automethod:: load_model
  .. automethod:: reset_sim
  .. automethod:: reset
  .. automethod:: setup_references
  .. automethod:: setup_observables
  .. automethod:: _create_arm_sensors
  .. automethod:: _create_base_sensors
  .. automethod:: control
  .. automethod:: check_q_limits
  .. autoproperty:: is_mobile
  .. autoproperty:: action_limits
  .. automethod:: _input2dict
  .. autoproperty:: torque_limits
  .. autoproperty:: action_dim
  .. autoproperty:: dof
  .. automethod:: pose_in_base_from_name
  .. automethod:: set_robot_joint_positions
  .. autoproperty:: js_energy
  .. autoproperty:: _joint_positions
  .. autoproperty:: _joint_velocities
  .. autoproperty:: joint_indexes
  .. autoproperty:: arm_joint_indexes
  .. automethod:: get_sensor_measurement
  .. automethod:: visualize
  .. automethod:: _visualize_grippers
  .. autoproperty:: action_limits
  .. autoproperty:: is_mobile
  .. autoproperty:: ee_ft_integral
  .. autoproperty:: ee_force
  .. autoproperty:: ee_torque
  .. autoproperty:: _hand_pose
  .. autoproperty:: _hand_quat
  .. autoproperty:: _hand_total_velocity
  .. autoproperty:: _hand_pos
  .. autoproperty:: _hand_orn
  .. autoproperty:: _hand_vel
  .. autoproperty:: _hand_ang_vel
  .. automethod:: _load_arm_controllers
  .. automethod:: enable_parts
  .. automethod:: enabled
  .. automethod:: create_action_vector
  .. automethod:: print_action_info
  .. automethod:: print_action_info_dict
  .. automethod:: get_gripper_name
  .. automethod:: has_part
  .. autoproperty:: _joint_split_idx
  .. autoproperty:: part_controllers


Fixed Base Robot
----------------
Tabletop manipulators.

.. autoclass:: robosuite.robots.fixed_base_robot.FixedBaseRobot
Mobile Base Robot
-----------------

``WheeledRobot`` and ``LeggedRobot`` are two types of mobile base robots supported in robosuite.

.. autoclass:: robosuite.robots.mobile_base_robot.MobileBaseRobot

  .. automethod:: _load_controller
  .. automethod:: load_model
  .. automethod:: reset
  .. automethod:: setup_references
  .. automethod:: control
  .. automethod:: setup_observables
  .. autoproperty:: action_limits
  .. autoproperty:: is_mobile
  .. autoproperty:: _action_split_indexes

Mobile robot
-------------
Base class for wheeled and legged robots.

.. autoclass:: robosuite.robots.mobile_robot.MobileRobot

  .. automethod:: _load_controller
  .. automethod:: _load_base_controller
  .. automethod:: _load_torso_controller
  .. automethod:: _load_head_controller
  .. automethod:: load_model
  .. automethod:: reset
  .. automethod:: setup_references
  .. automethod:: control
  .. automethod:: setup_observables
  .. automethod:: _create_base_sensors
  .. automethod:: enable_parts
  .. autoproperty:: is_mobile
  .. autoproperty:: base
  .. autoproperty:: torso
  .. autoproperty:: head
  .. autoproperty:: legs
  .. autoproperty:: _action_split_indexes

Wheeled Robot
-------------
Mobile robots with wheeled bases.

.. autoclass:: robosuite.robots.wheeled_robot.WheeledRobot

  .. automethod:: _load_controller
  .. automethod:: load_model
  .. automethod:: reset
  .. automethod:: setup_references
  .. automethod:: control
  .. automethod:: setup_observables
  .. autoproperty:: action_limits


Legged Robot
------------
Robots with legs.

.. autoclass:: robosuite.robots.legged_robot.LeggedRobot

  .. automethod:: _load_leg_controllers
  .. automethod:: _load_controller
  .. automethod:: load_model
  .. automethod:: reset
  .. automethod:: setup_references
  .. automethod:: control
  .. automethod:: setup_observables
  .. autoproperty:: action_limits
  .. autoproperty:: is_legs_actuated
  .. autoproperty:: num_leg_joints