simulation.src.simulation_evaluation.src.speaker.speakers.speed module

Definition of the SpeedSpeaker class.

Summary

Classes:

SpeedSpeaker

Publish information about the cars speed.

Reference

class SpeedSpeaker(time: float = 0, speed_factor: float = 36.0, stop_threshold: float = 1, halt_time: float = 1, stop_time: float = 3)[source]

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

Publish information about the cars speed.

speak(current_time: Optional[float] = None) → List[simulation_evaluation.msg._Speaker.Speaker][source]

List of SpeakerMsgs with the current speed as the only entry.