RocketEnvironmentArguments#

class do_dpc.environments.rocket_env.rocket_env_facade.RocketEnvironmentArguments(initial_position=None, initial_state=None, enable_wind=False, enable_moving_barge=False)[source]#

Bases: object

Defines the initial conditions and environment settings for a rocket simulation.

initial_position#

The initial position of the rocket in 3D space (x, y, z). If not provided, defaults to (0.5, 0.4, 0).

Type:

Optional[Tuple[float, float, float]]

initial_state#

The initial state of the rocket, including position, velocity, and orientation.

Type:

Optional[Tuple[float, float, float, float, float, float]]

enable_wind#

If True, wind effects are included in the simulation. Default is False.

Type:

bool

enable_moving_barge#

If True, the landing barge moves during the simulation. Default is False.

Type:

bool

Methods#

as_dict#

do_dpc.environments.rocket_env.rocket_env_facade.RocketEnvironmentArguments.as_dict(self)#

Converts the class instance into a dictionary.

Returns:

A dictionary representation of the instance.

Return type:

dict

Attributes#

enable_moving_barge#

RocketEnvironmentArguments.enable_moving_barge: bool = False#

enable_wind#

RocketEnvironmentArguments.enable_wind: bool = False#

initial_position#

RocketEnvironmentArguments.initial_position: Optional[Tuple[float, float, float]] = None#

initial_state#

RocketEnvironmentArguments.initial_state: Optional[Tuple[float, float, float, float, float, float]] = None#