Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adept-thu/DIVER
/ functions
Functions
2,470 in github.com/adept-thu/DIVER
⨍
Functions
2,470
◇
Types & classes
452
↓ 1 callers
Method
_leave_crossing_space
Removes all vehicle in the middle of crossing trajectory and stops the nearby ones
scenario_runner/srunner/scenarios/background_activity.py:1839
↓ 1 callers
Method
_leave_space_in_front
Teleports all the vehicles in front of the ego forward
scenario_runner/srunner/scenarios/background_activity.py:1815
↓ 1 callers
Method
_load_and_run_scenario
Load and run the scenario given by config. Depending on what code fails, the simulation will either stop the route and conti
leaderboard/leaderboard/leaderboard_evaluator.py:306
↓ 1 callers
Method
_load_and_wait_for_world
Load a new CARLA world without changing the settings and provide data to CarlaDataProvider
leaderboard/leaderboard/leaderboard_evaluator.py:268
↓ 1 callers
Method
_load_and_wait_for_world
Load a new CARLA world and provide data to CarlaDataProvider
scenario_runner/scenario_runner.py:319
↓ 1 callers
Method
_load_catalogs
Read Catalog xml files into dictionary for later use NOTE: Catalogs must have distinct names, even across different types
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:106
↓ 1 callers
Method
_load_points
Private function to load point clouds data. Args: pts_filename (str): Filename of point clouds data. Returns:
mmdet3d_plugin/datasets/pipelines/loading.py:124
↓ 1 callers
Method
_monitor_ego_junction_exit
Monitors when the ego exits the junctions, preparing the road mode when that happens
scenario_runner/srunner/scenarios/background_activity.py:986
↓ 1 callers
Method
_monitor_incoming_junctions
Monitors when the ego approaches a junction, triggering that junction when it happens. This can be triggered even if there is another
scenario_runner/srunner/scenarios/background_activity.py:965
↓ 1 callers
Method
_monitor_road_changes
Checks if the ego changes road, remapping the route keys.
scenario_runner/srunner/scenarios/background_activity.py:2260
↓ 1 callers
Method
_monitor_topology_changes
Continually check the road in front to see if it has changed its topology. If the number of lanes reduces, merge the ending lane with
scenario_runner/srunner/scenarios/background_activity.py:1339
↓ 1 callers
Method
_move_opposite_sources
Moves the sources of the opposite direction back. Additionally, tracks a point a certain distance in front of the ego to see if the r
scenario_runner/srunner/scenarios/background_activity.py:1510
↓ 1 callers
Method
_move_road_sources
Moves the road sources so that they are always following the ego from behind
scenario_runner/srunner/scenarios/background_activity.py:1025
↓ 1 callers
Method
_move_waypoint_backwards
Moves backwards a certain distance, stopping at junctions
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3068
↓ 1 callers
Method
_move_waypoint_forward
(self, wp, distance)
scenario_runner/srunner/scenarios/vehicle_opens_door.py:102
↓ 1 callers
Method
_move_waypoint_forward
(self, wp, distance)
scenario_runner/srunner/scenarios/construction_crash_vehicle.py:98
↓ 1 callers
Method
_move_waypoint_forward
Moves forward a certain distance, stopping at junctions
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3055
↓ 1 callers
Method
_on_collision
(weak_self, event)
scenario_runner/manual_control.py:588
↓ 1 callers
Method
_on_gnss_event
(weak_self, event)
scenario_runner/manual_control.py:652
↓ 1 callers
Method
_on_invasion
(weak_self, event)
scenario_runner/manual_control.py:623
↓ 1 callers
Method
_on_obstacle
Callback for the obstacle sensor Sets _obstacle_distance and _obstacle_actor according to the closest obstacle found by the
scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py:128
↓ 1 callers
Method
_parse_events
(self)
scenario_runner/no_rendering_mode.py:1264
↓ 1 callers
Method
_parse_gnss_cb
(self, gnss_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:177
↓ 1 callers
Method
_parse_gnss_cb
parses gnss sensors
scenario_runner/srunner/autoagents/sensor_interface.py:95
↓ 1 callers
Method
_parse_image
(weak_self, image)
scenario_runner/manual_control.py:836
↓ 1 callers
Method
_parse_image_cb
(self, image, tag)
leaderboard/leaderboard/envs/sensor_interface.py:157
↓ 1 callers
Method
_parse_image_cb
parses cameras
scenario_runner/srunner/autoagents/sensor_interface.py:66
↓ 1 callers
Method
_parse_imu_cb
(self, imu_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:183
↓ 1 callers
Method
_parse_imu_cb
parses IMU sensors
scenario_runner/srunner/autoagents/sensor_interface.py:104
↓ 1 callers
Method
_parse_json_control
(self)
leaderboard/leaderboard/autoagents/human_agent.py:286
↓ 1 callers
Method
_parse_json_control
Gets the control corresponding to the current frame
scenario_runner/srunner/autoagents/human_agent.py:242
↓ 1 callers
Method
_parse_keys
(self, milliseconds)
scenario_runner/no_rendering_mode.py:1327
↓ 1 callers
Method
_parse_lidar_cb
(self, lidar_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:163
↓ 1 callers
Method
_parse_lidar_cb
parses lidar sensors
scenario_runner/srunner/autoagents/sensor_interface.py:75
↓ 1 callers
Method
_parse_mouse
(self)
scenario_runner/no_rendering_mode.py:1342
↓ 1 callers
Method
_parse_openscenario_configuration
Parse the given OpenSCENARIO config file, set and validate parameters
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:84
↓ 1 callers
Method
_parse_pseudosensor
(self, package, tag)
leaderboard/leaderboard/envs/sensor_interface.py:194
↓ 1 callers
Method
_parse_radar_cb
(self, radar_data, tag)
leaderboard/leaderboard/envs/sensor_interface.py:169
↓ 1 callers
Method
_parse_radar_cb
parses radar sensors
scenario_runner/srunner/autoagents/sensor_interface.py:84
↓ 1 callers
Method
_parse_vehicle_keys
Calculate new vehicle controls based on input keys
leaderboard/leaderboard/autoagents/human_agent.py:256
↓ 1 callers
Method
_parse_vehicle_keys
(self, keys, milliseconds)
scenario_runner/manual_control.py:335
↓ 1 callers
Method
_parse_vehicle_keys
Calculate new vehicle controls based on input keys
scenario_runner/srunner/autoagents/human_agent.py:212
↓ 1 callers
Method
_path_search
This function finds the shortest path connecting origin and destination using A* search with distance heuristic. origin
scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py:281
↓ 1 callers
Function
_phase_unwrap
Returns an array of heading angles equal mod 2 pi to the input heading angles, and such that the difference between successive output angles
tools/efficiency_smoothness_benchmark.py:214
↓ 1 callers
Method
_pid_control
Estimate the throttle/brake of the vehicle based on the PID equations :param target_speed: target speed in Km/h :pa
scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py:141
↓ 1 callers
Method
_pid_control
Estimate the steering angle of the vehicle based on the PID equations :param waypoint: target waypoint :param vehicl
scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py:207
↓ 1 callers
Method
_point_inside_boundingbox
(self, point, bb_center, bb_extent, multiplier=1.5)
tools/data_collect.py:826
↓ 1 callers
Method
_prepare_ego_vehicles
Spawn or update the ego vehicles
scenario_runner/scenario_runner.py:217
↓ 1 callers
Method
_preprocess_sensor_spec
(self, sensor_spec)
tools/data_collect.py:247
↓ 1 callers
Method
_preprocess_sensor_spec
(self, sensor_spec)
leaderboard/leaderboard/autoagents/agent_wrapper.py:295
↓ 1 callers
Method
_readd_road_lane
Adds a ego road lane. This is expected to be used after having previously removed such lane
scenario_runner/srunner/scenarios/background_activity.py:1874
↓ 1 callers
Method
_record_control
(self)
leaderboard/leaderboard/autoagents/human_agent.py:294
↓ 1 callers
Method
_record_control
Saves the list of control into a json file
scenario_runner/srunner/autoagents/human_agent.py:253
↓ 1 callers
Method
_record_criteria
Filter the JSON serializable attributes of the criterias and dumps them into a file. This will be used by the metrics manager,
scenario_runner/scenario_runner.py:287
↓ 1 callers
Method
_remove_junction_entries
Removes a list of entries of the closest junction (or marks them so that they aren't spawned)
scenario_runner/srunner/scenarios/background_activity.py:1999
↓ 1 callers
Method
_remove_junction_exits
Removes a list of exit of the closest junction (or marks them so that they aren't spawned)
scenario_runner/srunner/scenarios/background_activity.py:2034
↓ 1 callers
Method
_remove_road_lane
Removes a road lane
scenario_runner/srunner/scenarios/background_activity.py:1860
↓ 1 callers
Method
_render_speed_limits
(self, surface, list_sl, world_to_pixel, world_to_pixel_width)
scenario_runner/no_rendering_mode.py:1039
↓ 1 callers
Method
_render_traffic_lights
(self, surface, list_tl, world_to_pixel)
scenario_runner/no_rendering_mode.py:1009
↓ 1 callers
Method
_render_vehicles
(self, surface, list_v, world_to_pixel)
scenario_runner/no_rendering_mode.py:1090
↓ 1 callers
Method
_render_walkers
(self, surface, list_w, world_to_pixel)
scenario_runner/no_rendering_mode.py:1074
↓ 1 callers
Method
_replace_walker
As the adversary is probably, replace it with another one
scenario_runner/srunner/scenarios/object_crash_vehicle.py:350
↓ 1 callers
Method
_replace_walker
As the adversary is probably, replace it with another one
scenario_runner/srunner/scenarios/object_crash_vehicle.py:557
↓ 1 callers
Method
_replace_walker
As the adversary is probably, replace it with another one
scenario_runner/srunner/scenarios/object_crash_intersection.py:417
↓ 1 callers
Method
_replace_walker
As the adversary is probably, replace it with another one
scenario_runner/srunner/scenarios/pedestrian_crossing.py:220
↓ 1 callers
Method
_reset
Reset all parameters
scenario_runner/srunner/scenariomanager/scenario_manager.py:67
↓ 1 callers
Method
_reset_parameters
(self)
mmdet3d_plugin/models/attention.py:126
↓ 1 callers
Method
_reset_world_settings
Changes the modified world settings back to asynchronous
leaderboard/leaderboard/leaderboard_evaluator.py:249
↓ 1 callers
Function
_retrieve_options
Compute the type of connection between the current active waypoint and the multiple waypoints present in list_waypoints. The result is encode
scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py:287
↓ 1 callers
Method
_run_openscenario
Run a scenario based on OpenSCENARIO
scenario_runner/scenario_runner.py:490
↓ 1 callers
Method
_run_route
Run the route scenario
scenario_runner/scenario_runner.py:474
↓ 1 callers
Method
_run_scenarios
Run conventional scenarios (e.g. implemented using the Python API of ScenarioRunner)
scenario_runner/scenario_runner.py:451
↓ 1 callers
Method
_scan_for_stop_sign
Check the stop signs to see if any of them affect the actor. Ignore all checks when going backwards or through an opposite direction
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1867
↓ 1 callers
Method
_search_for_next_junction
Check if closeby to a junction. The closest one will always be the first
scenario_runner/srunner/scenarios/background_activity.py:937
↓ 1 callers
Method
_set_actor_information
Extract all actors and their corresponding specification NOTE: The rolename property has to be unique!
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:232
↓ 1 callers
Method
_set_actors_speed
Sets the speed of all the BA actors, using the ego's target speed as reference. This avoids issues with the speed limits, as newly cr
scenario_runner/srunner/scenarios/background_activity.py:2495
↓ 1 callers
Method
_set_carla_town
Extract the CARLA town (level) from the RoadNetwork information from OpenSCENARIO Note: The specification allows multiple Logics ele
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:155
↓ 1 callers
Method
_set_parameters
Parse the complete scenario definition file, and replace all parameter references with the actual values Set _global_paramet
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:217
↓ 1 callers
Method
_set_scenario_name
Extract the scenario name from the OpenSCENARIO header information
scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py:144
↓ 1 callers
Method
_set_sequence_group_flag
Set each sequence to be a different group
mmdet3d_plugin/datasets/nuscenes_3d_dataset.py:157
↓ 1 callers
Method
_set_sequence_group_flag
Set each sequence to be a different group
mmdet3d_plugin/datasets/b2d_3d_dataset.py:161
↓ 1 callers
Method
_set_traffic_event
Creates the traffic event / updates it
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py:1082
↓ 1 callers
Method
_setup_scenario_end
This function adds and additional behavior to the scenario, which is triggered after it has ended. The Blackboard variable is set to
scenario_runner/srunner/scenarios/basic_scenario.py:194
↓ 1 callers
Method
_setup_scenario_trigger
Normal scenario trigger but in parallel, a behavior that ensures the pedestrian stays active
scenario_runner/srunner/scenarios/object_crash_vehicle.py:363
↓ 1 callers
Method
_setup_scenario_trigger
This function creates a trigger maneuver, that has to be finished before the real scenario starts. This implementation focuses on the
scenario_runner/srunner/scenarios/basic_scenario.py:174
↓ 1 callers
Method
_setup_simulation
Prepares the simulation by getting the client, and setting up the world and traffic manager settings
leaderboard/leaderboard/leaderboard_evaluator.py:197
↓ 1 callers
Method
_spawn_actor
Spawns an actor
scenario_runner/srunner/scenarios/background_activity.py:2119
↓ 1 callers
Method
_spawn_actor
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3097
↓ 1 callers
Method
_spawn_actor
(self)
scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py:3214
↓ 1 callers
Method
_spawn_ego_vehicle
Spawn the ego vehicle at the first waypoint of the route
leaderboard/leaderboard/scenarios/route_scenario.py:144
↓ 1 callers
Method
_spawn_ego_vehicle
Spawn the ego vehicle at the first waypoint of the route
scenario_runner/srunner/scenarios/route_scenario.py:120
↓ 1 callers
Method
_spawn_hero
(self)
scenario_runner/no_rendering_mode.py:897
↓ 1 callers
Method
_spawn_obstacle
Spawns the obstacle actor by displacing its position to the right
scenario_runner/srunner/scenarios/route_obstacles.py:355
↓ 1 callers
Method
_spawn_side_prop
(self, wp)
scenario_runner/srunner/scenarios/route_obstacles.py:101
↓ 1 callers
Method
_spawn_side_prop
(self, wp)
scenario_runner/srunner/scenarios/route_obstacles.py:329
↓ 1 callers
Method
_spawn_side_prop
Spawn the accident indication signal
scenario_runner/srunner/scenarios/construction_crash_vehicle.py:109
↓ 1 callers
Method
_split_actors
(self)
scenario_runner/no_rendering_mode.py:975
↓ 1 callers
Method
_start_road_back_vehicles
Restarts all road vehicles stopped by `_stop_road_back_vehicles`.
scenario_runner/srunner/scenarios/background_activity.py:1778
↓ 1 callers
Method
_start_road_front_vehicles
Restarts all road vehicles stopped by `_stop_road_front_vehicles`.
scenario_runner/srunner/scenarios/background_activity.py:1755
↓ 1 callers
Method
_stop_non_ego_route_entries
Clears the junction, and all subsequent actors that enter it
scenario_runner/srunner/scenarios/background_activity.py:2067
← previous
next →
601–700 of 2,470, ranked by callers