simulation.src.simulation_evaluation.src.speaker package
Subpackages
- simulation.src.simulation_evaluation.src.speaker.speakers package
- Subpackages
- simulation.src.simulation_evaluation.src.speaker.speakers.test package
- Submodules
- simulation.src.simulation_evaluation.src.speaker.speakers.test.fake_msgs module
- simulation.src.simulation_evaluation.src.speaker.speakers.test.test_area_speaker module
- simulation.src.simulation_evaluation.src.speaker.speakers.test.test_event_speaker module
- simulation.src.simulation_evaluation.src.speaker.speakers.test.test_speaker module
- simulation.src.simulation_evaluation.src.speaker.speakers.test.test_speed_speaker module
- simulation.src.simulation_evaluation.src.speaker.speakers.test.test_zone_speaker module
- simulation.src.simulation_evaluation.src.speaker.speakers.test.utils module
- Module contents
- simulation.src.simulation_evaluation.src.speaker.speakers.test package
- Submodules
- simulation.src.simulation_evaluation.src.speaker.speakers.area module
- simulation.src.simulation_evaluation.src.speaker.speakers.broadcast module
- simulation.src.simulation_evaluation.src.speaker.speakers.event module
- simulation.src.simulation_evaluation.src.speaker.speakers.speaker module
LabeledSpeakerPolygonSpeakerSpeaker.sectionsSpeaker.get_lanesSpeaker.get_obstaclesSpeaker.get_intersectionSpeaker.listen()Speaker.speak()Speaker.middle_lineSpeaker.left_lineSpeaker.right_lineSpeaker.arc_lengthSpeaker.section_intervalsSpeaker.current_sectionSpeaker.get_road_lines()Speaker._get_labeled_polygons()Speaker.get_obstacles_in_section()Speaker.get_traffic_signs_in_section()Speaker.get_surface_markings_in_section()Speaker.get_interval_for_polygon()Speaker.car_is_inside()Speaker.wheel_count_inside()Speaker.car_overlaps_with()
- simulation.src.simulation_evaluation.src.speaker.speakers.speed module
- simulation.src.simulation_evaluation.src.speaker.speakers.zone module
- Module contents
SpeakerSpeaker.sectionsSpeaker.get_lanesSpeaker.get_obstaclesSpeaker.get_intersectionSpeaker.listen()Speaker.speak()Speaker.middle_lineSpeaker.left_lineSpeaker.right_lineSpeaker.arc_lengthSpeaker.section_intervalsSpeaker.current_sectionSpeaker.get_road_lines()Speaker._get_labeled_polygons()Speaker.get_obstacles_in_section()Speaker.get_traffic_signs_in_section()Speaker.get_surface_markings_in_section()Speaker.get_interval_for_polygon()Speaker.car_is_inside()Speaker.wheel_count_inside()Speaker.car_overlaps_with()
EventSpeakerAreaSpeakerSpeedSpeakerZoneSpeakerBroadcastSpeaker
- Subpackages
Submodules
simulation.src.simulation_evaluation.src.speaker.node module
ROS node that connects multiple speakers to ROS topics.
Classes:
ROS node that integrates all speakers into the ROS framework. |
- class SpeakerNode[source]
Bases:
NodeBaseROS node that integrates all speakers into the ROS framework.
- speakers
All speakers with their message type and a publisher that publishes messages created by the speaker.
- Type:
List[Tuple[Speaker, rospy.Message, rospy.Publisher]]
- subscriber
Receive CarState messages with position and speed of the car.
- Type:
rospy.Subscriber
- section_proxy, lane_proxy, parking_proxy, obstacle_proxy, intersection_proxy
Proxies that the speakers need to request groundtruth information.
- Type:
rospy.ServiceProxy
Methods:
start()Called when activating the node.
stop()Called when deactivating or shutting down the node.
carstate_cb(msg)Receive CarState message and pass it to all speakers.
Receive GroundtruthStatus message.
Publish the output of all speakers.
- carstate_cb(msg: CarState)[source]
Receive CarState message and pass it to all speakers.
- Parameters:
msg – New CarState message