freneticlib.executors.beamng.beamng_executor

Module Contents

Classes

BeamNGExecutor

Helper class that provides a standard way to create an ABC using

Attributes

FloatDTuple

KMH_TO_MS_FACTOR

freneticlib.executors.beamng.beamng_executor.FloatDTuple
freneticlib.executors.beamng.beamng_executor.KMH_TO_MS_FACTOR = 0.277778
class freneticlib.executors.beamng.beamng_executor.BeamNGExecutor(representation: freneticlib.representations.abstract_representation.RoadRepresentation, objective: freneticlib.core.objective.Objective, results_path: str | pathlib.Path = None, cps_pipeline_path: str | pathlib.Path = None, beamng_home=None, beamng_user=None, oob_tolerance: float = 0.95, max_speed_in_kmh: int = 70, risk_value: float = 0.7, road_valildator=None)[source]

Bases: freneticlib.executors.executor.Executor

Helper class that provides a standard way to create an ABC using inheritance.

CALCULATED_FEATURES = ['timer', 'pos', 'dir', 'vel', 'steering', 'steering_input', 'brake', 'brake_input', 'throttle',...
_execute(test: List) Dict[source]
_is_the_car_moving(last_state)[source]

Check if the car moved in the past 10 seconds

_run_simulation(the_test) SimulationData[source]
end_iteration()[source]
_close()[source]