simulation.src.simulation_evaluation.src.speaker.speakers.broadcast module

Summary

Classes:

BroadcastSpeaker

Keep high level information about the drive (e.g.

Reference

class BroadcastSpeaker(*, section_proxy: Callable[], List[simulation_groundtruth.msg._Section.Section]], lane_proxy: Callable[[int], simulation_groundtruth.msg._Lane.Lane], obstacle_proxy: Optional[Callable[[int], List[simulation_groundtruth.msg._LabeledPolygon.LabeledPolygon]]] = None, surface_marking_proxy: Optional[Callable[[int], List[simulation_groundtruth.msg._LabeledPolygon.LabeledPolygon]]] = None, intersection_proxy: Optional[Callable[[int], Any]] = None, sign_proxy: Optional[Callable[[int], List[simulation_groundtruth.msg._LabeledPolygon.LabeledPolygon]]] = None)[source]

Bases: simulation.src.simulation_evaluation.src.speaker.speakers.speaker.Speaker

Keep high level information about the drive (e.g. speed, distance driven).

Instead of returning Speaker msgs this speaker returns a Broadcast msg.

speak() → List[simulation_evaluation.msg._Broadcast.Broadcast][source]

Return a new broadcast msg in a list.