Cube Single Disk Environment
The SingleDisk Cube Environment is based on the Cubi Robot created at ETH Zurich.
Its a simpler version with only one inertial disk instead of the three of the original.
Robot Environment
openai_ros.robot_envs.cube_single_disk_env module
- 
class 
openai_ros.robot_envs.cube_single_disk_env.CubeSingleDiskEnv[source] 
Bases: openai_ros.robot_gazebo_env.RobotGazeboEnv
Superclass for all CubeSingleDisk environments.
- 
__init__()[source] 
Initializes a new CubeSingleDisk environment.
Args:
- 
__module__ = 'openai_ros.robot_envs.cube_single_disk_env' 
- 
_check_all_sensors_ready()[source] 
- 
_check_all_systems_ready()[source] 
Checks that all the sensors, publishers and other simulation systems are
operational.
- 
_check_joint_states_ready()[source] 
- 
_check_odom_ready()[source] 
- 
_check_publishers_connection()[source] 
Checks that all the publishers are working
:return:
- 
_compute_reward(observations, done)[source] 
Calculates the reward to give based on the observations given.
- 
_get_obs()[source] 
- 
_init_env_variables()[source] 
Inits variables needed to be initialised each time we reset at the start
of an episode.
- 
_is_done(observations)[source] 
Checks if episode done based on observations given.
- 
_joints_callback(data)[source] 
- 
_odom_callback(data)[source] 
- 
_set_action(action)[source] 
Applies the given action to the simulation.
- 
_set_init_pose()[source] 
Sets the Robot in its init pose
- 
get_joints()[source] 
- 
get_odom()[source] 
- 
move_joints(roll_speed)[source] 
- 
wait_until_roll_is_in_vel(velocity)[source]