is_rocket_outside_reasonable_bounds

is_rocket_outside_reasonable_bounds#

Class method.

do_dpc.environments.rocket_env.rocket_utils.is_rocket_outside_reasonable_bounds(output)[source]#

Checks if the rocket is outside reasonable safety bounds.

Parameters:

output (np.ndarray) – A state vector containing position, angle, and velocity components.

Returns:

True if the rocket is outside reasonable bounds, False otherwise.

Return type:

bool