freneticlib.representations.bezier_representation

Module Contents

Classes

BezierRepresentation

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

Functions

points_to_deltas(control_points)

freneticlib.representations.bezier_representation.points_to_deltas(control_points)[source]
class freneticlib.representations.bezier_representation.BezierRepresentation(control_nodes: int, variation: int = 0, max_angle=35, interpolation_nodes=20, seg_length=10)[source]

Bases: freneticlib.representations.abstract_representation.RoadRepresentation

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

generate()[source]

Generate a test of length self.length using the function get_value(previous points). :returns: (np.array) a list of delta values.

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