rofunc.learning.RofuncRL.tasks.isaacgymenv.physhoi.base_task#

1.  Module Contents#

1.1.  Classes#

BaseTask

1.2.  Functions#

get_attr_val_from_sample

Retrieves param value for the given prop and attr from the sample.

1.3.  API#

class rofunc.learning.RofuncRL.tasks.isaacgymenv.physhoi.base_task.BaseTask(cfg, enable_camera_sensors=False)[source]#

Initialization

reset_done()[source]#

Reset the environment. Returns:

Observation dictionary, indices of environments being reset

property observation_space#

Get the environment’s observation space.

property action_space#

Get the environment’s action space.

set_sim_params_up_axis(sim_params, axis)[source]#
create_sim(compute_device, graphics_device, physics_engine, sim_params)[source]#
step(actions)[source]#
get_states()[source]#
render(sync_frame_time=False)[source]#
get_actor_params_info(dr_params, env)[source]#

Returns a flat array of actor params, their names and ranges.

apply_randomizations(dr_params)[source]#
abstract pre_physics_step(actions)[source]#
abstract post_physics_step()[source]#
rofunc.learning.RofuncRL.tasks.isaacgymenv.physhoi.base_task.get_attr_val_from_sample(sample, offset, prop, attr)[source]#

Retrieves param value for the given prop and attr from the sample.