freneticlib.representations.theta_representation

Module Contents

Classes

AbstractThetaRepresentation

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

FixStepThetaRepresentation

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

ThetaRepresentation

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

Functions

thetas_to_cartesian(x0, y0, theta0, ss_deltas, ...)

freneticlib.representations.theta_representation.thetas_to_cartesian(x0, y0, theta0, ss_deltas, delta_thetas)[source]
class freneticlib.representations.theta_representation.AbstractThetaRepresentation(length: int, variation: int = 0, bound: float = np.pi / 12, delta: float = np.pi / 36)[source]

Bases: freneticlib.representations.abstract_representation.RoadRepresentation, abc.ABC

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

get_theta(previous: List = None)[source]
class freneticlib.representations.theta_representation.FixStepThetaRepresentation(length: int, variation: int = 0, step: float = 10, bound: float = np.pi / 12, delta: float = np.pi / 36)[source]

Bases: AbstractThetaRepresentation

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

get_value(previous: List = None)[source]
to_cartesian(test)[source]
class freneticlib.representations.theta_representation.ThetaRepresentation(length: int, variation: int = 0, low_step: float = 5.0, high_step: float = 15.0, bound: float = 0.07, delta: float = np.pi / 36)[source]

Bases: AbstractThetaRepresentation

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

get_step()[source]
get_value(previous: List = None)[source]
to_cartesian(test)[source]