sumocr package
Subpackages
- sumocr.interactive_scenarios package
- sumocr.interface package
- Submodules
- sumocr.interface.ego_vehicle module
EgoVehicle
EgoVehicle.add_state()
EgoVehicle.current_state
EgoVehicle.current_time_step
EgoVehicle.driven_trajectory
EgoVehicle.get_dynamic_obstacle()
EgoVehicle.get_planned_state()
EgoVehicle.get_planned_trajectory
EgoVehicle.get_state_at_timestep()
EgoVehicle.goal
EgoVehicle.initial_state
EgoVehicle.length
EgoVehicle.pp_id
EgoVehicle.set_planned_trajectory()
EgoVehicle.width
- sumocr.interface.id_mapper module
- sumocr.interface.params module
- sumocr.interface.sumo_simulation module
SumoSimulation
SumoSimulation.check_ego_collisions()
SumoSimulation.check_lanelets_future_change()
SumoSimulation.commonroad_scenario_at_time_step()
SumoSimulation.commonroad_scenarios_all_time_steps()
SumoSimulation.current_time_step
SumoSimulation.ego_vehicles
SumoSimulation.get_ego_obstacles()
SumoSimulation.init_ego_vehicles_from_planning_problem()
SumoSimulation.initialize()
SumoSimulation.is_in_field_of_view()
SumoSimulation.scenarios
SumoSimulation.simulate_step()
SumoSimulation.sort_ego_first()
SumoSimulation.stop()
SumoSimulation.sync_obstacle_to_sumo_simulation()
SumoSimulation.sync_traffic_light_to_sumo_simulation()
- sumocr.interface.sumo_simulation_backend module
GuiSumoSimulationBackend
HeadlessSumoSimulationBackend
SumoSimulationBackend
SumoSimulationBackend.add_person()
SumoSimulationBackend.add_vehicle()
SumoSimulationBackend.edge_domain
SumoSimulationBackend.initialize()
SumoSimulationBackend.lane_domain
SumoSimulationBackend.move_person()
SumoSimulationBackend.move_vehicle()
SumoSimulationBackend.person_domain
SumoSimulationBackend.remove_person()
SumoSimulationBackend.remove_vehicle()
SumoSimulationBackend.route_domain
SumoSimulationBackend.set_vehicle_shape()
SumoSimulationBackend.simulation_domain
SumoSimulationBackend.simulation_step()
SumoSimulationBackend.start()
SumoSimulationBackend.stop()
SumoSimulationBackend.traffic_light_domain
SumoSimulationBackend.vehicle_domain
SumoSimulationBackend.vehicle_type_domain
SumoSimulationBackendConfiguration
TraciApiSumoSimulationBackend
TraciApiSumoSimulationBackend.edge_domain
TraciApiSumoSimulationBackend.initialize()
TraciApiSumoSimulationBackend.lane_domain
TraciApiSumoSimulationBackend.person_domain
TraciApiSumoSimulationBackend.route_domain
TraciApiSumoSimulationBackend.simulation_domain
TraciApiSumoSimulationBackend.simulation_step()
TraciApiSumoSimulationBackend.start()
TraciApiSumoSimulationBackend.stop()
TraciApiSumoSimulationBackend.traffic_light_domain
TraciApiSumoSimulationBackend.vehicle_domain
TraciApiSumoSimulationBackend.vehicle_type_domain
- sumocr.interface.sumo_simulation_interface module
- sumocr.interface.util module
EgoCollisionError
NetError
RouteError
SumoSignalIndices
SumoSignalIndices.VEH_SIGNAL_BACKDRIVE
SumoSignalIndices.VEH_SIGNAL_BLINKER_EMERGENCY
SumoSignalIndices.VEH_SIGNAL_BLINKER_LEFT
SumoSignalIndices.VEH_SIGNAL_BLINKER_RIGHT
SumoSignalIndices.VEH_SIGNAL_BRAKELIGHT
SumoSignalIndices.VEH_SIGNAL_DOOR_OPEN_LEFT
SumoSignalIndices.VEH_SIGNAL_DOOR_OPEN_RIGHT
SumoSignalIndices.VEH_SIGNAL_EMERGENCY_BLUE
SumoSignalIndices.VEH_SIGNAL_EMERGENCY_RED
SumoSignalIndices.VEH_SIGNAL_EMERGENCY_YELLOW
SumoSignalIndices.VEH_SIGNAL_FOGLIGHT
SumoSignalIndices.VEH_SIGNAL_FRONTLIGHT
SumoSignalIndices.VEH_SIGNAL_HIGHBEAM
SumoSignalIndices.VEH_SIGNAL_WIPER
cr_obstacle_type_to_sumo_vehicle_class()
get_route_files()
get_signal_state()
sumo_vehicle_class_to_cr_obstacle_type()
- Module contents
- sumocr.scenario package
- sumocr.sumo_config package
- Submodules
- sumocr.sumo_config.default module
DefaultConfig
DefaultConfig.add_lanelets_to_dyn_obstacles
DefaultConfig.compute_orientation
DefaultConfig.consistency_window
DefaultConfig.delta_steps
DefaultConfig.departure_interval_vehicles
DefaultConfig.driving_params
DefaultConfig.dt
DefaultConfig.ego_ids
DefaultConfig.ego_start_time
DefaultConfig.ego_veh_length
DefaultConfig.ego_veh_width
DefaultConfig.field_of_view
DefaultConfig.figsize_x
DefaultConfig.figsize_y
DefaultConfig.fringe_factor
DefaultConfig.from_dict()
DefaultConfig.from_scenario_name()
DefaultConfig.lane_change_sync
DefaultConfig.lane_change_tol
DefaultConfig.lanelet_check_time_window
DefaultConfig.lateral_resolution
DefaultConfig.logging_level
DefaultConfig.max_veh_per_km
DefaultConfig.n_ego_vehicles
DefaultConfig.n_vehicles_max
DefaultConfig.overwrite_speed_limit
DefaultConfig.plot_auto
DefaultConfig.plot_x1
DefaultConfig.plot_x2
DefaultConfig.plot_y1
DefaultConfig.plot_y2
DefaultConfig.presimulation_steps
DefaultConfig.protection_margin
DefaultConfig.random_seed
DefaultConfig.scenario_name
DefaultConfig.scenarios_path
DefaultConfig.simulation_steps
DefaultConfig.unrestricted_max_speed_default
DefaultConfig.unrestricted_speed_limit_default
DefaultConfig.veh_distribution
DefaultConfig.veh_params
DefaultConfig.veh_per_second
DefaultConfig.vehicle_length_interval
DefaultConfig.vehicle_width_interval
DefaultConfig.video_end
DefaultConfig.video_start
DefaultConfig.wait_pos_internal_junctions
DefaultConfig.window_height
DefaultConfig.window_width
DefaultConfig.with_sumo_gui
InteractiveSumoConfigDefault
InteractiveSumoConfigDefault.compute_orientation
InteractiveSumoConfigDefault.delta_steps
InteractiveSumoConfigDefault.dt
InteractiveSumoConfigDefault.ego_start_time
InteractiveSumoConfigDefault.ego_veh_length
InteractiveSumoConfigDefault.ego_veh_width
InteractiveSumoConfigDefault.field_of_view
InteractiveSumoConfigDefault.lateral_resolution
InteractiveSumoConfigDefault.logging_level
InteractiveSumoConfigDefault.presimulation_steps
InteractiveSumoConfigDefault.random_seed
InteractiveSumoConfigDefault.scenario_name
InteractiveSumoConfigDefault.scenarios_path
InteractiveSumoConfigDefault.simulation_steps
InteractiveSumoConfigDefault.veh_params
InteractiveSumoConfigDefault.vehicle_length_interval
InteractiveSumoConfigDefault.vehicle_width_interval
ParamType
- sumocr.sumo_config.pathConfig module
- sumocr.sumo_config.plot_params module
- Module contents
- sumocr.sumo_docker package
- sumocr.visualization package
Submodules
sumocr.helpers module
- sumocr.helpers.get_sumo_binary_path()[source]
searchs for the ‘sumo’ binary at the most common locations on the current system.
- Return type:
Path
- Returns:
The path to the ‘sumo’ binary. The path is guaranteed to be valid.
- Raises:
RuntimeError – If no ‘sumo’ binary could be found on the system.
- sumocr.helpers.get_sumo_gui_binary_path()[source]
searchs for the ‘sumo-gui’ binary at the most common locations on the current system.
- Return type:
Path
- Returns:
The path to the ‘sumo-gui’ binary. The path is guaranteed to be valid.
- Raises:
RuntimeError – If no ‘sumo-gui’ binary could be found on the system.